2 setting run condition – SENA Rhio232 User Manual

Page 20

Advertising
background image

20

3.3.2 Setting run condition

When the [Macro] check box is selected, you can enter a conditional expression and then use it

to control operation of an output port. Enter the desired conditional expression in the [Macro]

box.

-

Specify an operation condition for each output port.

-

An output port that has not been set is regarded as a port available for direct control.

-

The final value obtained from a logical operation on the listed expression becomes the

state of an output port.

-

If the operation condition expression is cleared, a port becomes available for direct

access.

-

Operation condition expressions can be specified as follows:

1) Port No. + Logic Expression (&,|) + Port No.

2) Logic Expression (!) + Port No.

3) Port No. + Logic Expression (&,|) + Logic Expression (!) + Port No.

(Logical operator "!" can only be effective before the relevant port no.)

예) - Input #1 AND Input #2

I1&I2

- Input #1 OR Output #2

I1|O2

- The Inverse of Input #1

!I1

- Output #2 AND Output #3 AND the inverse of Output #4

O2&O3&!O4

-

A single logical expression can contain up to 21 ports.

-

If a port is directly set to ON when its operation condition is not met, it goes into

standby state.

-

A port goes into the ON state if its operation condition is met and into OFF and standby

states if not.

-

If a port is directly set to OFF, it does not operate even if the operation condition is

satisfied.

Advertising