DAC-42(A)-x-PN
Page 42
DAC-42(A)-x-PN
Manual
Revision: 1.0
22.01.2024
8 Simple commands
8.1 CMD 3 Master Read
8.1.1 CMD = 3, Master Read parameters (7 bytes)
Write first…
Byte
Abbreviation
Description
Telegram address, defined by the user, Range 0..255, 0..0xFF
Command: 3 = Read multiple parameters by the master
High byte parameter ID of first parameter
…Write last
TADR Telegram address, defined by the Profinet-Master.( Set by the User )
SADR 1 = standard (single slave)
CMD Command: 3 = Read parameter by the master
IDH,IDL H-Byte and Low-Byte of parameter-ID in HEX
0x0000 .. 0x0109 = Valid ID-Range. Please take into account the gaps in the parameter list
N-high High-Byte Number parameters (words), normally zero
N-low Low-Byte Number parameters (words), 1 to 8 (0x08)
(maximal 8 parameters readable at once)
8.1.2 CMD = 3, Response from Slave (4 + CNT bytes)
Write first…
Byte
Abbreviation
Description
Telegram address, defined by the read command, Range 0..255, 0..0xFF
Command: 3 = Read multiple parameters by the master
N*2, Number of data bytes
High byte value of first parameter
Low Byte value of first parameter
If CNT > 2: ……
Low Byte value of last (n)parameter
…Write last
TADR Telegram address, defined by the Profinet-Master. (Set by the read command)
SADR Slave address, 1 = standard (single slave)
CMD Command: 3 = Read parameter by the master
CNT N*2, Number of data bytes (Maximal 16 data bytes)
IDH,IDL H-Byte and Low-Byte of parameter-ID in HEX
0x0000 .. 0x00109 = Valid ID-Range
DAT1H.. DAT nH,
DAT1L.. DAT nL, Two data bytes in HEX, without decimal sign
0x7FFF == +32767
0x8000 == -32768