PART 1: CX-Programmer
OMRON
CHAPTER 4 – Reference
CX-Programmer _Page 73
Name Size
Signed
Format
Notes
LINT
4 words
Yes
Binary
Address of a long integer
NUMBER
(See note 2.)
–
Yes
Decimal
A literal value - not an address. ‘NUMBER’
type symbols can be used for numeric
operands which are usually prefixed with
‘#’,‘&’, ‘+’ or ‘-‘. They can be used in BCD or
binary instructions. For BCD usage, the
value is treated as if entered in hex (e.g. the
number ‘1234’ has the same effect as
entering ‘#1234’ in the operand).
A floating-point value can be entered (e.g.
‘3.1416’). An engineering format number
can be entered (e.g. ‘-1.1e4’).
A decimal value is assumed. A
hexadecimal value can be entered using a
prefix of ‘#’.
REAL
2 words
Yes
IEEE
Address of a floating-point number. The
format is the 32-bit IEEE format. For the
special OMRON floating point format (FDIV
instruction) use the UDINT_BCD type.
LREAL
4 words
Yes
IEEE
Address of a floating-point number. The
format is the 64-bit IEEE format.
UDINT
2 words
No
Binary
Address of an unsigned double integer
UDINT_BCD
(See note 1.)
2 words
No
BCD
Address of an unsigned double BCD
integer
UINT
1 word
No
Binary
Address of an unsigned integer
UINT_BCD
(See note 1.)
1 word
No
BCD
Address of an unsigned BCD integer
ULINT
4 words
No
Binary
Address of an unsigned long integer
ULINT_BCD
(See note 1.)
4 words
No
BCD
Address of an unsigned long BCD integer
WORD
(See note 3.)
1 word
---
Any
Address of a bit string of 16 bits.
DWORD
(See note 3.)
2 words
---
Any
Address of a bit string of 32 bits.
LWORD
(See note 3.)
4 words
---
Any
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
(See note 4.)
256
bytes
(128
words)
---
ASCII
The data is handled as character strings.
The size can be set between 1 and 255
characters.
Note 1: When structured text is used in a task program, the UINT-BCD, UDINT_BCD, ULINT_BCD,
and CHANNEL data types are handled as follows (CX-Programmer Ver. 7.2 only):
•
UINT BCD
→
WORD
•
UDINT BCD
→
DWORD
•
ULINT BCD
→
LWORD
•
CHANNEL
→
WORD
2: NUMBER cannot be used in ST programs. An error will occur in the program check if this
data type is used.
3: CX-Programmer Ver. 5.0 or higher
4: This data type is supported only by CX-Programmer Ver. 7.2 (CX-One Ver. 2.1) or higher.
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: ......