5 Application example
5.7 Example program – DX-NET-PROFINET2-2 with TIA Portal
128
DX-NET-PROFINET2-2
01/22 MN040062EN
www.eaton.com
5.7.4.5 General information about the data block
Data structure of
sxParameter
:
sxParameter[x].siParaNo := parameter number
sxParameter[x1].siIndex := parameter index
sxParameter[x].srValue := (value range ±1.175 495 x 10
-38
to ±3.402823 x 10
38
) – is filled when the block
is read
sxParameter[x]
.
sdValue := (value range -214748364810 (= -2
31
) to +214748364710 (= 2
31
)
sxParameter[x].syFormat := parameter format
sxParameter[x].swErrorNo := parameter error number
Figure 70:
InstSinaPara program block
→
The above job fields are automatically assigned by the block.