Omron CJ2 manual Highly Readable Programming, Bit Addresses can be used in the DM Area and EM Area

Models: CJ2

1 40
Download 40 pages 17.12 Kb
Page 14
Image 14

More Flexible Programming

The Greatest Program Diversity in the industry. A programming environment has been created that is highly readable and can flexibly support changes in specifications, to enable efficient design and program entry with few mistakes.

Highly Readable Programming

Programs are easy to see and easy to understand.

Bit Addresses can be used in the DM Area and EM Area.

 

NEW

DM and EM Area bits could not be specified with the previous SYSMAC PLCs, but they can with the CJ2 CPU Units.

Examples

D100.05: Bit 05 of D100

E0_100.05: Bit 03 of E0_100

Bit

15

14

13

12

11

10

9

8

7

6

5

 

4

3

2

1

0

D100

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D100.05

 

 

 

 

 

 

D100.05

 

 

D200.00

 

 

 

 

 

 

 

E0_100.03

 

BCD and Binary Timer Instructions can be used Together.

NEW

With the CJ1 CPU Units, it was necessary to select in the initial setup of the CPU Unit whether BCD or binary was to be used as the data format for timer instructions. With the CJ2 CPU Units, BCD or binary can be selected individually for each instruction by setting the data format of the timer set value.

The BCD TIM and binary TIMX instructions can be used together.

W0.00

TIM

0001

#10

W0.01

100-ms timer (BCD)

Timer number

Set value

TIMX(550)

0002

#01FF

100-ms timer (binary)

Timer number

Set value

Address Offsets can be Specified

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NEW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

An offset can be specified in brackets after a starting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

address to offset the starting address. If an address

 

D100

 

 

[W100]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

in I/O memory is specified as the offset, the final

 

 

 

 

 

 

 

 

Offset n (number of words)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

address can be dynamically specified according to

 

 

 

 

 

Starting word address

 

 

 

 

 

 

 

 

 

 

 

 

 

the contents of the specified memory address.

 

 

 

 

 

 

 

 

 

 

CH 15

0

 

 

 

Example

Starting word address: D100

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D100[W100]: D100 is the starting address and the contents of W100

 

 

 

 

 

 

Offset

+n

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

is the offset. If W100 is &5, then D105 is specified.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Array Variables make Data Specification Easier to Understand.

By using array variables, any data in a string of data can be expressed using a subscript, making programming easy to understand. Array variables can also be used for data stacks and function block I/O variables. Because they can be set for network symbols, the exchange of multiple data items with external devices can be easily programmed. (Usable languages: Ladder, ST, SFC).

Example

 

 

 

 

 

 

 

Array Variable: ABC

 

Ladder language:

0

 

 

 

 

Copy ABC[3] to D200

WORD data

 

 

1

WORD data

 

To access

 

5.00

 

 

2

WORD data

this data,

 

 

 

 

MOV

 

 

 

 

 

 

3

 

 

 

 

 

 

 

ABC[3]

 

WORD data

 

 

 

 

 

 

 

 

specify ABC

 

 

 

 

 

 

4

 

 

 

 

 

 

 

D200

 

WORD data

 

 

 

 

 

[3].

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

WORD data

 

ST language:

 

6

WORD data

 

 

 

Substitute ABC[0] to ABC[3].

7

WORD data

 

 

 

 

 

 

 

 

8WORD data

9WORD data

14

Page 14
Image 14
Omron CJ2 manual Highly Readable Programming, Bit Addresses can be used in the DM Area and EM Area

CJ2 specifications

The Omron CJ2 series is a powerful and versatile family of programmable logic controllers (PLCs) that exemplify modern automation technology. Known for their robust performance and reliability, CJ2 controllers are widely used in various industries for controlling machinery, processes, and other automated systems.

One of the main features of the CJ2 series is its impressive scalability. The platform offers various models, allowing users to choose the right controller based on their application needs. The CJ2 series supports up to 64 I/O modules, providing ample flexibility for expanding system capabilities. Additionally, it supports more than 4096 I/O points with the right configuration, making it suitable for small to large-scale applications.

The CJ2 series leverages Omron's advanced Kinematics technology, which enhances motion control capabilities. This feature is particularly beneficial for applications requiring precise control over moving parts, such as robotics and material handling systems. The CJ2 can manage multiple axes simultaneously, allowing for complex multi-axis systems to be programmed easily.

Another key characteristic of the CJ2 is its high-speed processing. The controller is equipped with a fast CPU that delivers quick execution of logic programs and supports high-speed data processing, making it ideal for time-critical applications. The CJ2 series also incorporates a rich instruction set that supports various programming languages, including ladder diagram, structured text, and function block diagram, catering to the preferences and needs of different programmers.

Enhanced communication capabilities are another highlight of the Omron CJ2 series. It supports various fieldbus protocols, including Ethernet/IP, Profibus, and DeviceNet, allowing for seamless integration with other devices and systems. This connectivity enables users to build complex, coordinated systems that communicate effectively in real-time.

The CJ2 series also boasts robust diagnostics features, making it easier to troubleshoot and maintain installations. The controller can store extensive diagnostic information, helping users quickly identify issues within the system. Additionally, the CJ2's user-friendly programming environment simplifies the development process, allowing for rapid deployment.

In summary, the Omron CJ2 series stands out for its scalability, advanced motion control capabilities, high-speed processing, and enhanced communication features. These characteristics make it a go-to option for engineers and manufacturers seeking a reliable and flexible PLC solution to meet their automation needs. Its combination of performance, versatility, and user-friendly design cements the CJ2's reputation as a leader in the field of industrial automation.