Using the Macro mode
CIE-M10/H10 has 4 different types for monitoring and controlling its I/O ports.
Those are Modbus/TCP, HTTP, Serialized Modbus/TCP and Macro.
This is second time of talking about the Macro.
I want to look into the usages of this mode.
<Configuration>
The tool for configuring parameters of CIE-M10/H10 is ezManager.
The mode can be changed by this program.
1. Move to the [I/O Ports] tab.
2. Select the [I/O Port Option] tab
3. Check the [Macro] option and set formulas on each output port.
<Practical Example>
See the below setting

1. Do0 = i0
It is not necessary to explain the result of this.
2. Do1 = /i0
You must be notice that Do0 and Do1 are never turned ON or OFF in the same time.
3. Do2 = i0 + i1
Except for the first situation of the below truth table, Do2 will keep HIGH.
4. Do3 = i0 * i1
Except for the last situation of the below truth table, Do3 will keep LOW.
5. Do4 = /i0 * /i1
According to the priority, both i0 and i1 are reversed.
Then, the results are operated by AND operator.
6. Do5 = /i0 + /i1
Like the Do4, the reversed values are operated by OR operator.
7. Do6 = /(i0 + /i1)
The bracket has the top priority than any other operators.
Thus, i0 and reversed i1 are operated by OR operator at first.
Then the result is reversed by NOT operator
8. Do7 = i1
<Test>
Following show status of the I/O ports under two different situation.
Try to guess why the result came out.
1. All the input ports are truned OFF
2. All the input ports are truned ON
Posted by eztcp




















