3 l_s93_readerrorcode - read out error status, L_s93_readerrorcode - read out error status, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 282
PLC Designer V2.x| Lenze Application Samples
The L_S93_Drive9300.lib library
L_S93_ReadErrorCode - read out error status
282
L
1.3 EN - 07/2012
16.3
L_S93_ReadErrorCode - read out error status
This FB reads out the error text from the 9300 controller.
Inputs
Outputs
Identifier/data type
Information/possible settings
xExecute
BOOL
Carry out error test
byNodeNumber
BYTE
Node number
byMasterNumber
BYTE
Interface number (0...3)
xUseSecondSDO
BOOL
TRUE: Use second SDO channel
FALSE: Use first SDO channel (Lenze setting)
Identifier/data type
Information/possible settings
xDone
BOOL
TRUE: Read request completed
xBusy
BOOL
Status output "Read request sent"
• TRUE: The read request was sent to the operating system and the FB is waiting for
a response from the device addressed.
• FALSE: The read request was completed.
xError
BOOL
"Error" status signal
FALSE Conversion carried out without errors
TRUE Error during the conversion
xTimeOut
BOOL
Signalling of a time-out (time-out error)
TRUE: Time-out; read request could not be executed
FALSE: No time-out detected
sData
STRING
Data structure