Write Inverter speed with LS_InverterWriteVel
LS_InverterWriteVel is used to set the speed of the AC drive.
-
TargetVel is in units of rpm and can be set to a value of -30000 to 30000.
-
LS_Connect must be used before executing this function block.
-
AC drive must be in the correct state by using the LS_InverterControl function block.
-
This function block is used in the Automationdirect Function block called XMC_AC_Drive_Ctrl found here.
-
The following examples can be found in the XMC_ACDrive_FBs.zip downloadable from Example Applications.
LS_InverterWriteVel Details
Element Name | Element Type | Description |
---|---|---|
Execute | Input | Edge detected request to execute the function block. |
Axis | Input/Output | Specify the axis to control. |
TargetVel | Input | Inverter speed to set in rpm (-30000 ~ 30000). |
Done | Output | Indicates that the function block has executed. |
Error | Output | Indicates the function block has an error. |
ErrorID | Output | Error Identification for the function block. |
LM902