Phoenix Contact 2701027 NLC-050-024D-06I-04QTP-00A nanoLine Base Unit 24ßV/DC / PNP 2701027 数据表

产品代码
2701027
下载
页码 184
Flow Chart Techniques
2373_en_B
PHOENIX CONTACT
4-7
subtype of the first operand. Its drop-down list only shows operands with matching or 
unconfigured subtypes. If selecting an unconfigured item, nanoNavigator permits changing 
the subtype to match the type of the first operand.
In the example shown in Figure 4-4, the nanoLC will compare the register R-01 data item to 
see if it is equal to R-07 when this block executes. If it is, control will pass through the “Yes” 
path to the next block in that path. If not, control passes through the “No” path to the next 
block in that path.
Editing a Compare Block
To edit a Compare block expression, follow these steps:
1.
While in Selection Mode, double-click the Compare block to open the “Compare 
2.
Click the “Data Type” drop-down to select the data item type. Only valid data types 
appear in the list. Available types are Register, Timer/Counter, Analog Input, Message 
Input, Current Date, Current Time, Current Day of Week, Current Day of Month, and 
Current Day of Year.
3.
For Register, Timer/Counter, Analog Input, and Message Input, enter the “Data Item” 
using one of the following techniques:
Enter the data item number, for example “1” or “01”. The type is known because it 
is already selected.
Enter the data item ID (“DI”), for example “I-01”. When tabbing to the next field, 
nanoNavigator displays the data item name associated with the ID.
Use the drop-down button to display the list of data items that correspond to the 
selected data item type. The drop-down list only shows data items of the “Type” 
selected.
4.
Use the “Comparison Operator” drop-down to select the desired comparison.
5.
Use the “Second Item” group to select a “Data Type” and “Data Item”. 
6.
Click the “OK” button. 
Yes/No path selection
By default, the connection that goes out the bottom of the Compare block is the “Yes” path; 
the exit on the right is the “No” path. The “Compare Block... Comments” tab permits adding 
a block comment and swapping the positions of the Yes and No exit paths (another way is 
to right-click a block, and then select “Swap Yes/No Connectors” from the pop-up menu). 
Entering the block’s cell address (“Grid and Cell Address” on page 3-16) explicitly sets or 
modifies the target block of the “Yes” or “No” connector.
When comparing “Current Date” or “Current Time” or a register with a subtype of “Date” 
or “Time of Day”, choose which components of the date or time to include in the 
comparison. For example, to perform a date compare between the day and month and 
ignore the year, perform a time compare between minutes and ignore hours and seconds.
If selecting an unconfigured Timer/Counter, a small dialog box opens with a drop-down 
list that permits configuration of the Timer/Counter as a “Counter”, “Duration (HMS)”, or 
“Duration (mSec)”.