Write One Word; Write N Words - JUMO LOGOSCREEN nt Interface Description

Paperless recorder with tft display and compactflash card
Hide thumbs Also See for LOGOSCREEN nt:
Table of Contents

Advertisement

4.6.4 Write one word

Instruction
Response
Example

4.6.5 Write n words

Instruction
Response
Example
For the "Write one word" function, the data blocks for instruction and
response are identical.
Slave
Function
address
0x06
1 byte
1 byte
Slave
Function
address
0x06
1 byte
1 byte
Set the variable "External binary In 1" (Modbus address 0x1638) to 1.
For addresses, see Chapter 7.1 Modbus addresses for important device and
process data, page 43.
Instruction:
01
06
1638
Response (as instruction):
01
06
1638
Slave
Funct-
address
ion
0x10
1 byte
1 byte
Slave
Function
address
0x10
1 byte
1 byte
Write the word "Test" (ASCII coding: 0x54 0x65 0x73 0x74 0x00) to the
address 0x148 ff, so that this text is entered in the event list for group 1:
Instruction:
01
10
148A
Response:
01
10
148A
4 Modbus protocol description
Word
address
2 bytes
Word
address
2 bytes
0001
CD8F
0001
CD8F
Address
Number
of first
of words
word
2 bytes
2 bytes
Address
of first
word
2 bytes
0003
06
0003
A412
Word value
Checksum
2 bytes
Word value
Checksum
2 bytes
Number
Word
of bytes
value(s)
1 byte
x byte(s)
Number
Checksum
of words
2 bytes
54 65 73 74 00 00
CRC16
2 bytes
CRC16
2 bytes
Check-
sum
CRC16
2 bytes
CRC16
2 bytes
9BFA
21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents