Omron CJ, CS and CP supported access

Variables

The Omron driver supports the following Omron PLC registers as device variables for the Omron CJ PLC, Omron CS PLC and Omron CP PLC:

Variable Description
CIO Standard I/O points that are usually tied to physical IO on the system. This area of memory can only be read by the runtime and cannot be written.
DM Standard WORD-based memory space. This data region is volatile and values will be lost when the power is recycled. It can be accessed as BOOL, WORDS, DWORDS, STRINGs, or FLOATS (REAL, LREAL).
EM Extended WORD-based memory space. This data region is volatile and values will be lost when the power is recycled. It can be accessed as BOOL, WORDS, DWORDS, STRINGs, or FLOATS (REAL, LREAL).
W Work Area (WR) WORD-based memory space. This data region is volatile and values will be lost when the power is recycled. It can be accessed as BOOL, WORDS, DWORDS, STRINGs, or FLOATS (REAL, LREAL).
H Holding Bit Area (HR) - WORD-based memory space. The bits for each of the 512 words are exposed for reading and writing.

Data types, data conversion and addressing

The Omron driver and the runtime support the Omron PLC data types as follows:

Omron data type Data type
Word INT2
DWord INT4
Real FLOAT4
String STRING
Bit BOOL


The Omron PLC data types are supported in the runtime environment wherever a variable is accessed and the variable is associated with an Omron PLC device. Some examples are:

  • Workbench Variables window Read as and Write as functions
  • Transport map data type fields
  • Trigger data type fields
  • Trigger action variable data type fields.

The data representations in the Omron PLC, the runtime and the Workbench are supported by the necessary data conversion functions (e.g. Real and Float4).
The variable addressing supports the assignment of a variable of one data type into a variable with a different data type at the correct starting address location. One way to see this variable addressing support is to use the Workbench Variables window's Read as and Write as functions by right clicking on a data element and reading or writing as a type different than the data element.