DAC-42(A)-x-PN
Page 47
DAC-42(A)-x-PN
Manual
Revision: 1.0
22.01.2024
9 Complex commands
9.1 CMD = 15, Master writes multiple parameters (8 bytes)
(Fast single-slave command)
Write first…
Byte
Abbreviation
Description
Telegram address, defined by the user, Range 0..255, 0..0xFF
Command: 15 = Write multiple parameter by the master
Byte for special functions
Process Value1
High byte of first „analogue” value
Low byte of first „analogue” value
Process Value2
High byte of second „analogue” value
Low byte of second „analogue” value
Overall telegram length in bytes
TADR Telegram address, defined by the Profinet-Master. (defined by the user) Range 0..255
SNUM Only one slave is connected. SNUM = 01.
CMD Command: 15 = Write multiple parameters by the master
DAT1.1 Control-Byte. One data byte in HEX, for special functions
0x00 == 0
0xFF == 255
DAT1.2H, DAT1.2L Process Value1: Two data bytes in HEX, without decimal sign, for „analogue” values
0x7FFF == +32767
0x8000 == -32768
DAT1.3H, DAT1.3L Process Value1: Two data bytes in HEX, without decimal sign, for „analogue” values
0x7FFF == +32767
0x8000 == -32768
9.2 CMD = 15, Response from DAC-4x(A) (9 bytes)
This response telegram with SADR = 1 is send back by the DAC-4x(A).
Write first…
Byte
Structure
Abbreviation
Description
Telegram
header
Telegram address, defined by the user, Range 0..255, 0..0xFF
Command: 15 = Write multiple parameter by the master
Data of
SADR
Status Word
High byte of module state
VALUE1
High byte of first „analogue” value
Low byte of first „analogue”
VALUE2
High byte of second „analogue” value
Low byte of second „analogue” value
…Write last
TADR Telegram address, defined by the Profinet-Master.(set by the user)
SADR Slave address, normally always 01
CMD Command: 15 = Write multiple parameters by the master
DAT.1H,DAT.1L Status word. Two data bytes in HEX, , for module state
0x0000 == 0
0xFFFF == 65535
DAT.2H, DAT.2L, VALUE1
DAT.3H, DAT.3L VALUE2. Two data bytes in HEX, without decimal sign, for analogue values
0x7FFF == +32767
0x8000 == -32768