PART 1: CX-Programmer
OMRON
CHAPTER 2 – Quick Start Guide
CX-Programmer _Page 27
It is possible to indicate the physical format of the data that is stored at an address. This additional data typing
facility enables CX-Programmer to check whether the address is used consistently within programs. In the
symbol tables, an icon is shown next to a symbol that indicates its data type. The Data Type set is as follows:
Data Type
Data Type Description
Icon
BOOL
Address of a binary bit - a logical Boolean on or off state. This type is
typically used for contacts or coils.
CHANNEL
This is a special data type, for backward compatibility. It is an address (non-
bit) to data of any type (unsigned or signed, one or more words), so can be
used in place of any of the above data-types except NUMBER and BOOL.
The data type is weak, and so checking is limited (e.g. CX-Programmer
cannot check if the address is being used for BCD or binary values).
DINT
Address of a signed, double binary word.
INT
Address of a signed, single binary word.
LINT
Address of a signed, quad binary word.
NUMBER
A literal numeric value - not an address. The value can be signed, or floating
point. NUMBERs are used for any literal value or for timer/counter identifiers
(for TIM/CNT, only unsigned integer values are allowed).
Floating point values are only suitable within IEEE REAL type operands.
Note: When used as BCD number operands, the value is treated as if it were
entered in decimal with a ‘#’ on the front. E.g. using a NUMBER ‘1234’ is
equivalent to typing ‘#1234’ as the operand, so that the decimal
interpretation is made of the value.
The value of a NUMBER data type is assumed to be decimal, unless it is
prefixed with '#' for a hexadecimal value.
Note: NUMBERs entered in hexadecimal are converted to decimal for BCD
operands (e.g. a NUMBER defined as ‘#10’ will appear as ‘#16’ for a BCD
operand).
REAL
Address of a double word floating point value (IEEE format - use the UDINT
type for the BCD, FDIV format).
LREAL
Address of a long word floating point value (IEEE format - use the ULINT
type for the BCD format).
UDINT
Address of an unsigned, double binary word.
UDINT_BCD
Address of an unsigned, double BCD word.
UINT
Address of an unsigned, single binary word.
UINT_BCD
Address of an unsigned, single BCD word
ULINT
Address of an unsigned, quad binary word.
ULINT_BCD
Address of an unsigned, quad BCD word.
WORD
Address of a bit string of 16 bits.
DWORD
Address of a bit string of 32 bits.
LWORD
Address of a bit string of 64 bits.
TIMER
Used for a timer number, Timer Completion Flag, or timer present value.
Note: TIMERs can be used only for CJ2 CPU Units with unit version 1.0 or
later and only with CX-Programmer version 8.3.
COUNTER
Used for a counter number, Counter Completion Flag, or counter present
value.
Note: COUNTERs can be used only for CJ2 CPU Units with unit version 1.0
or later and only with CX-Programmer version 8.3.
STRING
The data is handled as character strings. The size can be set between 1 and
255 characters.
Each program within a PLC has a ‘local’ symbol table that consists of symbols that are for use specifically in
that program. Each PLC within a project has a ‘global’ symbol table that consists of symbols that can be used in
any of its programs. When a PLC is added to a project, its global symbol table is filled with a pre-set list of
symbols, dependant upon PLC type.
Summary of Contents for CX-Programmer 9
Page 1: ...Cat No W446 E1 10 CX Programmer Ver 9 SYSMAC WS02 CXPC_ V9 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC V9 CX Programmer Ver 9 Operation Manual Revised December 2009...
Page 4: ......
Page 6: ......
Page 19: ...CX Programmer_Page xvi Unit Versions and Lot Numbers...
Page 30: ......
Page 31: ...PART 1 CX Programmer...
Page 32: ......
Page 100: ......
Page 120: ......
Page 198: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 118...
Page 224: ...PART 1 CX Programmer Keyboard Shortcuts CX Programmer OMRON CX Programmer _Page 144...
Page 240: ......
Page 241: ...PART 2 CX Server PLC Tools...
Page 242: ......
Page 250: ......
Page 256: ......
Page 268: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Page 286: ......
Page 338: ......
Page 382: ......
Page 414: ......
Page 430: ......
Page 436: ......
Page 437: ...PART 3 CX Server Runtime...
Page 438: ......
Page 482: ......
Page 488: ......
Page 504: ......
Page 530: ......
Page 540: ......
Page 541: ......
Page 542: ......