EasyManua.ls Logo

HCS DAC-42A - Complex Commands; CMD = 15, Master Writes Multiple Parameters (8 Bytes); CMD = 15, Response from DAC-4 X(A) (9 Bytes)

HCS DAC-42A
70 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
0
TADR
Telegram address, defined by the user, Range 0..255, 0..0xFF
1
SNUM
= 01
Single slave, always 01
2
CMD
Command: 15 = Write multiple parameter by the master
3
DAT1.1
Control
-
Byte
Byte for special functions
4
DAT1.2H
Process Value1
High byte of first „analogue” value
5
DAT1.2L
Low byte of first „analogue” value
6
DAT1.3H
Process Value2
High byte of second „analogue” value
7
DAT1.3L
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
0
Telegram
header
TADR
Telegram address, defined by the user, Range 0..255, 0..0xFF
1
SADR
= 01
Slave address
2
CMD
Command: 15 = Write multiple parameter by the master
3
Data of
SADR
DAT.1H
Status Word
High byte of module state
4
DAT.1L
Low byte of module state
5
DAT.2H
VALUE1
High byte of first „analogue” value
6
DAT.2L
Low byte of first „analogue”
value
7
DAT.3H
VALUE2
High byte of second „analogue” value
8
DAT.3L
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

Table of Contents