DAC-42(A)-x-PN
Page 45
DAC-42(A)-x-PN
Manual
Revision: 1.0
22.01.2024
8.3.3 CMD = 6, Error from DAC-4x(A) (4 bytes)
Write first…
Byte
Abbreviation
Description
address, defined by the write command, Range 0..255, 0..0xFF
…Write last
ERR Error code: 0x86 = write failed
EXCE Exception:
1 = Command not supported
2 = Wrong ID
3 = Wrong Data Value
4 = Writing of ID failed
5 = timeout slave, address wrong or not installed or
Invalid number of connected slaves
6 = Internal checksum error (Modbus)
Example for error response:
SADR 3 is not valid and SADR in the master telegram is set to 3
Byte
Data
Abbreviation
Description
Response telegram address (defined by the write command)
Error, Bit „7“ with command 0x06 is set
slave, address wrong or not installed
8.4 Telegram example CMD = 6
8.4.1 Example, write parameter
Master wants to write parameter „C1.07” with value 1.000 V:
ID = 0x0030
DATA = 0x3E8 ( = 1000 in decimal)
TADR = 0x23
SADR = 0x01
Byte
Data
Abbreviation
Response from slave (module), command was successful executed
ID = 0x0030
DATA = 0x3E8 ( = 1.000 V)
Byte
Data
Abbreviation