Set Output Bit

Modbus Motion Interface

Write_Word(OutputBit_+ 1,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 2,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 3,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 4,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 5,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 6,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 7,<1 for high, 0 for low>);
Write_Word(OutputBit_+ 8,<1 for high, 0 for low>);

Description

The Set Output Bit registers controls their respective electrical outputs. A non-zero value applies "Logic Pwr" voltage to the output pin. Writing a 0 values disconnects the output pin leaving it open.

Escapes

An error will occur you the register is read as the OEM2T does not support readback. If the value added to OutputBit_ creates a sum outside the available output range an "event not defined" (3001) will be reported.

Examples

Turn output 2 on.

Write_Word(OutputBit_ + 2,1);

Turn output 1 off

Write_Word(OuputBit_+1,0);

Related Topics

Input Bit