GSM-PRO2
- 19 -
9
I/O configuration and messaging
The module responds to read and write commands. Commands are preceded by an ‘r’ for read and ‘w’ for write
actions.
All SMS commands are NOT case sensitive.
9.1
Digital Output
9.1.1
Configuration
The following items can be configured with the software:
Name
After setting the digital output the module sends a confirmation message according to the configured
rise or fall message. This message is sent only to the sender of the message.
Send only the user defined text, this sends only the text defined in the message box, no module name,
IO name and timestamp.
Define your own instructions to control the output.
Activate or toggle the output when starting a phone call with the module.
Link DO to UI
Activate when GSM connection lost, deactivate when GSM connection returns.
Preserve or deactivate the status on restart or power cycle.
9.1.2
Select users
The recipients have access to the associated digital output.
NOTE
: Selected DO users do not have any rights to send other commands to the module other than addressed
to the defined output.
9.1.3
Messaging
It is possible to send self-made instructions or use the pre-defined instructions for the output. With these
instructions the output can be activated, deactivated and activated for a given period of time (one-shot).
9.1.3.1
Number ID
The number ID for setting the digital output can be disabled. When disabled the output responds on both SMS
and incoming calls from everyone.
NOTE
: keep safety precautions in mind when disabling this function together with the ring function due to
unwanted incoming calls.
9.1.3.2
User defined instructions
Use a self-made instruction to control the output. E.g. you may want to use the instruction
pumpon
to activate
the output, and
pumpoff
to deactivate.
9.1.3.3
Change the digital output status
To set a digital output (DO) send the following default message:
wdon
x
, where x is the state.
E.g. when you send
wdo1
1,
DO1 is set to 1.
If set, the module sends a confirmation message: ‘status DO1=x‘. If the output state is already in the state, the
text: ‘status not changed’ is added to the answer.