Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Software > Programming
Minimize Text   Default    Enlarge Text
 

Print
E-mail

Sample Structure for MCH72 Unit


Introduction
 


CJ2 Family PLC's support Structure data types which can be used to access the data areas in SIO units like the MCH72


Using the structure


To use this structure in a program:

  1. Open the attachment. When using Notepad, turn off "Word Wrap"
     
  2. Copy the whole structure to the clipboard
     
  3. Paste into CX-Programmer's Data Type window (Note this is only available for CJ2 PLCs)
     
  4. Open the IO Table and add the MCH72 unit with the correct Unit address
     
  5. Note the SIOU address in the square brackets (e.g. [1500])
     
  6. Create a new Global Symbol, of type STRUCT MCH72COMMON and set the physical address (e.g. to 1500)
     
  7. The member variables of your new symbol can now be used in your programs to access the SIOU setup area
     

 



Attachments

MCH72.txt - Size: 13490


Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2011-07-13
Modified 2011-08-23
Views 3488

 

You are not logged in.