PART 1: CX-Programmer
OMRON
CHAPTER 4 – Reference
CX-Programmer _Page 61
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.
Содержание CX-PROGRAMMER V9
Страница 1: ...Cat No W446 E1 12 CX Programmer Ver 9 CXONE AL_C V4 AL_D V4 SYSMAC OPERATION MANUAL...
Страница 2: ......
Страница 3: ...SYSMAC CX Programmer Ver 9 CXONE AL C V4 AL D V4 Operation Manual Revised July 2010...
Страница 4: ......
Страница 6: ......
Страница 32: ......
Страница 33: ...PART 1 CX Programmer...
Страница 34: ......
Страница 91: ......
Страница 111: ......
Страница 191: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 108...
Страница 217: ......
Страница 233: ......
Страница 234: ...PART 2 CX Server PLC Tools...
Страница 235: ......
Страница 243: ......
Страница 249: ......
Страница 261: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Страница 280: ......
Страница 333: ......
Страница 377: ......
Страница 409: ......
Страница 430: ......
Страница 431: ...PART 3 CX Server Runtime...
Страница 432: ......
Страница 476: ......
Страница 482: ......
Страница 498: ......
Страница 524: ......
Страница 534: ......
Страница 535: ......
Страница 536: ......