CONTREX CX-1200 User Manual

Page 178

Advertising
background image

5 - 85

Descriptions of the groups of operands and discussion of the associated Control Parameters follow:

Bit 0 is the top of the stack, S0 (first entry point).
Bit 1 is the bottom of the stack, S1, (lowest level).
Bit 2 is fixed at the value of 0.
Bit 3 is fixed at the value of 1.
Bit 4 is set to a 1 for the first PLC scan after power-up.

Bits 8 through 15 reflect the values captured on the Digital Inputs 8 through 15, respectively. DI Set (CP-403)
can be used to set one or all of these bits even when the corresponding input is not active. This is typically used
to test your program without having to actuate the input. DI 1 shot (CP-402) can be used to set one or more of
the Inputs (DI_8 through DI_15) to automatically generate a one shot in the PLC bit location (bit 8-15) from an
open to closed transition on the input.

Bits 16 through 19 are the output of the latches. This would be the equivalent of the normally-open contact of a
latching relay.

Bits 24 through 27 are the outputs of the timers. The running time for each timer is compared against the Timer
Delay and Timer On-time CP’s (CP-410, CP-417) to determine if these output bits should be active (1).

Bits 28 and 29 are alarm conditions.

Bits 30 and 31 are basic status indicator bits.

Bits 32 through 36 are the outputs of the event counters. When the count for each counter reaches the Trigger
Count (CP-420, CP-422, CP-424, CP-426, CP-428), the corresponding counter output will be active (1).

Bit 37 indicates that the AC voltage for the control is below specification.

Bits 40 through 42 reflect the value of RUN Mode (CP-202).

Bits 43 through 46 reflect the value of Sync Mode (CP-204).

Bit 49 is a basic status indicator bit.

Bits 50 through 57 are basic status indicator bits. Bit 50 (COSign) indicates the sign of the Control Output
(CO_Sig). If CO Polarity is set to NEG (2), Bit 50 operates opposite of the actual voltage convention - if the
voltage is negative, this is consider normal for CO Polarity set to NEG and the Bit 50 will be “0”.

Bits 58 and 59 are alarm conditions.

Bits 60 through 63 indicate if the corresponding compare result is true (1) or not (“0”).

Bits 65 is the Out of Position status.

Bits 66 through 69 reflect the sync pulse status.

Bit 70 has the value of one (1) for ½ second and zero (0) for ½ second continuously. This represents a one
second square wave (1 Hz).

Bits 72 through 77 and 79 indicate the system operating state of the controller. Only one of these bits can be
active at a time. These bits are monitor (status) bits only. Do Not use these bits as operands for the “OUT”
command. You can not request a state change with these bits.

Bits 80 through 87 indicate the active block. Only one of these bits can be active at a time. These bits are for
monitoring status only. Do not use these bits as operands for the “OUT” command. You can not request a new
block with these bits. You can do this only through the Blk Sel A,B,C bits.

Bit 89 indicates a reverse direction command to the drive from the control. This bit may be used to assist in
direction changes when using unipolar reversible drive.

Advertising