Moxa ioLogik E2210-T [64/90] Active i o messages

Moxa ioLogik E2214 [64/90] Active i o messages
Click&Go V2 Click&Go Examples and Applications
4-7
Active I/O Messages
In this scenario, we have a pressure sensor attached to the AI channel of the ioLogik; a DO channel is
connected to a switch on an air pump. When the pressure of the tank is low, the ioLogik will start pumping. At
the same time, the ioLogik will send a TCP message to the central office, indicating that the pump is ON. When
pressure levels become high, the ioLogik will shut down the pump by turning off the DO. Another TCP message
will then be sent as well. We want the ioLogik to send a TCP message that indicates the exact time the switch
is turned on.
Product Model: ioLogik E2242
Rule 0: IF AI-0 <= 8 mA, THEN DO-6 = ON
THEN Active Message
Rule 1: IF AI-0 >= 18 mA, THEN DO-6 = OFF
THEN Active Message
1. In ioAdmin, make sure that you have logged in on the Server Settings tab. Go to the I/O Configuration
tab and set the AI-0 channel to 4-20 mA mode.
2. Go to the Click&Go Logic tab. On the Global Variable tool bar, click on the Active Message Server button.
Configure the Destination Address, Message Protocol, and Message Port. Click OK.
3. Double click #0 in the Rule-set. The Logic Configuration window will appear.
4. Make sure that Enable in the upper left hand corner is checked.
5. Select Enable Logic.
6. Select AI-0 as your condition in the first IF field, and set the operator to “<=”, value to “8” and the unit
to “mA”.
7. Select DO-6 as your action in the first THEN field, and set its value to ON.
8. Select Active Message as your action in the second THEN field.
9. Click the property button. The Message parameters window will appear.
10. Click Keyword Lookup. In the Variable List that pops up, click <Server_time> or whichever system
information is required.

Содержание

Скачать