Topic: P302

P1-02HSC

P-Series High Speed Counter

The following section discusses the configuration and options available with the High-Speed Counter Module

Note: A P1-02HSC cannot be installed in a remote base group when using the non-local I/O option.

  1. Module Setup: This tab provides the setup parameters of the selected HSC module. Each individual channel's setup parameters are found on their respective tab.
  2. Module Name: Each HSC module can be given a unique name (maximum 16 characters) for easier reference within the hardware configuration, instructions and throughout the programming software. The default name consists of the part number of the module truncated by its position within the system (group.base.slot).
  3. Input Points: There are 6 single-ended counter inputs and 2 general purpose inputs available which can be assigned a status tag (read only) so they can be monitored from within the ladder logic.

Note: The Input Points are not updated in STOP mode.

  1. Status Feedback:
    1. Module Error Code: Enter a tag in the field to reference any current Errors in the module from within the ladder logic. The table below describes the Errors possible.

    2. Module Ready: This field accepts Boolean tags and is used to indicate that the module is installed, configured, and ready for instructions.

Note: If an error message is present due to a fault, once the fault is corrected, a power cycle or a triggering of an SPOS instruction will clear the error.

 

Parameter Configuration Table

Module Setup

Notes

Module Name

                   

Module Name (Max. 16 characters)

Input Points

                 

Enter tags to contain the Input status (read only)

Status Tag

                 

 

Module Error Code

 

   

Enter tag to contain the Module Error Code word

Module Ready

                 

Enter tag to contain the Module Ready bit


Error Bit

Error

Description

1

Future

Future

2

Future

Future

3

Future

Future

4

Future

Future

5

Future

Future

6

Future

Future

7

Future

Future

8

Firmware Image CRC Error

Module Firmware is faulted

9

Future

Future

10

Future

Future

11

Future

Future

12

Future

Future

13

Future

Future

14

Future

Future

15

Future

Future

16

Future

Future


Channel Setup


  1. Channel 1 Setup: This tab provides the setup parameters for Channel 1. There are two high-speed input channels on the HSC and each individual channel's setup parameters are found on their respective tab.
  2. Channel Name: Each channel can be given a unique name (maximum 16 characters) for easier reference. The default name consists of the channel number (1 or 2) and the module's position within the system (group.base.slot).
  3. Channel Scaling: There are several scaling options for user code convenience. Since there are many different types of applications that the module may be used in, the provided scaling feature may not work for every scenario. In this case, set the Channel Scaling to Pulse Count, then use scaling in the ladder code. See the Scaling help topic for more details on this function.
  1. Channel Feedback: There are two status or feedback tags available for each channel. These tags provide information regarding the Position and Status of the respective channel.

Status Bit

Status

1

Alert - Current Position Out of Range of New Cycle. If in Rotary Mode, if the rollover to set to a position that is less than the current position. When this occurs, the old (currently running) rollover position will be active until the condition is corrected by either changing the rollover value to be greater than the current position, or by changing the current position to be less than the proposed new rollover position.

2

Alert - Inhibit Active by Defined Input. The input that was defined to inhibit the count is active and therefore the current position is latched until the input is inactive.

3

Future

4

Future

5

Future

6

Inhibited - Reset Tag out of range1. This occurs when the tag or constant value used to store the position that will be set when the Set Positiontag becomes true has a value that is outside the Rollover Positionwhen Rotary Modeis enabled.

 

Note: The channel will be inhibited at all times that the value of the tag or constant is outside of the rollover range AND the Set Tag (Boolean) is TRUE. To clear this condition, change the position value to be within the rollover range or disable the Use Tag to Set Position feature.

7

Inhibited - Z Reset out of range1. This occurs when the tag or constant value used to store the position that will be set when the Z input point is triggered has a value that is outside of the Rollover Position when Rotary Mode is enabled.

 

Note: The channel will be inhibited at all times that the value of the tag or constant is outside of the rollover range regardless if the input is triggered or not. To clear this condition, change the Position Value to be within the Rollover Range or disable the Z Reset feature.

8

Inhibited - Rotary Rollover out of range1. This occurs when Rotary Mode is enabled AND the Rollover Position is <=0 OR is outside the Channel position range (i.e. larger than 8.3M when float scaling is selected). To clear this condition, change the Rollover Position value to greater than 0 AND be within the channel position range.

9

Alert - Position Rolled Over

10

Alert - Position Rolled Under

11

Future

12

Future

13

Future

14

Future

15

Future

16

Future

Note 1: These can only occur when in Rotary Mode, if not in Rotary Mode then any value is valid.

  1. Channel Input Mode Configuration: Each channel's input can be configured with one of three profiles. Pulse/Direction, Quadrature X1 and Quadrature X4 selections are provided to determine the input behavior.





  1. Input Count Limits: This option allows a rollover limit to be placed on the input count if the input is tied to a Rotary Encoder. Do not select this option if using a Linear Encoder.

 

Note: On power cycle the current position is not retained. This will require additional ladder code. Example below:

Related Topics:

Hardware Configuration