Specifications

SECTION 8 COMMAND DESCRIPTIONS
46
OUTPUT COMMANDS
SET OUTPUT COMMAND
This will Activate or Deactivate any of the 24 Outputs. Select only the Outputs that are going to
be changed, and leave the other Outputs as Don’t Cares(n/c). The SMC40 has 24 programmable
open-collector out puts. When an open-collector is set ON, the voltage reading is about 0.7Vdc.
When the output is set OFF, the reading is an OPEN. Note: Only five outputs can be turned on
per line. The following command line can be repeated to turn more than five outputs when
required.
Line Command Parameter 1 Parameter 2 Comments
1 Set Output ON:1,2,10,18 OFF:5,6,12,20
In this example SET OUTPUT
sets outputs 1,2,10, and 18 ON.
On the same command line,
outputs 5, 6,12,and 20 are set
OFF. Note, that a SET
OUTPUT command might be
used with a conditional IF
Statement.
WARNING: Always use a Diode (Motorola 1N4002 or Equivalent) to clamp any Inductive Loads (Relays,
Solenoids, etc.) due to fly back voltages. Refer to Specifications for further information.