Timer/Counter Area
Controller Link Data Link
3-8
Timer/Counter Area
Ensuring TIMH(15)
Accuracy
Conditions Resetting TIM
and TIMH(15) PVs
Conditions Resetting
TTIM(––) PVs
Conditions Resetting CNT
and CNTR(12) PVs
3-9
DM Area
172
Note Because the CPM1, CPM1A, CPM2A, and SRM1(-V2) PCs have a smaller
LR area, the CQM1H's link area setting (DM 6645) must be set to LR 00 to LR
15 when connecting 1:1 with one of these PCs.
A Controller Link Unit can be mounted to establish a Controller Link Data Link
using automatic or manual settings. Refer to the Controller Link Unit's Opera-
tion Manual for more details.
This area is used to manage timers and counters created with TIM, TIMH(15),
CNT, CNTR(12), and TTIM(––). The same numbers are used for both timers
and counters and each number can be used only once in the user program.
Do not use the same TIM/CNT number twice even for different instructions.
TIM/CNT numbers are used to create timers and counters, as well as to
access Completion Flags and present values (PVs). If a TIM/CNT number is
designated for word data, it will access the present value (PV); if it is used for
bit data, it access the Completion Flag for the timer/counter.
The Completion Flag turns ON when the PV of the timer/counter that is being
used goes to 0.
Refer to instructions beginning on page 233 for details on timers and
counters.
TIM/CNT numbers 000 through 015 and interrupt processing should be used
for TIMH(15) whenever the cycle time is longer than 10 ms. Using other timer/
counter numbers or not using interrupt processing will lead to inaccuracy in
the high-speed timers. Interrupt processing can be set in DM 6629 of the PC
Setup.
The PV will be reset to the SV when program execution begins, the instruc-
tion's input condition goes OFF, or the interlock condition goes OFF when the
instruction is in an interlocked program section (IL–ILC).
The PV will be reset to 0000 when the timer's reset input goes ON.
The PV will be maintained when program execution begins, the instruction's
input condition goes OFF, or the interlock condition goes OFF when the
instruction is in an interlocked program section (IL–ILC).
The PV will be reset to the SV when the counter's reset input goes ON.
The PV will be maintained when program execution begins, the instruction's
input condition goes OFF, or the interlock condition goes OFF when the
instruction is in an interlocked program section (IL–ILC).
Data is accessed in word units. As shown below, the read/write part of the DM
area can be freely read and written from the program. The rest of the DM area
is assigned specific functions in advance.
Read/write
Read-only area
(see notes 1
and 2)
Name
All CQM1H CPU Units
CQM1H-CPU51/61 only
Entire read-only area
Controller Link DM parameters area DM 6400 to DM 6409
Routing table area
Serial Communications Board
settings
Section 3-8
Range
DM 0000 to DM 3071
DM 3072 to DM 6143
DM 6144 to DM 6568
DM 6450 to DM 6499
DM 6550 to DM 6559
Need help?
Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?