ARTECO-EVERYWHERE 3.0
Pag. 37
V 3.0 – 23/06/20 Rev 1.0
NN assume values for the outputs O0, O1, O2, ..., O7 while for input I0 I1, I2, ..., I7.
X will be "L" when the input / output is in the OFF state and "H" if the input / output is in the ON state.
O0L
...
I0H
...
I4L
After the delimiter '--Arteco' follows a 'CRLF' and after the string 'Content-Type: text / plain'
followed by two 'CRLF'. At the end of the page, after the state of the last input channel, it is
This one last 'CRLF' to indicate the end of the page.
Example:
If the module has the correct address 192.168.10.143 monitor command syntax is:
http://192.168.10.143/monitor.cgi?check=1 (if already authenticated previously)
http: // admin: arteco@192.168.10.143/monitor.cgi? check = 1 (if authentication is required)
The reply from the “monitor” command:
--Arteco
Content-Type: text/plain
O0L
O1L
O2L
O3L
O4L
O5L
O6L
O7L
I0L
I1L
I2L
I3L
I4L
I5L
I6L
I7L
“io” Command
The “io” command allows you to get in response in PLAIN/TEXT format as for the MONITOR command. The
difference is that while the MONITOR command sends the page once for each command sent to CGI, the IO
command closes the connection and sends the status page every 15 seconds allowing you to periodically
reload the state of the inputs and outputs. Since the continuous connection also allows you to verify that the
form and the connection is active.
With the “io” command, if an input or an output change, the status page is sent immediately to report the change
to itself. In this case, the subsequent sending of the status will be after 15 seconds from the page change, which
always takes place not in the meantime another change of state, which will cause a new transmission.
(To see the syntax of the command, see “monitor” command reply)