181
Appendix A
System-defined external variables supported
in function blocks
Note These words are external variables for the OMRON FB Library. Do not use these words for creating
function blocks.
Classification Name External variable in
CX-Programmer
Data type Address
Conditions Flags Greater Than or Equals (GE) Flag P_GE BOOL CF00
Not Equals (NE) Flag P_NE BOOL CF001
Less Than or Equals (LE) Flag P_LE BOOL CF002
Instruction Execution Error (ER) Flag P_ER BOOL CF003
Carry (CY) Flag P_CY BOOL CF004
Greater Than (GT) Flag P_GT BOOL CF005
Equals (EQ) Flag P_EQ BOOL CF006
Less Than (LT) Flag P_LT BOOL CF007
Negative (N) Flag P_N BOOL CF008
Overflow (OF) Flag P_OF BOOL CF009
Underflow (UF) Flag P_UF BOOL CF010
Access Error Flag P_AER BOOL CF011
Always OFF Flag P_Off BOOL CF114
Always ON Flag P_On BOOL CF113
Clock Pulses 0.02 second clock pulse bit P_0_02s BOOL CF103
0.1 second clock pulse bit P_0_1s BOOL CF100
0.2 second clock pulse bit P_0_2s BOOL CF101
1 minute clock pulse bit P_1mim BOOL CF104
1.0 second clock pulse bit P_1s BOOL CF102
Auxiliary Area Flags/
Bits
First Cycle Flag P_First_Cycle BOOL A200.11
Step Flag P_Step BOOL A200.12
First Task Execution Flag P_First_Cycle_Task BOOL A200.15
Maximum Cycle Time P_Max_Cycle_Time UDINT A262
Present Scan Time P_Cycle_Time_Value UDINT A264
Cycle Time Error Flag P_Cycle_Time_Error BOOL A401.08
Low Battery Flag P_Low_Battery BOOL A402.04
I/O VerIFication Error Flag P_IO_Verify_Error BOOL A402.09
Output OFF Bit P_Output_Off_Bit BOOL A500.15
OMRON FB Library
words (see note)
CIO Area specification P_CIO WORD A450
HR Area specification P_HR WORD A452
WR Area specification P_WR WORD A451
DM Area specification P_DM WORD A460
EM0 to C Area specification P_EM0 to P_EMC WORD A461 to
A473