Setting Conditional Expressions - IDEC MICRO/I HG4G-CJT22 F-B Series User Manual

Micro/i operator interfaces for windo/i-nv4
Table of Contents

Advertisement

5.2 Setting Conditional Expressions

Specify conditional expressions with Condition on the Trigger Condition tab.
Conditional expressions are specified by combining data and operators using the following basic format.
Directly enter the conditional expression or specify it with the Trigger Conditions Settings dialog box.
Direct entry
Enter the conditional expression with the keyboard.
• There is no limit on data or operators. However, the maximum number is 1500 characters.
Data
Operator
to
Data
Operator
• To enter a device address for data, always enclose it with "[" and "]".
Example: [LDR 100] == 10
• To flip bits, enter "~" before the data.
• Parentheses "(" and ")" can be used.
(
Data
Operator
• Operator priority is the same as scripts. For details, refer to Chapter 20 "6.3 About the Priority of the Operator" on
page 20-59.
Configuring conditional expressions with the Trigger Condition Settings Dialog Box
You can easily configure a basic conditional expression using the Trigger Condition Settings dialog box.
• Up to a maximum of five items of data can be used.
Data
Operator
to
Data
Operator
• To flip the bits in data, select the Not check box.
• Operator priority is the same as scripts. For details, refer to Chapter 20 "6.3 About the Priority of the Operator" on
page 20-59.
1
Click the Condition
2
Click Value or Device Address and enter a value or device address.
To flip the bits in data, select the Not check box.
3
Select the operator.
4
Click the next Value or Device Address and enter a value or device address.
To flip the bits in data, select the Not check box.
5
3
4
Repeat steps
and
If you display the Trigger Condition Settings dialog box after directly entering a conditional expression, that
expression will be reflected in the dialog box. However, if you entered an expression that cannot be
reflected, the portion of the expression that could not be reflected is deleted when you click the OK button
and close the Trigger Condition Settings dialog box.
Data
Operator
Data
Data
Data
Operator
Data
Operator
)
(
Data
Operator
Data
Operator
Data
Data
Operator
Data
Operator
button to display the Trigger Condition Settings dialog box.
for the necessary number of conditions.
WindO/I-NV4 User's Manual
5 WindO/I-NV4 Common Operations and Settings
Data
Operator
Data
Operator
)
Data
Data
Operator
Data
... (within 480 characters)
Data
2-71
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents