S
MART
AXIS P
RO
/L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
10-5
10: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
Programming TXD Instruction Using WindLDR
The following example demonstrates how to program a TXD instruction including a start delimiter, BCC, and end delimiter using
WindLDR.
TXD sample program:
Data register contents:
Transmit data example:
1.
Start to program a TXD instruction. Move the cursor where you want to insert the TXD instruction, and type
TXD
. You can also
insert the TXD instruction by clicking the User Communication icon in the menu bar and clicking where you want to insert the
TXD instruction in the program edit area.
The Transmit instruction dialog box appears.
Communication port:
Transmit completion output:
Transmit status register:
Transmit data byte count:
Port 2
M10
D100
D101
S1
12
D1
M10
I0
SOTU
TXD
2
D2
D100
04D2h
D10
162Eh
D11
= 1234
= 5678
STX
(02h)
D10
“1”
(31h)
“2”
(32h)
“3”
(33h)
“4”
(34h)
“5”
(35h)
“8”
(38h)
BCC
(41h)
ETX
(03h)
BCC
“6”
(36h)
“7”
(37h)
BCC calculation range
Constant
D11
Constant
(H)
BCC
(36h)
(L)
(hex)
(hex)
Содержание FT1A-B12RA
Страница 1: ...FT9Y B1378 5 ...
Страница 2: ......
Страница 208: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 226: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 340: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...
Страница 384: ...APPENDIX A 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 European Font ISO 8859 1 Cyrillic Font ANSI 1251 ...
Страница 385: ...SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 A 19 APPENDIX Japanese Font JIS X0201 ...
Страница 386: ...APPENDIX A 20 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 ...