Create And Use Data Structures - Omron CJ2 CPU UNIT User Manual

Cj2 cpu unit hardware
Hide thumbs Also See for CJ2 CPU UNIT:
Table of Contents

Advertisement

1 Overview

Create and Use Data Structures

With CX-Programmer version 9.0 or higher, data structures can be created and used. This enables
easily using I/O memory in the CPU Unit as a database or for library data.
Bit addresses can be used in the DM Area and EM Area.
Previously the DM Area and the EM Area could be addressed only by words, and bit addresses
could not be specified. The work area for bits can now be expanded by enabling bit addresses in the
DM and EM Areas.
For example, D10.00 specifies bit 00 of D10.
The format for timer/counter PV refreshing can be selected individually for
each instruction.
Either BCD or binary can be selected individually for each instruction as the format for timer/counter
PV refreshing. For example, the TIM (BCD) and TIMX (binary) instructions can be used together.
The optimum languages can be combined for structured programming.
Ladder diagrams, ST, and SFC languages can be freely combined in the user program. Being able
to use the optimum languages for a particular process helps reduce the time involved in program-
ming.
User program
In addition, ladder diagrams and ST language can be freely used for function blocks (FBs) in ladder
diagrams and ST programs, and for transition and action programs in SFC. This feature makes it
possible to optimize structured programming.
1-8
Task
Task
a := a + 1;
Task
Task
FB in ladder diagram
FB in ST program
FB_(A:=B,C=>D);
Transition and action
programs in SFC
Ladder diagram
Control of equipment
and external devices
The programming language
ST
suited to the process can be used.
Math processing
SFC
Step progression control
Ladder diagram
The programming
language suited to
the process can
ST
be used.
a := a + 1;
CJ2 CPU Unit Hardware User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents