MC_SEW_ConfigLimits
This function block configures the limit values of the axis. The configuration can also be carried out via the Configuration menu of the logical device. For axes from the MOVI-C® modular automation system, this function block writes the inverter parameters (volatile) to the drive.

VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device See also AXIS_REF. |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Execute | BOOL | Start execution of the function block |
lrMaxVelocityPositive | LREAL | Maximum positive speed in [user unit/s] (MOVI-C® index: 8357.10) |
lrMaxVelocityNegative | E_ LREAL | Maximum negative speed in [user units/s] (MOVI-C® index: 8357.11) |
lrMaxAcceleration | LREAL | Maximum acceleration in [user units/s2] (MOVI-C® index: 8357.12) |
lrMaxDeceleration | LREAL | Maximum deceleration in [user units/s2] (MOVI-C® index: 8357.13) |
uiJerkTime | UINT | Jerk time in [ms] (MOVI-C® index: 8357.14) |
lrTorque | LREAL | Torque in [% nominal motor torque] (MOVI-C® index: 8357.15) |
lrLagErrorWindow | LREAL | Lag error window in [user units] (MOVI-C® index: 8510.4) |
lrEmergencyStopDeceleration | LREAL | Emergency stop deceleration in [user units/s2] (MOVI-C® index: 8357.20) |
lrEmergencyStopJerk | LREAL | Emergency stop jerk in [user units/s3] |
xMonitoringPosSoftwareLimitSwitch | BOOL | Activate or deactivate monitoring of the positive software limit switch. |
lrPosSoftwareLimitSwitch | LREAL | Software limit switch in positive direction in [user unit] |
xMonitoringNegSoftwareLimitSwitch | BOOL | Activate or deactivate monitoring of the negative software limit switch. |
lrNegSoftwareLimitSwitch | LREAL | Software limit switch in negative direction in [user unit] |
VAR_OUTPUT
Variable name | Data type | Description |
|---|---|---|
Done | BOOL | Function block successfully completed |
Busy | BOOL | Function block is active |
Error | BOOL | An error has occurred in the function block |
ErrorID | WORD | Error number |
