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
B01LIN2,10,MACROX25
B01LIN1,7,?
8.87. LIP -- Set Polarity for Logic Inputs
This command sets the polarity for the 24 logic input pins. Setting the polarity for a given pin to 0 indicates
that the polarity should be normal (active low). Setting the polarity for a given pin to 1 indicates that the
polarity should be inverted (active high). Active low is considered normal because a 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
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
B01LIP000000000000000000001111
8.88. 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
any settings imposed by the LO command.
If a logic pin is masked via the
Description
Configure logic input group
2 to execute MACROX25
when the pins in logic
input group 2 correspond
to the decimal value 10.
Query the command
associated with decimal
configuration 7 on logic
input group 1.
Description
Set logic inputs 1-20 to
normal (active low) and
logic inputs 21-24 to
inverted (active high).
command, its status will still be affected by the LO command.
LOM
Status Message
B01LIN2,10,MACROX25
B01LIN1,7,<string> , where <string>
corresponds to the command that is associated with
decimal configuration 7 on logic input group 1.
commands. If a logic input pin's polarity is
LIH
Status Message
B01LIP000000000000000000001111
and
commands), those conditions will override
LOA
LOD
Need help?
Do you have a question about the Vortex EF2241 and is the answer not in the manual?
Questions and answers