![IDEC SmartAXIS Touch FT1A Series Скачать руководство пользователя страница 1009](http://html.mh-extra.com/html/idec/smartaxis-touch-ft1a-series/smartaxis-touch-ft1a-series_user-manual_6173871009.webp)
SmartAXIS Touch User's Manual
22-47
5 User Communication
22
Communication
BCC (Block Check Code)
A BCC for the transmission data is automatically calculated and appended to the transmission data at an arbitrary
position and transmitted.
This can be configured only when
TXD
is selected in
Command Type
on the Command Settings dialog box, and
BCC
is selected under
Type
on the Data Settings dialog box.
■
Calculation Start Position
Specify the position of transmission data at which BCC calculation starts (1 to 15). The position is counted backwards,
with the first position of the transmission data taken as 1.
■
Calculation End Position
Specify the position of transmission data at which BCC calculation ends (0 to 15). The position is counted forwards,
with the data position before the BCC taken as 0.
■
Calculation Type
Select the method to calculate the data between the Calculation Start Position and Calculation End Position.
1
(31h)
4
(34h)
5
(35h)
2
(32h)
STX
(02h)
3
(33h)
BCC
CR
(0Dh)
(1)
(2)
(3)
(4)
(5)
(6)
Calculation Start Position:
Transmission data:
1
(31h)
4
(34h)
5
(35h)
2
(32h)
STX
(02h)
3
(33h)
BCC
CR
(0Dh)
(5)
(4)
(3)
(2)
(1)
(0)
Calculation End Position:
Transmission data:
XOR:
Calculates the data with exclusive logical add.
ADD:
Calculates the data using addition.
ADD (2's Complement): Calculates the data using addition, inverts the bit and adds one.
Modbus ASCII (LCR):
Calculation is performed according to the following procedure. Conversion Type:
Binary (HEX) to ASCII, Number of bytes: 2
1. Convert the ASCII characters between Calculation Start Position and Calculation End
Position into 1-byte hexadecimal data for each set of two characters.
Example: 37h, 35h
→
75h
2. Calculate the sum of the data obtained in step 1.
3. Invert the bit of the result of step 2 and add one. (2’s complement)
4. Convert the lower one byte data of the result of step 3 into ASCII characters.
Example: 75h
→
37h, 35h
Содержание 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 ...