Flag Variables

Video Tutorial

 

A Flag is a pre-defined memory location that indicates the real time operation, state, and vital information of the XEM CPU. 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, %K, and %L area.

Category Function
System Common functions of the CPU: Run status, errors, clock, scan.
High Speed Link Communication status/info of High Speed link comms (LS devices only)
P2P (Peer to Peer) Communication status/info of Serial and Ethernet comms (P2P 01, 02, 03 , 04)
PID 59 setup/status tags for each of the 16 PID loops.
High Speed Counter 36 setup/status tags for each of the 4 counter channels
Positioning 45 setup/status tags for each Position Axis (2 or 6 per XEM model)

 

 

 

 

LP003-4