EasyManua.ls Logo

Kinco HP043-20DT - How to Use Position Control Instructions; How to Modify the Current Value of Position Control Instructions

Kinco HP043-20DT
60 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Kinco-HP
User Manual
54
For example, SMB67 = B#16#D3 indicates:
Enable the PTO/PWM function
Select PWM operation
Select s as the time base
Allow updating the pulse width value and cycle time value
2) Set SMW68 according to desired cycle time.
3) Set SMW70 according to desired pulse width.
4) Execute the PLS instruction to configure PWM0 and start it.
Changing the Pulse Width for the PWM Output
The following steps describes how to change PWM output pulse width.
1) Set control byte SMB67 according to the desired operation.
For example, SMB67 = B#16#D2 indicates:
Enable the PTO/PWM function
Select PWM operation
Select 1μs as the time base
Allow updating the pulse width value and cycle time value
2) Set SMW70 according to desired pulse width.
3) Execute the PLS instruction to configure PWM0 and start it
3.2.5 How to Use Position Control Instructions
3.2.5.1 How to Modify the Current Value of Position Control
Instructions
Control Registers and Status Registers
For the Position Control instructions,Kinco-K2 specifies a control byte for each high-speed
output channel to store its configurations. Besides, it assigns a current value register(DINT) to
store the pulse number which has outputted currently (This value will increase when run

Related product manuals