7 - 8                  7 - 8 
MELSEC-Q
7   PROGRAMMING 
 
(4)   List of devices used 
In Section 7.3.1 program example, the used devices are assigned as indicated in 
the following table. 
The I/O numbers for QD60P8-G indicate those when QD60P8-G is mounted on 
Slot 2 of the remote I/O station. 
If it is mounted on the slot other than Slot 2 of the remote I/O station, change the 
I/O numbers to those for the position where QD60P8-G was installed. 
In addition, change the external inputs, internal relays and data resisters, 
according to the system used. 
 
Inputs/outputs, external inputs, and internal relays of QD60P8-G 
Device 
Device name 
CH1 
Application 
X120 Module READY 
X121  Operating condition setting complete flag 
X128 Error occurrence 
Inputs 
X130  Accumulating counter comparison flag 
Y121  Operating condition setting request flag 
Y128  Error reset request 
Y130  Comparison signal reset request 
Input/output of 
QD60P8-G 
Outputs 
Y138 Count enable 
X20  Data setting command 
X21  Count enable ON command 
X22  Count enable OFF command 
X23  Comparison signal reset command 
X24  Error reset command 
X25  Counter reset request command 
X26  Sampling pulse number read command 
X27  Accumulating count value read command 
External input (command) 
X28  Input pulse value read command 
M10  Data setting enable 
M11  Overflow detection flag 
M30 Counter resetting 
M40  Carry over detection flag 
M60  Carry over resetting 
Internal relay 
M80  Alarm output flag 
 
Data registers 
Device name  Device 
Buffer memory 
address 
Data stored 
D30  0  Sampling pulse number 
D31 8  (L) 
D32 9 
Accumulating count value 
(H) 
D33 10  (L) 
D34 11 
Input pulse value 
(H) 
Data registers 
D35 16 Error code