KEPID AMSTECH CO. LTD. EMU11A Manuale Utente
4. Software Interfaces
-47-
4.4.1 Frame structure of multiple registers for read
When requested to Wi-GEM, the frame structure is as follows:
Starting Address
Word Count
Error Check
Station
Address
Function
(03)
High
Byte
Low
Byte
High
Byte
Low
Byte
High
Byte
Low
Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
When replied by Wi-GEM, the frame structure is as follows:
Data Word 1
Data Word 52
Error Check
Station
Address
Function
(03)
Byte
Count
High
Byte
Low
Byte
…
High
Byte
Low
Byte
High
Byte
Low
Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
…
1 Byte
1 Byte
1 Byte
1 Byte
4.4.2 Frame structure of force coil and single register for write
When requested to Wi-GEM, the frame structure of the force coil register is as follows:
DO Address
Force Data Value
Error Check
Station
Address
Function
(05)
High
Byte
Low
Byte
High
Byte
Low
Byte
High
Byte
Low
Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
When replied by Wi-GEM, it returns the frame that is requested to Wi-GEM in case of
write success.
When requested to Wi-GEM, the frame structure of the single register is as follows:
DO Address
FORCE Data Value
Error Check
Station
Address
Function
(06)
High
Byte
Low Byte
High
Byte
Low Byte
High
Byte
Low
Byte
1Byte
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte