Download Tag Reference Manual - Pro

Transcript
Chapter 3 - Special Features
3.1 D-Script / Global D-Script
! Initialization of Extended SIO (D-script executed only once)
[Trigger Formula]
Detect bit start-up
Bit address
LS005000
//Trigger bit ON with T-tag
[Execution Formula]
Determine whether extended SIO protocol is present.
if([s:EXT_SIO_STAT15] == 1)
{
// Initialize the transmit/receive process
[t:0000] = 0
[t:0001] = 1
[t:0002] = 0
//
//
//
[t:0003] = 0
[c:EXT_SIO_CTRL00] = 1
[c:EXT_SIO_CTRL01] = 1
[c:EXT_SIO_CTRL02] = 1
//
//
//
//
[t:0010] = 0
[t:0011] = 0
//
//
[b:LS005100]= 1
}
endif
//
GP-PRO/PBIII for Windows Ver. 5.0 Tag Reference Manual
Clear sent flag.
Clear sent flag.
Clear the transmit/receive processing
completion flag.
Initialize receive timer
Clear send buffer.
Clear receive buffer.
Clear error.
Initialize timer.
Which transmit/receive process
should be run first?
Set up the communication permission flag.
3-49