L_MC1P_ReadAxisStatusWords

This FB serves to read out the status words of the connected drive if they are included in the active PDO mapping.

The following status words are provided drive-specifically:

Output

Servo-Inverter i700 / i950

Servo Drives 9400 HighLine

wCiA402Statusword

0x6041 or 0x6841 for axis B

0x6041

wLenzeStatusword

0x2831 or 0x3031 for axis B

-

wLenzeStatusword2

0x2833 or 0x3033 for axis B

-

 

 

 

L_MC1P_ReadAxisStatusWords

 

 

 

AXIS_REF

-

Axis

BOOL

-

xEnable

xValid

-

BOOL

xBusy

-

BOOL

xError

-

BOOL

eErrorID

-

L_IE1P_Error

wCiA402Statusword

-

WORD

wLenzeStatusword

-

WORD

wLenzeStatusword2

-

WORD

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xEnable

BOOL

TRUE

Read status words of the axis continuously.

Outputs

Name

Data type

Value/meaning

xValid

BOOL

TRUE

Valid values are applied to the FB outputs.

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

If xError = TRUE: Error number for the error that has occurred.

wCiA402Statusword

WORD

CiA402 status word (0x6041 or 0x6841 for axis B)

Bit 0

Ready to switch on

Bit 1

Switched on

Bit 2

Operation enabled

Bit 3

Fault active

Bit 4

Voltage enabled

Bit 5

Quick stop

Bit 6

Operation inhibited

Bit 7

Warning is active

Bit 8

Deactivate RPDOs

Bit 9

Control word processed successfully

Bit 10

Target position reached

Bit 11

Internal limitation is active

Bit 12

Drive Follows Command

Bit 13

Following error

Bit 14

Brake released

Bit 15

STO is not active

wLenzeStatusword

WORD

Lenze status word (0x2831 or 0x3031 for axis B)

Bit 0

Position controller: In limitation

Bit 1

Speed: Limited speed setpoint 1

Bit 2

Speed controller: In limitation

Bit 3

Torque: Limited target torque

Bit 4

Motor: Limited current setpoint

Bit 5

Speed: Limited speed setpoint 2

Bit 6

Upper speed limit active

Bit 7

Lower speed limit active

Bit 8

Flying restart in progress ...

Bit 9

Flying restart: Ready for operation

Bit 10

Limited output frequency

Bit 11

Asynchronous motor magnetized

Bit 12

Motor phase failure detection in progress ...

Bit 13

Feedback: Open circuit

Bit 14

Delay time: 'Reset error' is active

Bit 15

Hardware current limit active

wLenzeStatusword2

WORD

Lenze status word 2 (0x2833 or 0x3033 for axis B)

  • From i700 firmware version 1.03

Bit 0

Feedback modification

Bit 1

Manual test mode active

Bit 2

Manual control mode active

Bit 3

Angle tracking control: Active

Bit 4

Absolute value encoder selected

Bit 5

Absolut position available

Bit 6

DC-injection braking or short-circuit braking: Active

Bit 7 ... 15

Reserved