K
K
K
K inco
inco
inco
inco -K
-K
-K
-K S
S
S
S series
series
series
series
30
• Select PTO operation
• Select 1 μ s as the time base
• Allow updating the pulse number and cycling time.
2) Set SMW68 according to desired cycle time.
3) Set SMD72 according to desired pulse number.
4) (Optional) use ATCH to a ttach the PTO0-complete event (event 28) to an interrupt routine to respond
in real time to a PTO0-complete event.
5) Execute the
PLS
in struction to configure PTO0 and start it .
�
�
�
� Changing
Changing
Changing
Changing the
the
the
the PTO
PTO
PTO
PTO Cycle
Cycle
Cycle
Cycle Time
Time
Time
Time (Single-Segment
(Single-Segment
(Single-Segment
(Single-Segment Operation)
Operation)
Operation)
Operation)
Follow these steps to change the PTO cycle time.
1) Set control byte SMB67 according to the desired operation.
For example, SMB67 = B#16#81 indicates :
• Enable the PTO/PWM function
•
Select PTO operation
• Select 1 μ s as the time base
• Allow updating the cycle time value.
2) Set SMW68 according to desired cycle time.
3) Execute the
PLS
in struction to configure PTO0 and start it, then a new PTO with the updated cycle time
shall be generated.
�
�
�
�
Changing
Changing
Changing
Changing the
the
the
the PTO
PTO
PTO
PTO Pulse
Pulse
Pulse
Pulse Number(Single-Segment
Number(Single-Segment
Number(Single-Segment
Number(Single-Segment Operation)
Operation)
Operation)
Operation)
Follow these steps to change the PTO pulse count:
1) Set control byte SMB67 according to the desired operation.
For example, SMB67 = B#16#84 indicates:
• Enable the PTO/PWM function
•
Select PTO operation