Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
6-163
PLSY
1
2
3
4
4
6
7
8
6.8 Other Convenient Instructions
6.8.8 Fixed cycle pulse output (PLSY)
1. With the PLSY instruction, the argument device data is registered in the work
area of the CPU module and counting operation is processed as a system
interrupt. (The device data registered in the work area is cleared by turning the
execution command OFF, or turning the STOP/RUN switch STOP RUN.) For
this reason, the pulses that can be output must have longer ON and OFF times
than the interrupt interval of the CPU module. The interrupt interval of individual
modules is shown below:
2. Do not change the argument for the PLSY instruction during pulse output
directed by the PLSY instruction (while the execution command is ON). To
change the argument, turn OFF the execution command.
3. The PLSY instruction can be used only once in all programs executed by the
CPU module. The second and the subsequent PLSY instructions are not
processed.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
The device specified by exceeds the range of the corresponding device.
(For the Universal model QCPU only.) (Error code: 4101)
Program Example
(1) The following program outputs a 10 Hz pulse 5 times to Y20 when X0 is ON.
[Ladder Mode] [List Mode]
CPU Module Type Name Interrupt Interval
High Performance model QCPU, Process CPU,
Universal model QCPU
1 ms
D
Step
Instruction
Device