Datasheet

INSYS GSM 4.2 easy Function Descriptions
January 07 19
E.g. it is not recommended to switch objects like digital inputs
directly. On the other hand it is uncritical to set a parallel
connected bit register to simulate the setting of digital input
within the configuration program (e.g. imitate the triggering of a
sensor).
3.3.3 Status query
Command:
STATUS?,CN:[ Callback]
This reply indicates the status of the easy device.
The query of the status is performed up to three times, if necessary. If there is still
no reply from the easy device, an SMS with the text "NO SUCCESS" is sent
instead of the status SMS.
Of course, a callback number ("CN:") is required. This means that you have to
enter at least the character string "CN:". If another callback number is desired,
after the character string "CN:" an additional space character and the phone
number must be entered (see previous example).
The response may contain the following:
Status Meaning
RUN
The easy device is in operating mode RUN
STOP
The easy device is in operating mode STOP
NO SUCCESS
The easy device does not reply (cable not connected ...)
3.3.4 Status change
Command:
STATUS=<easy-Status>[,CN: [Callback]]
easy status Meaning
RUN
Switch on easy device, run control program.
STOP
Switch off easy device, terminate control program.
NO SUCCESS
The easy device does not reply (cable not connected ...)
The query of the status to the easy device is performed up to three times, if
necessary. If there is still no reply from the easy device, an SMS with the text "NO
SUCCESS" is sent instead of “OK”.
If the easy device does not acknowledge the status change, the reply SMS will
send the message “ERROR". This can also occur when a status is set in which the
easy device is already running.
A callback number ("CN:") is not required. Without a callback number, however,
there will be no reply (see easy status query).