beautypg.com

4 controlling the digital outputs, 2 clearing the digital input configuration, 1 setting a digital output – Infinite Peripherals SCOM-100 User Manual

Page 13

background image

SCOM-100, User guide

13

0630,1,Door is opened;
0630,2,Door is closed


Now we have to associate the text messages to the signal transitions of the example.
The respective command for our example is:
1101,0,1,2,1
We can pack all three commands in one SMS message and send them to the SCOM-
100 unit:

0630,1,Door is opened;
0630,2,Door is closed;
1101,0,1,2,1

After sending and receiving an ‘OK’ response, repeat the signal changes by closing the
contact/loop for at least 30 seconds and then open it again.
Closing of the input for at least 30 seconds will issue an alarm SMS with the following
contents:

My SCOM-100
Door contact
Door is opened

Opening the contact/loop for at least 30 seconds will issue the negative transition alarm
message:

My SCOM-100
Door contact
Door is closed

4.3.2 Clearing the digital input configuration

Any digital input configuration settings such as alarm, naming and message associations can be cleared
using the command:

1110,m,n

1110: Command

ID

m:

Module number (0 for SCOM-100 main unit, 1-8 for DI-42 I/O expansion
units)

n:

Input number (1-4)

4.4 Controlling the digital outputs

4.4.1 Setting a digital output

SCOM-100 digital outputs are internal relay normally open contacts (see section 2.3).
The command to set a digital output is:

1000,m,n

1000: Command

ID

m:

Module number (0 for SCOM-100 main unit, 1-8 for DI-42 I/O expansion
units)

n:

Output number (1-4 for SCOM-100 main unit, 1-2 for DI-42 I/O
expansion units)

Let us set output 2 of the main unit. The respective command is:

1000,0,2

Send an SMS with the above respective command to the device’s phone number.