![Festo CMMO-ST-C5-1-LKP Скачать руководство пользователя страница 39](http://html1.mh-extra.com/html/festo/cmmo-st-c5-1-lkp/cmmo-st-c5-1-lkp_original-instructions-manual_2283105039.webp)
5
Sequence control and I/O data
Festo – GDCP-CMMO-ST-LK-C-HP-EN – 2017-05b – English
39
Example 6: Positioning direct application (requires status S4)
Step
6.1 Preselect position
(bytes 5 ... 8) and speed
(byte 4)
Speed
preselection
0 ... 100 (%)
Speed acknow
ledgment
0 ... 100 (%)
Setpoint position
[SINC]
Current position
[SINC]
6.2 Start job
CCON.ENABLE
= 1
SCON.ENABLED
= 1
CCON.STOP
= 1
SCON.OPEN
= 1
CPOS.HALT
= 1
SPOS.HALT
= 1
CDIR.ABS
= S
SDIR.ABS
= S
CPOS.START
= P
SPOS.ACK
= 1
SPOS.MC
= 0
6.3 Job is running
CPOS.START
= 1
SPOS.MOV
= 1
6.4 Job ended
CPOS.START
= 0
SPOS.ACK
= 0
SPOS.MC
= 1
SPOS.MOV
= 0
1)
Key: P = rising edge (positive), N = falling edge (negative), x = any, S= travel condition: 0= absolute; 1 = relative
Tab. 5.10
Control and status bytes for “Positioning direct application”
Description of the steps:
(Step 6.1 ... 6.4 conditional sequence)
When the ready status is achieved and homing has been carried out, a setpoint position must be
preselected.
6.1
The setpoint position [SINC] is transferred in bytes 5 ... 8 of the output word.
The setpoint speed [% of the speed basic value] is transferred in byte 4
(0 = no speed; 255 = max. speed, limited internally to 100 %).
6.2
With CPOS.START, the preselected positioning task will be started. The start is confirmed with
SPOS.ACK as long as CPOS.START is set.
6.3
Movement of the axis is shown with SPOS.MOV.
6.4
At the end of the positioning task, SPOS.MC is set.
Содержание CMMO-ST-C5-1-LKP
Страница 182: ......