Functional Description
INSYS GSM 4.3 easy
Theoretically it is possible to set all other object instances, too. INSYS MI-
CROELECTRONICS recommends paralleling the corresponding registers
within the configuration program of the easy to avoid impact on the proper
function of the easy objects. 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).
5.3.4
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 re-
ply 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, etc.)
Table 6: Possible replies to a status query
5.3.5
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
Table 7: Possible status changes
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
20