DAC-42(A)-x-PN
Page 48
DAC-42(A)-x-PN
Manual
Revision: 1.0
22.01.2024
9.3 CMD = 15, Error from DAC-4x(A) (4 bytes)
Write first…
Byte
Abbreviation
Description
Telegram address, defined by the write command, Range 0..255, 0..0xFF
…Write last
ERR Error code: 0x8F = write failed
EXCE Exception:
1 = Command not supported
2 = Wrong ID
3 = Wrong Data Value
4 = Writing of ID failed
5 = timeout (Modbus)
6 = Internal checksum error (Modbus)
7 = Invalid number of connected slaves
8 = timeout slave, address wrong or not installed
9 = Profinet node (SADR = 0) send, received data length to small. The data length of the selected
GSD module is too small.
Example for error response:
Module 3 is not installed and SNUM 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 0x0F in decimal 15 is set
timeout slave, address wrong or not installed
9.4 Examples, CMD = 15, single slave, DAC-4x(A)
E22 is set to 1 and hardware Enable is connected to the DAC-4x(A).
Master writes set value of 1.000 V to slave (module):
Byte
Data
Abbreviation
Description
Telegram address, defined by the user, Range 0..255, 0..0xFF
, 0x00 (default value, no bus
(1000)
Process Value1 = A1.01, set value branch 1
0x03E8 ( = 1000 in decimal = 1.000V)
(0)
Process Value2 = A1.02, feedback value branch 1
0x0000 ( = 0 in decimal = 0.000V)
Response slave (module) no.1:
Byte
Data
Abbreviation
Description
Response telegram address (defined by the write command)
Status word
High byte of module state = 0x40 (HW enable = active)
Low byte of module state = 0x00
(0)
VALUE1 = d1.11
0x0000 ( = 0 in decimal = 0.000V )
(1000)
VALUE2 = d1.10
0x03E8 ( = 1000 in decimal = 1.000V)
(x) = value in decimal.