DVP-15MC Series Motion Controller Operation Manual
11-160
Programming Example
The variable table and program
SSL
DMC_SwitchSoftLimit
SSL_Swh
BOOL
FALSE
1
DMC_SwitchSoftLimit
Axis Done
SSL
Enable Error
ErrorID
Switch
SSL_Done
SSL_ErrID
SSL_Err
Axis1
SSL_Swh
SSL_En
When SSL_Swh is TRUE and SSL_En changes from FALSE to TRUE, the instruction is
executed. When the instruction execution is completed, SSL_Done changes to TRUE and the
number 1 software limit switch is enabled.
When SSL_Swh is FALSE and SSL_En changes from FALSE to TRUE, the instruction is
executed. When the instruction execution is completed, SSL_Done changes to TRUE and the
number 1 software limit switch is disabled.