Sample Structure for NC482 Unit with MX2 Inverter
Introduction
CJ2 Family PLC's support Structure data types which can be used to access the data areas in SIO units like the EtherCAT NC482.
Using the structure
To use this structure in a program:
- Open the attachment. When using Notepad, turn off "Word Wrap"
- Copy the whole structure to the clipboard
- Paste into CX-Programmer's Data Type window (Note this is only available for CJ2 PLCs)
- Open the IO Table and add the NC482 unit with the correct Unit address
- Note the Setting Common Parameter of the CJ1W-NC482 Unit:
First Word of Remote I/O Output Memory Area (e.g. [CIO 3800])
First Word of Remote I/O Input Memory Area (e.g. [CIO 3900])
- Create a new Global Symbol, of type STRUCT NC482COUT and set the physical address (e.g. to 3800)
- Create a new Global Symbol, of type STRUCT NC482CIN and set the physical address (e.g. to 3900)
- The member variables of your new symbol can now be used in your programs to access the SIOU setup area
Link:
http://www.myomron.com/index.php?action=kb&print=1392
|