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 AUX Input (Terminal 4) bit 02 = Right AUX Input (Terminal 4) bit 04 = Left SEN Input (Terminal 2) bit 06 = Right SEN Input (Terminal 2) 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 SENS Input when the zone is clear. The module’s SENS LED indicator 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 SENS signal on the appropriate sensor port. If the sensor is electrically opposite such that its output energizes the SENS input when the zone is blocked, then the bit corresponding to SENS input is clear such that the sensor port’s LED illuminates SENS input 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 SENS or AUX signal, the PLC programmer can determine which physical state (on or off) of the input signal will cause its corresponding input’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 SENS Input 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 AUX Input 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
このトピックへフィードバック