
5 User Communication
22-64
SmartAXIS Touch User's Manual
• Number of bytes and comparison data
When the converted data is
3034h
, the data used for comparison with the BCC part of the receive data is as
follows.
• BCC data comparison
The comparison data is compared with the BCC part of the receive data.
In the following receive data, when the comparison data is the 1-byte 34h, there is a match since the BCC part data
is 34h.
When there is no match, the BCC Error (0, bit 0) of the Status Device changes to 1.
• When the calculation type is
Modbus ASCII (LCR)
When the BCC calculation result is
4241h
after
Binary (HEX) to ASCII
conversion the resulting two bytes of data
is used for comparison with the BCC part of the receive data.
• When the calculation type is
Modbus RTU (CRC)
When the BCC calculation result is
BA30h
with no conversion the two bytes of data is used for comparison with the
BCC part of the receive data.
0
(30h)
4
(34h)
Comparison data
4
(34h)
Bytes: 1
Converted data
(Second byte) (First byte)
0
(30h)
4
(34h)
0
(30h)
4
(34h)
Comparison data
Bytes: 2
Converted data
(Second byte) (First byte)
1
(31h)
4
(34h)
5
(35h)
2
(32h)
STX
(02h)
3
(33h)
BCC
(34h)
CR
(0Dh)
Comparison data
Match
Receive data
BCC part
4
(34h)
B
(42h)
A
(41h)
B
(42h)
A
(41h)
Comparison data
4241h
Binary (HEX) to ASCII
Data
Bytes: 2
Converted data
(Second byte) (First byte)
BAh
30h
BAh
30h
BA30h
No conversion
Comparison data
Data
Bytes: 2
Converted data
(Second byte) (First byte)
Содержание SmartAXIS Touch FT1A Series
Страница 1: ...FT1A Series FT9Y B1390 4 SmartAXIS Touch User s Manual ...
Страница 22: ...Contents Preface 21 SmartAXIS Touch User s Manual ...
Страница 240: ...6 Using Library Screens 4 36 SmartAXIS Touch User s Manual ...
Страница 416: ...2 Multi State Lamps 8 26 SmartAXIS Touch User s Manual ...
Страница 558: ...9 Calendar 9 142 SmartAXIS Touch User s Manual ...
Страница 668: ...6 Timer 11 52 SmartAXIS Touch User s Manual ...
Страница 754: ...4 Using Data and Detected Alarms 13 34 SmartAXIS Touch User s Manual ...
Страница 792: ...4 Using the Data 14 38 SmartAXIS Touch User s Manual ...
Страница 810: ...4 Using the Data 15 18 SmartAXIS Touch User s Manual ...
Страница 870: ...3 Text Manager 19 16 SmartAXIS Touch User s Manual ...
Страница 924: ...6 Important Notes 20 54 SmartAXIS Touch User s Manual ...
Страница 1036: ...5 User Communication 22 74 SmartAXIS Touch User s Manual ...
Страница 1092: ...2 Monitoring on the Touch 24 26 SmartAXIS Touch User s Manual ...
Страница 1142: ...2 Word Devices 27 18 SmartAXIS Touch User s Manual ...
Страница 1186: ...2 Analog Cartridge 29 34 SmartAXIS Touch User s Manual ...
Страница 1194: ...3 Handling Problems 30 8 SmartAXIS Touch User s Manual ...