152 JVL Industri Elektronik A/S - User Manual - Ethernet for MAC and MIS motors
6.3 PROFINET objects
Read parameter
Read of parameters is done with SFB52, as shown below.
The data block must be setup prior to use, in this example "Req_Read_DB", and the 32
bit result will be in "Resp_Read_DB.Data".
Example:
Read from object 0x11 subobject 0x22 ( = module parameter no. 34), in JVL device with
ID 2042.
Please notice: Even though all registers is transmitted as 32 bit, some of them
originally derive from 16 bit in the case of MAC050-141. In those situations it
is necessary to interpret them as 16 bit to get the sign correct.
Name Description Example
ID ID of device 2042
Index Object and sub-object to read from
High byte = Object, Low byte = Subobject
(register no.)
0x1122
LEN Length of data 4 (always 4 byte = 32 bit)
!