IDEC MicroSmart User Manual
Page 289
![background image](/manuals/350368/289/background.png)
17: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
17-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
(2) No conversion
BCC Digits (Bytes)
The quantity of digits (bytes) of the BCC code can be selected from 1 or 2.
Example:
Transmit Completion Output
Designate an output, Q0 through Q107, or an internal relay, M0 through M1277, as an operand 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 through D1298 or D2000 through D7998, as an operand to store the transmit status informa-
tion including a transmission status code and a user communication error code.
Transmit Status Code
If the transmit status code is other than shown above, an error of transmit instruction is suspected. See User Communica-
tion Error Code on page 17-27.
Transmit
Status Code
Status
Description
16
Preparing transmission
From turning on the star t 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
transmission is completed
48
Data transmission complete
From completing all data transmission, until the END processing is
completed for the TXD instruction
64
Transmit instruction complete
All transmission operation is completed and the next transmission is
made possible
0041h
Binar y to ASCII conversion
“4”
(34h)
“1”
(31h)
2 digits
ASCII data
Note: On WindLDR, Modbus ASCII is
defaulted to binar y to ASCII conversion.
0041h
No conversion
NUL
(00h)
“A”
(41h)
2 digits
ASCII data
Note: On WindLDR, Modbus RTU is
defaulted to no conversion.
(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
Modbus RTU are defaulted to 2 digits.