AX-Series Motion Controller Instructions Manual Chapter 2
359
2.3.2.20 DMC_SetSoftwareLimit
Supported Devices: AX-308E, AX-364E
DMC_SetSoftwareLimit is used to enable, disable and set the upper and lower software limits
FB/FC Instruction Graphic Expression
FB DMC_SetSoftwareLimit
DMC_SetSoftwareLimit_instance(
Axis: =,
bEnable : =,
bSoftLimitSwitch : =,
lrSWLimitNegative : =,
lrSWLimitPositive : =,
bValid =>,
bBusy =>,
bError =>,
ErrorID =>);
Inputs
Name
Function Data Type
Setting Value
Timing to Take Effect
bEnable
The instruction is run
when bEnable changes
from False to True.
BOOL
True/False
(False)
-
bSoftLimitSwitch
Enables or disables
software limits.
BOOL
True/False
(False)
When bEnable and
bBusy are True.
lrSWLimitNegative
Negative software limit
(User unit)
LREAL
Positive, negative or 0
When bEnable and
bBusy are True.
lrSWLimitPositive
Positive software limit
(User unit)
LREAL
Positive, negative or 0
When bEnable and
bBusy are True.
Outputs