3 the global variable wstate, The global variable wstate, Control technology | ethercat communication manual – Lenze EtherCAT control technology User Manual

Page 137

Advertising
background image

DMS 3.1 EN 01/2011 TD17

L

137

Control technology | EtherCAT communication manual

Diagnostics

Diagnostics with the »PLC Designer«

11.2.3

The global variable wState

When Motion nodes are used for control, »PLC Designer« displays the current status of the

control acceleration in the global variable wState of the "AxisGroup" structure.
The value of the wState variable has the following meaning:

Example for a faulty acceleration:

Status of the AxisGroup

State of the system

wState = 0

• Initial state

• Project loaded

• PLC in stop

wState = 1...99

• System is starting up

• Project loaded

• PLC started

wState = 100

• System has started up successfully

wState > 1000

• Error occurred during startup, compare error message in

g_strBootupError

Advertising