Register Name / Module Address | Assembled Address for PLC | Description |
---|---|---|
Sensor Port Input Signal Condition Mask 4:0034 |
M: 4:1819 E: O.Data [19] P: Byte 38 (Hi) Byte 39 (Lo) |
Bitwise Value: bit 00 = Left Sensor Port – Aux I/O (M8 Pin 2) bit 02 = Right Sensor Port – Aux I/O (M8 Pin 2) bit 04 = Left Sensor Port – Sensor Signal (M8 Pin 4) bit 06 = Right Sensor Port – Sensor Signal (M8 Pin 4) All other bits reserved |
- How Input signals are conditioned in ZPA Mode
For a module in standard ZPA mode, the Auto-Configuration procedure sets values in this register to allow the module to correctly display the Sensor Port’s LEDs to facilitate diagnostics. This is done, for example, to make visual LED diagnostics the same for “zone blocked” regardless of the sensor type.
For example, suppose the zone photo sensors used are “Light Operate, Normally Open”. This means that the sensor’s output is energizing the Sensor Port input pin 4 when the zone is clear. The module’s Sensor Port LED indicator for pin 4 (green) should illuminate when the zone is blocked; so the Auto-Configuration procedure sets a bit in the Sensor Port Input Signal Condition Mask register to correspond to the pin 4 signal on the appropriate sensor port. If the sensor is electrically opposite such that its output energizes pin 4 of the sensor port when the zone is blocked, then the bit corresponding to pin 4 for this sensor port is clear such that the sensor port’s LED illuminates green when pin 4 is energized.
- How Input signals are conditioned in PLC I/O Mode
When a module is placed in PLC I/O mode; the Sensor Port Input Signal Condition Mask register is cleared of the values set during the Auto-Configure procedure. The Sensor Port Input Signal Condition Mask register is made available for PLC I/O mode Sensor Port inputs to give the PLC programmer the same flexibility for configuring which electrical state (on or off) of the input will cause a logical 1 to appear in the Sensor Port Inputs register and illuminate the pin’s corresponding LED. By setting or clearing the corresponding bit for a given port’s pin 3 or 4 signal, the PLC programmer can determine which physical state (on or off) of the input signal will cause its corresponding pin’s bit in the Sensor Port Inputs register to be set and its corresponding LED to illuminate. The following are two examples that show the bit patterns and signals for one of the module’s inputs. The same pattern applies to all available inputs:
Example: Right Sensor Port – Pin 4 Signal Electrical Signal Sensor Port Input Signal Condition Mask Register bit 6 Sensor Port Inputs Register bit 6 LED State OFF 0 0 Green = OFF ON 0 1 Green = ON OFF 1 1 Green = ON ON 1 0 Green = OFF Example: Left Sensor Port – Pin 2 Signal Electrical Signal Sensor Port Input Signal Condition Mask Register bit 0 Sensor Port Inputs Register bit 0 LED State OFF 0 0 Red = OFF ON 0 1 Red = ON OFF 1 1 Red = ON ON 1 0 Red = OFF