Datasheet

Function Descriptions INSYS GSM 4.2 easy
18 January 07
3.3.2 Setting an object instance
Command:
SET <Objectshortname><Instance>=<Value>[,CN:[ Callback]]
Or:
SET <Alias>=<Value>[,CN:[ Callback]]
The object instance is set to the according value.
If callback is desired, the reply will contain "SUCCESS” for a successful setting
procedure or “NO SUCCESS” for a failed setting procedure.
The specification of “CN:” is optional. If the reply should be sent to another
number than the sender number of the monitor command, an additional space
character and the callback number must be entered after "CN:" .
Valid objects for the easy 800/MFD:
Object Object short name Valid values
Digital registers M 0 or 1
Analogue byte
register
MB 0 to 255
Analogue word
register
MW 0 to 65535
Analogue double
word register
MD -2147483648 to
2147483647
Valid objects for the easy 500/700:
Object Object short name Valid values
Digital registers M 0 or 1
Digital registers N 0 or 1
Example 1: Setting the object instance M12 to 1:
SET M12=1,CN:
In this case, an SMS is sent to the sender number of the command, which sets the
value of the object instance M12 to 1.
Example 2: Setting the alias "Pump" with password "SECRET" and separate
callback number "0123456789".
SECRET,SET PUMP=123,CN: 0123456789
In this case, the alias "PUMP" is linked to an object "analogue byte register",
"analogue word register" or "analogue double word register".
Note: Theoretically it is possible to set all other object instances, too.
INSYS MICROELECTRONICS recommends paralleling the
corresponding registers within the configuration program of the
easy to avoid impact on the proper function of the easy objects.