EasyManua.ls Logo

Omron SYSMAC CV Series User Manual

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #168 background imageLoading...
Page #168 background image
!
156
Because in this example the SV for C0001 is 700, the Completion Flag for C0002
turns ON when 1 second x 700 times, or 11 minutes and 40 seconds, have ex-
pired. This would result in 000202 being turned ON.
Address Instruction
00000 LD 000000
00001 AND A50102
00002 LD NOT 000001
00003 CNT 0001
#0700
00004 LD C00001
00005 OUT 000202
Operands
0000
00
0000
01
C000
01
0002
02
A501
02
CNT 0001 #0700
CP
R
Caution The shorter clock pulses will not necessarily produce accurate timers because
their short ON times might not be read accurately during longer cycles. In partic-
ular, the 0.02-second and 0.1-second clock pulses should not be used to create
timers.
5-13-7 REVERSIBLE COUNTER: CNTR(012)
(012)
CNTR N S
S: Set value CIO, G, A, T, C, #, DM, DR, IR
*Refer to page 141 for details on indirectly addressing
counters.
N: Counter number #
Operand Data AreasLadder Symbol
II
DI
R
Description The CNTR(012) is a reversible, up/down circular counter, i.e., it is used to count
between zero and SV according to changes in two execution conditions, those
on the increment input (II) and those in the decrement input (DI).
The present value (PV) will be incremented by one whenever CNTR(012) is
executed with an ON execution condition for II and the last execution condition
for II was OFF. The present value (PV) will be decremented by one whenever
CNTR(012) is executed with an ON execution condition for DI and the last
execution condition for DI was OFF. If OFF to ON changes have occurred in both
II and DI since the last execution, the PV will not be changed.
If the execution conditions have not changed or have changed from ON to OFF
for both II and DI, the PV of CNTR(012) will not be changed.
When decremented below 0000, the present value is set to SV and the Comple-
tion Flag is turned ON until the PV is decremented again. When incremented
above SV, the PV is set to 0000 and the Completion Flag is turned ON until the
PV is incremented again.
CNTR(012) is reset with a reset input, R. When R goes from OFF to ON, the PV
is reset to zero. The PV will not be incremented or decremented while R is ON.
Counting will begin again when R goes OFF. The PV for CNTR(012) will not be
reset in interlocked program sections or by power interruptions.
Timer and Counter Instructions Section 5-13

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CV Series and is the answer not in the manual?

Omron SYSMAC CV Series Specifications

General IconGeneral
SeriesSYSMAC CV Series
TypePLC
Input Voltage100 to 240 VAC, 24 VDC
Number of InputsVaries by model
Number of OutputsVaries by model
I/O CapacityUp to 2048 points
I/O PointsVaries by model
Communication PortsRS-232C, RS-422/485
Programming LanguageLadder Logic
Power Supply100-240V AC or 24V DC
MountingDIN rail mounting
Operating Temperature0°C to 55°C

Summary

PRECAUTIONS

2 General Precautions

User must operate product per specifications; consult OMRON for non-manual conditions or critical systems.

3 Safety Precautions

Precautions regarding power supply, terminal touching, disassembly, repair, and battery handling.

4 Operating Environment Precautions

Guidelines for environmental conditions for PC system installation and operation.

5 Application Precautions

Precautions for safe PC system usage, grounding, power supply, wiring, and program changes.

SECTION 1 Introduction

SECTION 2 Hardware Considerations

2-3 Memory Cards

Covers file memory used to store programs and other data, including RAM, EPROM, and EEPROM types.

2-7 PC Configuration

Provides an overview of the PC configuration, including CPU Rack, Expansion CPU Rack, and Expansion I/O Rack.

SECTION 3 Memory Areas

3-2 Data Area Structure

Describes two sets of addresses for accessing PC memory: data area addresses and memory addresses.

3-3 CIO (Core I/O) Area

Details CIO Area addresses, divided into eight data areas for I/O control and internal data manipulation.

3-6 Auxiliary Area

Contains flags and control bits for monitoring and controlling PC operation, accessing clock pulses, and signaling errors.

SECTION 4 Writing Programs

4-1 Basic Procedure

Outlines basic steps for writing a program, including I/O device list and work bit allocation.

4-3 Basic Ladder Diagrams

Describes ladder diagrams, which consist of vertical lines (bus bars) and branching lines (instruction lines or rungs).

4-7 Controlling Bit Status

Lists instructions used to control individual bit status, such as OUTPUT, SET, RESET, and KEEP.

4-10 Programming Precautions

Provides guidelines on programming practices, such as unlimited conditions in series or parallel and avoiding vertical conditions.

SECTION 5 Instruction Set

5-6 Ladder Diagram Instructions

Covers instructions that correspond to ladder diagram conditions and logic block instructions for complex relationships.

5-7 Bit Control Instructions

Explains instructions used to control bit status by turning bits ON and OFF in different ways.

5-13 Timer and Counter Instructions

Details instructions for creating timers and counters, accessing PVs and Completion Flags.

5-15 Data Movement Instructions

Explains instructions used for moving data between different addresses in data areas.

5-16 Comparison Instructions

Covers instructions used for comparing data, affecting comparison flags and outputting results.

5-17 Conversion Instructions

Explains instructions that convert word data from one format to another, outputting converted data to specified result words.

SECTION 6 Program Execution Timing

6-2 Cycle Time

Explains operations affecting cycle time and I/O response time, and shows basic cycle time calculation.

6-5 I/O Response Time

Explains the time taken for the PC to output a control signal after receiving an input signal.

SECTION 7 PC Setup

SECTION 8 Error Processing

8-4 Error Messages

Classifies errors into initialization, non-fatal operating, and fatal operating errors for message display.

Appendices

A Instruction Set

Details all ladder diagram programming instructions, variations, and applicable data areas.

B Error and Arithmetic Flag Operation

Explains instructions affecting ER, CY, GR, LE, EQ, OF, UF, and N flags.

C PC Setup Default Settings

Lists default values for PC Setup parameters.

D Data Areas

Summarizes data areas in CV-series PCs, including CIO, Temporary Relay, and Auxiliary Areas.

Related product manuals