Kinco-MK
User Manual
Allow updating the cycle time value.
2) Set SMW68 according to desired cycle time.
3) Execute the PLS instruction to configure PTO0 and start it, then a new PTO with the
updated cycle time shall be generated.
Changing the PTO Pulse Number(Single-Segment 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
Select 1μs as the time base
Allow updating the pulse number
2) Set SMD72 according to desired pulse number.
3) Execute the PLS instruction to configure PTO0 and start it, then a new PTO with the
updated pulse number shall be generated.
Execute the PTO (Multiple-Segment Operation)
1) Set control byte SMB67 according to the desired operation.
For example, SMB67 = B#16#A0 indicates:
Enable the PTO/PWM function
Select PTO operation
Select multi-segment operation
Select 1μs as the time base
2) Set an odd number as the starting position of the profile table into SMW168.
3) Use V area to configure the profile table.
4) (Optional) Use ATCH to attach the PTO0-complete event (event 28) to an interrupt
routine to respond in real time to a PTO0-complete event.
5) Execute the PLS instruction to configure PTO0 and start it.