![Shinko BCS2 Communication Instruction Manual Download Page 23](http://html.mh-extra.com/html/shinko/bcs2/bcs2_communication-instruction-manual_1258175023.webp)
23
For Function code 43 (2BH), the request message from the master side is composed of
Sub-function code 14 (0EH), Read Device ID code and Object ID.
Function code
1 Byte
2BH
Sub-function code (MEI type)
1 Byte
0EH
Read Device ID code
(Corresponds to Basic category)
1 Byte
01H/04H
Object ID
1 Byte
00 Vendor name
SHINKO TECHNOS CO., LTD.
01 Product code (model)
(e.g.) BCS2R00-00
02 Version number (D, T, MP)
(e.g.) Dxx-xxxx-xx, MPxxxx-xx
Response message from the slave is composed of Sub-function code 14 (0EH) (for request),
Read Device ID code and Object ID.
Function code
1 Byte
2BH
Sub-function code (MEI type)
1 Byte
0EH
Data
Read Device ID code
1 Byte
01H/04H
Conformity level
1 Byte
01H/81H
More Follows
1 Byte
00H/FFH
Next Object ID
1 Byte
Object ID number
Number of Objects
1 Byte
List of Object ID
1 Byte
List of Object length
1 Byte
List of Object value
Object length
For the response message (negative acknowledgement), an exception code is set and returned.
Function code
1 Byte
ABH
Exception code
1 Byte
01H/02H/03H
(4) Error check
:
16-bit data to detect communication errors.
Refer to Sections ‘6.3 Message Configuration (4) Error Check (pp.14, 15).
6.5.2 Message Example
Message example in RTU mode are shown below.
Numerals written below the command represent the number of characters.
(1) Echo back Slave address 1, Request message
• A request message from the master [Test data 200 (00C8H), 60 (003CH), 10 (000AH)]
3.5 idle
characters
Slave
address
(01H)
Function
code
(08H)
Sub-function
code
(0000H)
Data
(00C8003C000AH)
Error check
CRC-16
(E7D9H)
3.5 idle
characters
1
1
2
n x 2
2
• Response message from the slave in normal status (Echoes back the same message.)
3.5 idle
characters
Slave
address
(01H)
Function
code
(08H)
Sub-function
code
(0000H)
Data
(00C8003C000AH)
Error check
CRC-16
(E7D9H)
3.5 idle
characters
1
1
2
n x 2
2