Read Inverter Status with LS_InverterStatus1 and LS_InverterStatus2
LS_InverterStatus1 and LS_InverterStatus2 are used to read the Status Word of an EtherCAT AC drive. See AC Drive Status Word for the Status word bit locations and information. See AC Drive Control Word State Machine for the operation state machine of an AC drive using the command bits.
LS_InverterStatus1 will give status for these bits:
-
Ready to Switch On
-
Switched On
-
Operation Enabled
-
Voltage Enabled
-
Switch On Disable
LS_InverterStatus2 will give status for these bits:
-
Fault Status
-
Quick Stop status
-
Warning Status
-
Remote control status
-
Target Reached status
-
Internal Limit active status
LS_Connect must be used before executing this function block.
-
The following examples can be found in the XMC_ACDrive_FBs.zip downloadable from Example Applications.
The Status word is an EtherCAT PDO entry that gives the current status of the EtherCAT slave. LS_InverterStatus1 and LS_InverterStatus2 are used to read the status words from an AC drive.
LM901