Browse for an instruction – Rockwell Automation Logix5000 Logix5000 Controllers Quick Start User Manual
Page 85
Advertising

Publication 1756-QS001E-EN-P - October 2009
85
Program a Project Offline Chapter 5
Browse For an Instruction
1. Press Alt + Insert.
2. Type the mnemonic for the instruction and press Enter.
Write BOOL expressions as either true or
false
Use a BOOL expression to determine if specific conditions are true (1) or false (0).
• A BOOL tag is already true (1) or false (0). Do not use an “=” sign to check its state.
This is OK
This is NOT OK
If Bool1 …
If Bool1 = 1 …
If Not(Bool2) … If Bool2 = 0 …
• To check an integer, REAL, or string, make a comparison (=, <, <=, >, >=, <>).
This is OK
This is NOT OK
If Dint1 > 5 …
If Dint1 …
For an assignment, start with the
destination.
Write an assignment as follows:
Destination := Source;
Guideline
Description
data
Advertising
This manual is related to the following products: