Vansoft Technologies

Where Technology Meets Solotions


GSM Commander GC084A and GC048B Models.


Introduction

The GSM Commander controller provides an easily implemented solution for monitoring and controlling remote devices through the use of the GSM network. The sections below describe the configuration of the older GC048A and GC048B units, so to allow them to interface with the GSM Base Logger Software.

Poll Command


This feature allows a remote user to establish if the inputs and outputs are either on or off, without the need to receive individual messages from the unit. Program the unit to respond to a #REQ command with either an #IN or #IV message as described in the section below. This command is used by the GSM Base Logger to poll a unit, checking its status, at the configured time intervals.This command is automatically set up in reserved output slot 1 (Coils) when the Commander unit is selected.

Please Note:
The cell number of the Base Logger GSM Commander connected to your PC should be added to the Numbers List of the remote GSM Commander unit. In the above setup, +27831231234 is the cell number of the Base Logger GSM Commander connected to your PC.

Reporting Message Configuration

In order for the GSM Base Loger to detect any changes on the inputs of the unit, one of the following two strings must be set up as a SMS text message. The structure of the two types of reporting messages are given below:

Standard Reporting Message Configuration

#IN! Indicates a standard data string, followed by
\s! Current GSM Signal Strength in % (3 digits)
\c! Current Prepaid Airtime Value (In South Africa, this will be in Rands) (3 digits)
\a! Analog Input Value.
\1! Temperature 1 Value.
\2! Temperature 2 Value.
\b! Battery Voltage.
\p! Power Status.
\i! Digital Output Status.
\o Digital Input Status.

Note: All fields are delimited by "!". See the example below:

#IN!\s!\c!\a!\1!\2!\b!\p!\i!\o

Version Reporting Message Configuration

#IV! Indicates a version data string, followed by
\s! Current GSM Signal Strength in % (3 digits)
\f! Firmware Version Number (x.xx)
\a! Analog Input value.
\1! Temperature 1 Value.
\2! Temperature 2 Value.
\b! Battery Voltage.
\p!Power Status.
\i! Digital Output Status.
\o Digital Input Status.

Note: All fields are delimited by "!". See the example below:

#IV!\s!\f!\a!\1!\2!\b!\p!\i!\o

Output Configuration

Sending commands to activate an output on the Commander is extremely simple. Configure a digital output (Coil) with the text that must be send to the unit. When the Commander receives the message the following aditional action must be executed. Add an input response to the control as described in the section above. If no response was received from the unit the response timer will time out and then flag a communications failure.

Please Note:
The Message text #None will cause to the GSM Base Logger to ignore the command, not sending a message. This is used where a single pulsed command is assigned to an output when using the Modbus system to control outputs.