Topic: P300

High Speed Input

P-Series High Speed Input

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

  1. Module Setup: This tab provides the setup parameters of the selected HSI module. Each individual channel's setup parameters are found on their respective tab.
  2. Module Name: Each HSI 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 consist of the part number of the module truncated by its position within the system (group.base.slot).
  3. Stop Program when this module is disconnected: Selected by default. Generates a critical error when an I/O Module is removed from the Base causing a Hardware mismatch and forcing the CPU out of RUN mode. Select Allow program to run when this module is disconnected: if Hot Swap functionality is desired.
  4. Input Points: There are two general purpose Inputs available which can be used to trigger events in the Registration instruction or used with the Inhibit Count on Input option of the module’s channel I/O configuration. Tagnames need to be assigned to these Inputs in order to be referenced from within the ladder logic. By default, inputs 1-6 are used for channel inputs but internal tags may be assigned to each point for the purpose of monitoring from within the ladder code.

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

  1. Output Points: There are four general purpose Outputs available that can be used in the Registration instruction. Tag names need to be assigned to these Outputs in order to be monitored from within the ladder logic.
  2. Registers: Enter a tag to view the count for each register within the Programmable Limit Switch (PLS) instruction (read-only).

  3. Status Feedback: A tagname must be entered in the Module Error Code field in order to reference any current Errors in the module from within the ladder logic. The table below describes the Errors possible. The Module Ready field accepts boolean tags and is used to indicate that the module is installed, configured and ready for instructions. This option must be used in combination with the Hot Swap feature to ensure instructions will execute as intended.


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.

Error Bit

Error

Description

1

Missing External Power

This module's outputs require that external power be supplied in order to operate. If there is a loss of the supplied power, this bit will turn ON and all of the front panel fault LEDs will blink.

2

Overload/Short Circuit Output 1

Each of the module outputs has built-in ESCP (Electronic Short Circuit Protection). This bit indicates a fault has occurred with Output 1.

3

Overload/Short Circuit Output 2

Each of the module outputs has built-in ESCP (Electronic Short Circuit Protection). This bit indicates a fault has occurred with Output 2.

4

Overload/Short Circuit Output 3

Each of the module outputs has built-in ESCP (Electronic Short Circuit Protection). This bit indicates a fault has occurred with Output 3.

5

Overload/Short Circuit Output 4

Each of the module outputs has built-in ESCP (Electronic Short Circuit Protection). This bit indicates a fault has occurred with Output 4.

6

Future

Future

7

Future

Future

8

Firmware Image CRC Error

Module Firmware is faulted.

9

Channel 1 - Quadrature Sequence Fault

A valid Quadrature signal should only have one edge at any point in time. Either the rising or falling edge of Channel A or Channel B, but not both. If the module detects that both Channel A and Channel B change states at the same time then this error bit will be set. This may indicate a bad encoder or noise on the channel.

10

Future

Future

11

Future

Future

12

Future

Future

13

Channel 2 - Quadrature Sequence Fault

A valid Quadrature signal should only have one edge at any point in time. Either the rising or falling edge of Channel A or Channel B, but not both. If the module detects that both Channel A and Channel B change states at the same time then this error bit will be set. This may indicate a bad encoder or noise on the channel.

14

Future

Future

15

Future

Future

16

Future

Future


Parameter Configuration Table

Module Setup

Notes

Module Name

                   

Module Name (Max. 16 characters)

Input Points

                 

Enter tags to contain the Input status

Output Points

                 

Enter tags to contain the status of the General Purpose Outputs (Read Only)

Module Error Code

 

   

Enter tag to contain the Module Error Code word

Module Ready

                 

Enter tag to contain the Module Ready bit



  1. Channel 1 Setup: This tab provides the setup parameters for Channel 1. There are two high-speed input channels on the HSI and each individual channel's setup parameters are found on their respective tab.
  2. Channel ID Setup: Each channel can be given a unique name (maximum 16 characters) for easier reference. The default name consist 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 and the Time Unit to Seconds, then use scaling in the ladder code. See the Scaling help topic for more details on this function.
  1. Channel Feedback: There are three status or feedback tags available for each channel. These tags provide information regarding the Position, Velocity and Status of the respective channel.

Note: The Channel Feedback tags are not updated in STOP mode.

Velocity Fast Freq = # of Pulses / Sample Period


(Note: The Sample Period must be between 1 and 0.001 second.)


Example:


Example:

Status Bit

Status

1

Alert – Current Position Out of Range of New Cycle. If in Rotary Mode, if the rollover is 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 change the current position to be less than the proposed new rollover position.

2

Future

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 Position tag becomes true and has 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 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 Over2

9

Alert - Position Rolled Under2

11

Future

12

Future

13

Future

14

Future

15

Future

16

Module Error - See Module Error Code (above)

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

Note 2: These report the occurrence of a Roll Over and/or Roll Under. They will remain set for 3 scans and then clear. This makes it possible to detect multiple rollover and/or rollunder events using ladder code.

  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.

Parameter Configuration Table

Module Setup

Notes

Channel Name

                   

Channel Name (Max. 16 characters)

Scaling

                 

Radio Buttons and Constants

Feedback: Current Position Feedback

 

 

 

Enter tag to contain the Current Position

Feedback: Current Velocity Feedback

 

 

 

Enter tag to contain the Current Velocity

Feedback: Current Status

 

 

 

 

Enter tag to contain the Current Status

Input Mode Configuration: Use Z-Input Reset Count to

 

 

Enter tag that contains the desired Reset Count

Input Mode Configuration: Use Tag

                 

Enter tag that will Reset the Count

Input Mode Configuration: Reset Count to

 

 

Enter tag that contains the desired Reset Count (used in conjunction with "Use Tag")

Input Count Limits Rollover Position

 

 

Enter tag that contains the Rollover Position


Related Topics Link IconRelated Topics