EasyManua.ls Logo

HCS DAC-42A - 10.4.4 CMD 3, Reading Values from One DAC-4 X(A) Node

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 61
DAC-42(A)-x-PN
Manual
Revision: 1.0
22.01.2024
Please check the correct IP address of the device and change the value if necessary.
In this example we have the 192.168.1.86 as the IP address for the DAC-4x(A)
10.4.4 CMD 3, Reading values from one DAC-4x(A) node
The DAC-4x(A) connected to the Profinet has a fix SNUM (slave number). Together with this number it is possible to read
a set of parameter of this device.
The parameter-ID’s are shown in table Chapter “11 List of parameters“, page 64
An reading access is done as followed:
The predefined slave number SNUM for the DAC4x(A) is 1.
For slave 1 #SNUM := 1;.
Setup the CMD: # CMD := 3;
Write the starting address of the first parameter ID which should be read by the structure
E.g. parameter 22, S1.01 #IN_CMD3.PAR_ID := 22;
Define the number of parameters to be read (maximum 8).
E.g. 4 parameters S1.01..S1.04 #IN_CMD3.PAR_N := 4;
Definition of the states in #CMD3_STAT:
0: no action
1: Start of reading

Table of Contents