Addressing-Flag Variables

A Flag is a pre-defined memory location that indicates the real time operation, state, and vital information of the XMC. These are designed to give the programmer quick access to important information and are extremely useful for ease of programming.

  • Each flag is defined with a descriptive tag name that begins with an underscore (“_”).

  • The tag name is aliased to a memory address located in the %F and %K area.

Category Function
System Common functions of the CPU:Run status, errors, clock, scan.
Data Log State and data for Data logging functionality.
Memory Card State and data for SD memory card.
Encoder Data for the built-in Encoder inputs.
Motion Common Common Status flags of the Motion controller.
Motion Axis Axis specific motion state and data.
Motion Axis Group Motion group state and data.
EtherCAT Master EtherCAT master motion state and data.
EtherCAT Slave EtherCAT slave motion state and data.
NC Channel NC Channel state and data.
NC Ch/Axis Displays the state of the axis configured for the NC Channel.

 

 

 

 

 

 

 

 

 

LM102