CIP_Attribute
(STRUCT)
TYPE CIP_Attribute : STRUCT
- InOut:
Name
Type
Comment
xEnable
BOOL
Input: The method starts the execution on an rising edge
byDeviceAddress
BYTE
Input: Device Address of the slave
uiClass
UINT
Input: Class ID to read from or to write to
uiInstance
UINT
Input: Instance ID to read from or to write to
uiAttribute
UINT
Input: Attribute ID to read from or to write to
puiDataSize
POINTER TO UINT
IN_OUT: In: Size of the data array pbyData. Out: Size of the data in pbyData
pbyData
POINTER TO BYTE
IN_OUT: Data array to read data to or write data from
wOpState
WORD
OUT: If the operation state turns to state CIP_Done or CIP_Error, the outputs are valid
udiError
UDINT
OUT: If the operation state turns to state CIP_Error, udiError shows the error code
xEnableOld
BOOL
Reserved
udiSeq
UDINT
Reserved