Mitsubishi MELSEC Q Series Programming Manual page 367

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

1. With the SPD instruction, the argument device data is registered in the work
2.
3. The SPD instruction can be used as many as 6 times within all the programs
4. While the measurement is in execution (while the command input is ON) by the
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
(For the Universal model QCPU, LCPU.)
Program Example
(1) The following program measures the pulses input to X0 for a period of 500 ms when X10
goes ON, and stores the result at D0.
[Ladder Mode]
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 counted must have longer ON and OFF
times than the interrupt interval of the CPU module. The interrupt interval of
individual modules is shown below:
CPU Module Type Name
High Performance model QCPU, Process CPU,
Universal model QCPU, LCPU
• When the High Performance model QCPU or Process CPU is used:
The instruction is not processed when n = 0.
being executed. The seventh and the subsequent SPD instructions are not
processed.
SPD instruction, the setting value cannot be changed. Turn OFF the command
input before changing the setting value.
exceeds the range of the corresponding device.
S
Interrupt Interval
1 ms
[List Mode]
Step
Instruction
SPD
(Error code: 4101)
Device
6-165
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents