Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 260
PLC Designer V2.x| Lenze Application Samples
The L_SCS_DriveECS.lib library
L_SCS_PosiShaft - actuation of the ECS servo system
260
L
1.3 EN - 07/2012
13.3.2
Structure of SCS_DriveStatus_PosiShaft - status of the controller
Further information on the internal interfaces of the controller can be found in
the operating instructions (BA) ECS: Axis module - "Posi & Shaft" application:
• Section Commissioning
Process data from axis module (status words and
actual values)
Identifier/data type
Control bits in the
controller
Bit
Identifier
Meaning
xStateStandby
BOOL
0
PStatStdBy
"Stand-by" status
xStateTrouble
BYTE
1
PStatTrouble
"Trouble" status
xStateManual
BOOL
2
PStatManJog
"ManualJog" status
xStateHoming
BOOL
3
PStatHome
"Homing" status
xStatePos
BOOL
4
PStatPos
"Positioning" status
xDriveEnabled
BOOL
5
Imp
1 = Pulse inhibit (DCTRL-IMP) active,
inverter inhibited
byActPS
BYTE
6
PNoAct_1
4 bits (binary coded) for displaying the
profile number of the active
positioning profile.
Note: In addition, the profile number is
displayed under C3052.
7
PNoAct_2
8
PNoAct_4
9
PNoAct_8
xProfileBusy
BOOL
10
ProfileBusy
1 = Positioning is active
xDriveError
BOOL
11
GlobalErr
1 = Fault active
xHomeBusy
BOOL
12
Homebusy
1 = Homing active
xHomingDone
BOOL
13
HomePosAvail
Status signal "Home position known"
xInTarget
BOOL
14
InTarget
1 = The actual position is in the target
window (C3034) around the target
position
(message: Target position reached)
xDwellTime
BOOL
15
DwellTime
1 = The dwell time (C3035) has expired.
Note: Bit is reset to "0" when positioning
is started.
Status word 2 (Stat2)
rActPos
REAL
L_SSC_GetPositio
n1.lrPositionOut
Units
Current position
xCommunicationOK
BOOL
CAN_GetNodeDa
ta1.xCommunica
tionOK
L_SCB_GetNodeDataRxPDO1 - read