Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 316

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Timer and Counter Instructions
Description
Flags
276
Area
Indirect DM/EM
---
addresses in
binary
Indirect DM/EM
---
addresses in
BCD
Constants
---
Data Registers
---
Index Registers
---
Indirect address-
,IR0 to ,IR15
ing using Index
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
Registers
DR0 to DR15, IR0 to IR15
The counter PV is decremented by 1 every time that the count input goes from
OFF to ON. The Completion Flag is turned ON when the PV reaches 0.
Once the Completion Flag is turned ON, reset the counter by turning the reset
input ON or by using the CNR(545)/CNRX(547) instruction. Otherwise, the
counter cannot be restarted.
The counter is reset and the count input is ignored when the reset input is ON.
(When a counter is reset, its PV is reset to the SV and the Completion Flag is
turned OFF.)
Name
Error Flag
ER
Equals Flag
=
Negative Flag
N
Note In CS1-H, CJ1-H, CJ1M, and CS1D (for Single-CPU System) CPU Units,
these Flags are left unchanged.
In CS1 and CJ1 CPU Units, these are turned OFF.
N
Count input
Reset input
SV
Counter PV
Completion
Flag
Label
ON if N is indirectly addressed through an Index Register
but the address in the Index Register is not the address of
a counter Completion Flag or counter PV.
ON if in BCD mode and S does not contain BCD data.
OFF in all other cases.
Unchanged (See note.)
Unchanged (See note.)
Section 3-6
S
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
BCD:
#0000 to 9999 (BCD)
"&" cannot be used.
Binary:
&0 to &65535 (decimal)
#0000 to #FFFF (hex)
DR0 to DR15
---
Operation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents