
5: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
5-26
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
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
TXD (Transmit)
dialog box appears.
Communication port:
Transmit completion output:
Transmit status register:
Transmit data byte count:
Port 1
M10
D100
D101
S1
12
D1
M10
I0
SOTU
TXD
1
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)
Содержание MICROSmart FC6A-C16K1CE
Страница 1: ...B 1730 2 FC6A SERIES All in One Type Communication Manual...
Страница 60: ...3 COMMUNICATION SETTINGS 3 22 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 76: ...4 MAINTENANCE COMMUNICATION 4 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 126: ...5 USER COMMUNICATION INSTRUCTIONS 5 50 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 158: ...6 MODBUS COMMUNICATION 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 200: ...8 J1939 COMMUNICATION 8 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 218: ...10 SEND E MAIL FUNCTION 10 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 252: ...INDEX 4 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 INDEX...