2 resetting a digital output, 3 configuring an output as a closed contact – Infinite Peripherals SCOM-100 User Manual

Page 14

Advertising
background image

SCOM-100, User guide

14

The output LED 2 will switch on and you will hear the relay contact switch to a closed
state. You will then receive an “OK’ SMS message response.

4.4.2 Resetting a digital output

The command to reset an output is:

1001,m,n

1001: 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)

In our example the respective command to reset the output 2 of the main unit is:

1001,0,2

Send an SMS with the respective command to the device’s phone number.
The output LED will switch off and you will hear the relay contact switch to the initial
open state. You will then receive an “OK’ SMS message response.

4.4.3 Configuring an output as a closed contact

SCOM-100 digital outputs, as mentioned above, are normally open contacts. In some
cases an initial closed contact state is required. In those cases, you can configure the
respective output to be a closed contact in its initial state.
The respective configuration command is:

1071,m,n

1071: 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)

Send the following command to configure output 2 of the main unit as a closed contact:

1071,0,2

The output LED 2 will switch on and you will hear the relay contact switch to a closed
state.
Now repeat the set/reset procedure of the last two examples. You will receive
messages with a reverse behaviour of the output LED and relay contact. E.g. after a
‘SET’ command, the LED goes off and the relay contact switches to the open state and
opposite.
An output configured as a closed contact can be reconfigured to an open contact using
the ‘Clear DO configuration’ command (see 4.4.8) or using the opposite configuration
command.
Configure output as an open contact:

1070,m,n

1071: 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)

Advertising