Counter Area; Data Memory (Dm) Area - Omron CS1D DUPLEX SYSTEM - 10-2009 Operation Manual

Cs1d duplex system
Table of Contents

Advertisement

Counter Area

8-14 Counter Area

Instruction name
COUNTER: CNT or
CNTX
REVERSIBLE
COUNTER: CNTR(012)
548)
or CNTRX(
COUNTER WAIT:
CNTW(814) or
CNTWX(818)

8-15 Data Memory (DM) Area

Accuracy when Switching from Duplex to Simplex Operation
The accuracy of timers may be longer in the first cycle after switching from
duplex to simplex operation. The following table shows the timer accuracy in
the first cycle after switching.
TIMER: TIM or TIMX
HIGH-SPEED TIMER:
TIMH(015) or TIMHX(551)
ONE-MS TIMER: TMHH(540) or
TMHHX(552)
ACCUMULATIVE TIMER:
TTIM(087) or TTIMX(555)
MULTI-OUTPUT TIMER: MTIM(543) or
MTIMX(554)
TIMER WAIT: TIMW(813) or TIMWX(816)
HIGH-SPEED TIMER WAIT:
TMHW(815) or TMHWX(817)
The 4,096 counter numbers (C0000 to C4095) are shared by the CNT, CNTX,
CNTR(012), CNTRX(548), CNTW(814), and CNTWX(818) instructions.
Counter Completion Flags and present values (PVs) for these instructions are
accessed with the counter numbers. The counter numbers are independent
from the timer numbers used by timer instructions.
When a counter number is used in an operand that requires bit data, the
counter number accesses the Completion Flag of the counter. When a
counter number is used in an operand that requires word data, the counter
number accesses the PV of the counter.
With CS1D CPU Units, the refresh method for counter PVs can be set from
the CX-Programmer to either BCD or binary.
It is not recommended to use the same counter number in two counter
instructions because the counters will not operate correctly if they are count-
ing simultaneously. If two or more counter instructions use the same counter
number, an error will be generated during the program check, but the counters
will operate as long as the instructions are not executed in the same cycle.
The following table shows when counter PVs and Completion Flags will be
reset.
Reset
Mode
change
PV
0000
Maintained
Flag
OFF
The DM Area contains 32,768 words with addresses ranging from D00000 to
D32767. This data area is used for general data storage and manipulation
and is accessible only by word.
Timer
( 10 ms to 0 ms) + (0 ms to
cycle time) 10 ms
( 10 ms to 0 ms) + (0 ms to
cycle time) 20 ms
( 10 ms to 0 ms) + (0 ms to
cycle time) 10 ms
Effect on PV and Completion Flag
PLC startup
Reset Input
Maintained
Reset
Section 8-14
Accuracy
CNR(545) or
Interlocks
CNRX(548)
(IL-ILC)
Reset
Maintained
307

Advertisement

Table of Contents
loading

Table of Contents