Code 06h: Write 1 word to master output area 4x
Command telegram
Slave address
Function code
Address word
Value word
Check sum
CRC/LRC
1byte
1byte
1word
1word
1word
Respond telegram
Slave address
Function code
Address word
Value word
Check sum
CRC/LRC
1byte
1byte
1word
1word
1word
Code 0Fh: Write n bits to master output area 0x
Please regard that the number of bits has additionally to be set in byte.
Command telegram
Slave
address
Function
code
Address 1.
bit
Number of
bits
Number of
bytes
Data 1.
byte
Data 2.
byte
...
Check sum
CRC/LRC
1byte
1byte
1word
1word
1byte
1byte
1byte
1byte
1word
max. 250byte
Respond telegram
Slave address
Function code
Address 1. bit
Number of bits
Check sum
CRC/LRC
1byte
1byte
1word
1word
1word
Code 10h: Write n words to master output area 4x
Command telegram
Slave
address
Function
code
Address 1.
word
Number of
words
Number of
bytes
Data 1.
word
Data 2.
word
...
Check sum
CRC/LRC
1byte
1byte
1word
1word
1byte
1word
1word
1word
1word
max. 125words
Respond telegram
Slave address
Function code
Address 1. word
Number of words
Check sum
CRC/LRC
1byte
1byte
1word
1word
1word
Write 1 word 06h
Write n bits 0Fh
Write n words 10h
System 300S
+
Deployment PtP communication
Modbus - Function codes
HB140 | CPU | 315-4PN23 | en | 18-02
87
Содержание SPEED7 300S+ CPU 315PN
Страница 1: ...CPU 315 4PN23 Manual HB140 CPU 315 4PN23 en 18 02 System 300S SPEED7 CPU 315PN...
Страница 89: ...System 300S Deployment PtP communication Modbus Example communication HB140 CPU 315 4PN23 en 18 02 89...
Страница 155: ...Appendix System 300S Appendix HB140 CPU 315 4PN23 en 18 02 155...