Kinco-MK
User Manual
The unit of cycle time and pulse width time is microsecond(us) or millisecond(ms). The
maximum value of cycle time is 65535. If the pulse width time is greater than the cycle time
value, the duty cycle is set to be 100% automatically and the output is on continuously. If the
pulse width time is 0, the duty cycle is set to be 0% and the output is off.
PTO
PTO provides a square wave (50% duty cycle) output, and you can control the cycle time and
the number of the output pulses. The unit of cycle time is microsecond(us) or
millisecond(ms).The maximum value of cycle time is 65535.The range of pulse number is
2~4,294,967,295.If the specified pulse number is less than 2, then MK070E will set related
error bit and prohibit the output.
PTO function provides single segment of pulse and multiple segment of pulse.
Single segment pulse
In single segment pulse mode, it only executes pulse train output once after executing PLS
instruction.
Multiple segment pulse
In multi-segment pulse mode, CPU automatically reads the configurations of each PTO
segment from a profile table located in V area and executes the related PTO segment.
The length of each segment is 8 bytes, including a cycle time value (16-bit, WORD), a reserved
value (It is not used now,16-bit, INT), and a pulse number value (32-bit, DWORD).Thereof, all
the pulse output frequency are the same in same segment. It uses PLS instruction to start
multiple segment pulse.
In this mode, the starting address of the profile table is stored in SMW168 (corresponding
to PTO0), SMW178(corresponding to PTO1), SMW218(corresponding to PTO2) and
SMW248(corresponding to PTO3).Time base is configured by SM67.3 (corresponding to
PTO0) ,SM77.3 (corresponding to PTO1),SM97.3 (corresponding to PTO2) and SM107.3
(corresponding to PTO3). The time base can be in either microsecond or millisecond. All cycle
values in the profile table must use same time base, and cannot be modified when the profile is
executing.
The following table describes the format of the profile table.