10: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
10-11
Conversion Type
The BCC calculation result can be converted or not according to the designated conversion type as described below:
Example:
BCC calculation result is 0041h.
(1) Binary to ASCII conversion
0041h
Binary to ASCII conversion
“4”
(34h)
“1”
(31h)
2 digits
ASCII data
Note:
On WindLDR, Modbus ASCII is defaulted
to binary to ASCII conversion.
(2) No conversion
0041h
No conversion
NUL
(00h)
“A”
(41h)
2 digits
ASCII data
Note:
On WindLDR, Modbus RTU is defaulted
to no conversion.
BCC Digits (Bytes)
The quantity of digits (bytes) of the BCC code can be selected from 1 or 2.
Example:
(1) BCC digits = 2
“4”
(34h)
“1”
(31h)
“4”
(34h)
“1”
(31h)
(2) BCC digits = 1
“4”
(34h)
“1”
(31h)
“1”
(31h)
Lower digit
ASCII data
Note:
On WindLDR, Modbus ASCII and Mod-
bus RTU are defaulted to 2 digits.
Transmit Completion Output
Designate an output, Q0 through Q627, or an internal relay, M0 through M2557, as a device for the transmit completion
output. Special internal relays cannot be used.
When the start input for a TXD instruction is turned on, preparation for transmission is initiated, followed by data trans-
mission. When a sequence of all transmission operation is complete, the designated output or internal relay is turned on.
Transmit Status
Designate a data register, D0-D1998, D2000-D7998, or D10000-D49998, as a device to store the transmit status informa-
tion including a transmission status code and a user communication error code.
Transmit Status Code
Transmit
Status Code
Status
Description
16
Preparing transmission
From turning on the start input for a TXD instruction, until the transmit data
is stored in the internal transmit buffer
32
Transmitting data
From enabling data transmission by an END processing, until all data trans-
mission is completed
48
Data transmission complete
From completing all data transmission, until the END processing is com-
pleted for the TXD instruction
64
Transmit instruction complete
All transmission operation is completed and the next transmission is made
possible
If the transmit status code is other than shown above, an error of transmit instruction is suspected. See User Communi-
cation Error Code on page 10-32.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]