Ib[n] - input bits array – ElmoMC SimplIQ Command Reference User Manual

Page 78

Advertising
background image

IB[N] - Input Bits Array

Purpose:
Provides read access to digital input bits.

IB[N] reports the status of the corresponding input bits, according to the definition in IP.
If IB[N] is “1”, the corresponding Nth bit in IP is logically active.

Use the IB[N] command to reference general purpose inputs, limit switches and other
indications (such as Stop, Begin or Enable) individually.

IB[N] may be more convenient than IP for program decisions and branching. However, it
is not appropriate for the synchronized reading of several input bits. If a synchronized
reading of several digital inputs is desired, use the IP command.

Refer to the

IP

command for more details about the role of each bit.

Attributes:

Type:

Status report, Integer

Source:

Program, RS-232, CANopen

Restrictions: None
Index range: [0…31]
Unit modes: All

IB[N] reports according to the polarity programmed for the relevant digital input

by the IL[N] command.

See also:

IP

,

IL[N]

SimplIQ

Command Reference Manual

Alphabetical Listing

MAN-SIMCR (Ver. 4.5)

3-65

Advertising