Polycom RS-232 manual LO -- Query or Set Status of Logic Output Pins, Active high

Models: RS-232

1 123
Download 123 pages 19.08 Kb
Page 77
Image 77

closed switch would ground the input, and a closed switch would normally be considered active.

This command affects the operation of the LIA, LID, and LIH commands. If a logic input pin's polarity is reversed, the operation of these commands is reversed.

By default, the polarity for all pins is set to normal (active low).

This command is saved to global non-volatile memory and is not part of a preset. Its value is saved each time it is changed. It will retain its value after power-down. Since this command writes to non- volatile memory, there will be a delay before an acknowledgment is returned.

Example

S01LIP000000000000000000001111

Description

Status Message

Set logic inputs 1- 20 to normal (active low) and

logic inputs 21- S01LIP000000000000000000001111 24 to inverted

(active high).

8.85. LO -- Query or Set Status of Logic Output Pins

This command sets or queries the current state of the logic outputs. There are 20 logic outputs, so an array of 20 boolean values is required or returned, with the first value indicating the state of the first logic output, the second value indicating the state of the second logic output, and so on.

If a logic output pin has conditions driving it (via the LOA and LOD commands), those conditions will override any settings imposed by the LO command.

If a logic pin is masked via the LOM command, its status will still be affected by the LO command.

ExampleDescription

Set all logic S01LO*00000000000000000000 outputs low.

Set even numbered logic output pins low

S01LO*10101010101010101010 and odd numbered logic output pins high.

Query current

S01LO*?state of logic outputs

Status Message

S01LO*00000000000000000000

S01LO*10101010101010101010

S01LO*abcdefghijklmnopqrst , where a- t are each 0 or 1 depending on the current state of the corresponding logic output.

8.86. LOA -- Define Behavior for Logic Output Activated

Page 77
Image 77
Polycom RS-232 manual LO -- Query or Set Status of Logic Output Pins, LOA -- Define Behavior for Logic Output Activated