2 l_s8v_readerrorcode - read out error status, L_s8v_readerrorcode - read out error status, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 270

Advertising
background image

PLC Designer V2.x| Lenze Application Samples

The L_S8V_Drive82Vector.lib library

L_S8V_ReadErrorCode - read out error status

270

L

1.3 EN - 07/2012

14.2

L_S8V_ReadErrorCode - read out error status

This FB reads out the error text from the 8200 vector.

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

Advertising