3 l_s84_getversion - transfer of the version, 4 l_s84_readerrorcode - read out error status, L_s84_readerrorcode - read out error status – Lenze PLC Designer V2.x User Manual
Page 241: Plc designer v2.x| lenze application samples
1.3 EN - 07/2012
L
241
PLC Designer V2.x| Lenze Application Samples
The L_S84_Drive8400.lib library
L_S84_GetVersion - transfer of the version
11.3
L_S84_GetVersion - transfer of the version
Outputs
11.4
L_S84_ReadErrorCode - read out error status
This FB reads out the error text from the 8400 controller.
Inputs
Outputs
Identifier/data type
Value/meaning
dwVersion
DWORD
Output version
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