25: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
25-18
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
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:
Comparing BCC Codes
The SmartAxis compares the BCC calculation result with the BCC code in the received incoming data to check for any error in the incoming
communication due to external noises or other causes. If a disparity is found in the comparison, an error code is stored in the data register
designated as receive status in the RXD instruction. For user communication error code, see page 26-32.
Example 1:
BCC is calculated for the first byte through the sixth byte using the XOR format, converted in binary to ASCII, and
compared with the BCC code appended to the seventh and eighth bytes of the incoming data.
Note:
On WindLDR, Modbus ASCII is defaulted to
binary to ASCII conversion.
Note:
On WindLDR, Modbus RTU is defaulted to no
conversion.
Note:
On WindLDR, Modbus ASCII and Modbus RTU
are defaulted to 2 digits.
0041h
Binary to ASCII conversion
“4”
(34h)
“1”
(31h)
2 digits
0041h
No conversion
NUL
(00h)
“A”
(41h)
2 digits
(1) BCC digits = 2
“4”
(34h)
“1”
(31h)
“4”
(34h)
“1”
(31h)
(2) BCC digits = 1
“4”
(34h)
“1”
(31h)
“1”
(31h)
Lower digit
“1”
(31h)
“2”
(32h)
BCC Calculation Range
“3”
(33h)
“4”
(34h)
Incoming Data
“5”
(35h)
“6”
(36h)
“0”
(30h)
“7”
(37h)
BCC
31h
32h
33h
34h
35h
36h = 07h
“0”
(30h)
“7”
(37h)
BCC Calculation Result
Binary to ASCII Conversion
Comparison result is true to indicate that data
is received correctly.
Summary of Contents for microsmart pentra
Page 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Page 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Page 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...