R&D department
2018/08/01
SMS format: pass switchip X
X – which IP and port should be primary
IP1 primary set example: pass switchip 1
Response example: Setting primary IP OK
IP2 primary set example: pass switchip 2
Response example: Setting primary IP OK
If the operation is unsuccessful, then the answer is: Setting primary IP FAIL
1.1.11 Setio – set outputs
SMS message is used to set Dout1 and Dout2 output level. Values: 0 – low, 1 – high, 2 – do not change.
Remember: Douts have to be connected to electric circuit correctly.
SMS format: pass setio X1,X2
X1 – state of Dout1
X2 – state of Dout2
Example: pass setio 0,1
Response example: SETIO configuration data ok
If configuration SMS is incorrect, device will response: SETIO configuration data incorrect
Note
“Setio” SMS command will not work with several FM device configurations. If a DOUT is configured to “Blocking” and
driver registration is enabled and registration function is set to blocking / or “DOUT activation under conditions” enabled
and DOUT is set as an output channel, then “setio” SMS command will have no effect.
1.1.12 Getio – read inputs/outputs states
SMS message is used to get status about Dout1, Dout2, Din1, Din2, Din3, Din4, Ain1 and Ain2. Values: 1 – high, 0
– low. Analog inputs – millivolts.
SMS format: pass getio
Answer SMS format: DIN1=X,DIN2=X,DIN3=X,DIN4=X,DOUT1=X,DOUT2=X,AIN1=Y,AIN2=Y
X – Digital value: 1 – high, 0 – low.
Y – analog value in millivolts.
Example: pass getio
Response example: DIN1=0,DIN2=1,DIN3=1,DIN4=1,DOUT1=0,DOUT2=0,AIN1=4210,AIN2=8600
1.1.13 Delrecords – delete all records
SMS message is used to delete all records from internal flash memory FM device memory.
Example: pass delrecords
Response example: all records deleted
11