PART 1: CX-Programmer
OMRON
CHAPTER 4 – Reference
CX-Programmer _Page 75
If the new member is an array, input the number of elements in the array.
4. Click the
OK
Button. The member will be inserted.
・
Registering Data Structure Symbols
To insert a symbol into the symbol table, select a registered structure data type in data type view.
Note:
Data structure information will not be updated if you edit data structures in the symbol table and then
download only the symbol table to the PLC. When you download a symbol table that contains data
structures, always download the symbol table and the program together.
Rules for Address Allocation to Structure Symbols
When the first address is set for a structure symbol, addresses are automatically allocated in the
order that the members are registered.
If there are members with a BOOL data type, addresses are allocated as described below. Some
addresses may not be used.
•
BOOL Members Mixed with Non-BOOL Members
Addresses in different words are allocated to the members.
Example:
D0.0 is allocated to Member1 (BOOL) and D1 is allocated to the next member, Member2
(INT).
•
Consecutive BOOL Members
Bits in the same word are allocated to consecutive BOOL members.
Example:
D0.0 is allocated to Member1 (BOOL) and D0.1 is allocated to the next member, Member2
(BOOL).
If more than 16 consecutive bits are required, bits in the next word are allocated.
•
Non-consecutive BOOL Members
Addresses in different words are allocated to the BOOL members.
Example:
D0.0 is allocated to Member1 (BOOL), D1 is allocated to Member2 (INT), and D2.0 is
allocated to Member3 (BOOL).
•
BOOL Members That Are Arrays Next to BOOL Members That Are Not Arrays
Addresses in different words are allocated to the members that are arrays and to the
members that are not.
Example:
D0.0 is allocated to Member1 (BOOL) and bits starting with D1.0 are allocated to the next
member, Member2 (BOOL array).
•
Consecutive BOOL Array Members
Addresses in different words are allocated to the BOOL members.
Example:
Bits starting with D0.0 are allocated to Member1 (BOOL array) and bits starting with D1.0
are allocated to the next member, Member2 (BOOL array).
Specifications of Structure Symbols
Creating Data Types for Data Structures
・
Member Data Types
The following data types can be used for members.
BOOL, WORD, DWORD, LWORD, INT, DINT, LINT, UNIT, UDINT, ULINT, REAL, LREAL,
and user-defined structure data types
・
Memory Areas That Can Be Allocated to Structure Symbols
Addresses in the following memory areas can be allocated to structure symbols.
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: ......