ETC_CO_SdoInfoGeEntryDescription (FB)ΒΆ
FUNCTION_BLOCK ETC_CO_SdoInfoGeEntryDescription
- InOut:
Scope
Name
Type
Initial
Comment
Input
xExecuteBOOLRising edge: ACTION starts Falling edge: Resets outputs If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values (xDone, xError) are present at the outputs for exactly one cycle.
xAbortBOOLFALSE
TRUE: Action is stopped immediately and all outputs are reset to their initial values.
usiComUSINT1
Index of master 1: first ETC master
uiDeviceUINTthe physical slave address to access the EtherCAT slave
wIndexWORDThe index of the CoE object
bySubIndexBYTEThe sub index of the CoE object
byValueInfoBYTEThe value info include which elements shall be in te response Bit 0: reserved Bit 1: reserved Bit 2: reserved Bit 3: unit type Bit 4: default value Bit 5: minimum value Bit 7: maximum value
udiTimeOutUDINTTimeout for operation in ms
Output
xDoneBOOLTRUE: Action successfully completed
xBusyBOOLTRUE: Function block active
xErrorBOOLTRUE: Error occurred, function block aborts action, FALSE: No error
eErrorIf xError is true then eError shows the error reason
wDataTypeWORDDatatype of entry
wBitLengthWORDSize of entry in bits
wObjectAccessWORDaccess flast of object
pDataPOINTER TO BYTE
Pointer to received data
szDataLengthCAA.SIZESize of received data in Bytes!