CIE-H14A User Manual Ver. 1.4
- 36 -
5.2
Serialized Modbus/TCP
In this mode, CIE-H14A sends and receives Modbus/TCP data via the serial port. By using
this mode, you can monitor and control the I/O ports of CIE-H14A through the RS232 port.
Note that you can
’
t control the output ports of CIE-H14A with HTTP or Modbus/TCP in
this mode. Also, the TCP and UDP data communication for serial devices cannot be
activated.
5.3
Macro Mode
This mode lets users set the values of the output ports with simple macros. Since CIE-
H14A reflects the values according to the macro expressions which are configured by users
in advance, it is useful to make a specific device operate automatically using signals from
various sensors. Check [Macro] options on ezManager to activate this mode.
If a port is set to Macro mode, it cannot be controlled through HTTP or
Modbus/TCP.
5.3.1
Operator
The equation used in the Macro mode is Boolean algebra. In this case, the AND, OR, NOT
are used as operators. Parenthesis may also be used.
The operators are executed in order of precedence: parenthesis > NOT > AND > OR.
Each operator is represented by the following symbols.
name
sign
description
Parenthesis
( )
Since calculations within the parenthesis have the
highest priority, they will be calculated first.
Nested parentheses are allowed.
NOT
/
An operand that follows a NOT operator is
toggled. (If an operand is 0, it will be changed to
1. If it is 1, it will be changed to 0.)
AND
*
If both operand values surrounding an AND
operator are 1, the result value will be 1.
Otherwise, the result will be 0.
OR
+
If both operand values surrounding an OR
operator are 0, the result value will be 0.
Otherwise, the result will be 1.
Table 5-6 the operators