5
Operation
60
Festo – EXCM-30/-40-...-PF-EN – 1603 – English
Start of a direct application (direct mode)
Requirements:
– Operation is enabled, SCON.OPEN=1
– Homing has been executed successfully, SPOS.REF=1.
– CPOS.START=0, CPOS.HOM=0, CPOS.JOGP=0 and CPOS.JOGN=0 must be set
– SPOS.ACK=0 and SPOS.MC=1 must be set.
1. Set CCON.OPM=1.
– The direct mode operating mode is selected.
2. Set the desired parameters (target position in X- and Y-direction as well as speed) of the direct ap
plication.
Write the target position in the X-direction to the CVE object 305.0.
Write the target position in the Y-direction to the CVE object 305.1.
Write the speed to the CVE object 240.1.
3. Set whether positioning should take place absolutely or relative to the setpoint position.
Positioning absolute:
In the control byte, set CPOS.REL=0.
Positioning relative:
In the control byte, set CPOS.REL=1.
4. In the control byte, set CPOS.START=1.
– With detection of the rising edge at CPOS.START, the direct application is taken over and started.
– While the direct application is being executed, SPOS.MC=0.
– As soon as the direct application has been concluded, SPOS.MC=1.
5. Set CPOS.START=0 as soon as SPOS.ACK=1.