Topic: P212

I/O Module Configuration

Overview

This topic describes the configuration of the types of Input and Output modules for your Productivity system:


Productivity Advanced Motion Control modules are also available for your Productivity system. The configuration of the PS-AMC modules is covered in the AMC Hardware Configuration topic.

Configuring Hardware Components

Each Module has various Configuration parameters that may differ from system to system. To view and edit these parameters, double-click the Module within the Hardware Configuration window as shown below.

Note: The Hardware Component dialogs automatically appear when you are manually configuring your Base Groups.


Configuring Discrete I/O Modules

When you double-click on any of the Discrete I/O Modules, the respective Module's Configuration window will open.  For example, if you double-click on the P3-08ND3S Module, the P3-08ND3S Configuration window shown below will open.  Details about Configuring the Discrete I/O Modules are discussed below.

  1. Description: Provides the Description of the specific Module.
  2. Stop program when this module is disconnected: 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.
  3. Allow program to run with this module disconnected: Generates a Non-critical Error allowing the system to continue to operate when an I/O Module is removed from the Base.
  4. User Tagname: Each point on a DiscreteModule is assigned a default Tagname. Each User Tagname can be edited in this dialog, left with default settings, or can be edited later in the Tag Database.
  5. Monitor: Displays the window shown below with options for adding tags to Data View.

  1. Status Bits (below): Some Discrete Modules have Module Status Bits associated with them that may include Missing 24VDC or Blown Fuse indication as shown below.


Configuring High-Speed I/O Modules

When you double-click on any High-Speed Input/Output Module from the Hardware Configuration window, the respective Module's Configuration window will open.

P-Series High Speed Output

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


  1. Module Setup: This tab provides the setup parameters of the selected HSO module. Each individual channel's setup parameters are found on their respective tab.
  2. Module Name: Each HSO 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 with this module disconnected if Hot Swap functionality is desired.
  4. Input Points: There are six general purpose Inputs available which can be used to trigger events in the Registration function, used for positive and negative limits or used for Homing. Tagnames need to be assigned to these Inputs in order to be monitored from within the ladder logic.

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

  1. Output Points: There are four general purpose Outputs available which can be used in the Registration function. Tagnames 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 requires 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. If a move was in progress, the Move Status Bit 12“Aborted-IO Fault”will be set for that particular move instruction. See the specific move instruction topic for the error bits associated with it.

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. If a move was in progress, the Move Status Bit 12“Aborted-IO Fault”will be set for that particular move instruction. See the specific move instruction topic for the error bits associated with it.

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. If a move was in progress, the Move Status Bit 12“Aborted-IO Fault”will be set for that particular move instruction. See the specific move instruction topic for the error bits associated with it.

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. If a move was in progress, the Move Status Bit 12“Aborted-IO Fault”will be set for that particular move instruction. See the specific move instruction topic for the error bits associated with it.

6

Overload/Short Circuit Output 5

Each of the module outputs has built-in ESCP (Electronic Short Circuit Protection). This bit indicates a fault has occurred with Output 5. If a move was in progress, the Move Status Bit 12“Aborted-IO Fault”will be set for that particular move instruction. See the specific move instruction topic for the error bits associated with it.

7

Overload/Short Circuit Output 6

Each of the module outputs has built-in ESCP (Electronic Short Circuit Protection). This bit indicates a fault has occurred with Output 6. If a move was in progress, the Move Status Bit 12“Aborted-IO Fault”will be set for that particular move instruction. See the specific move instruction topic for the error bits associated with it.

8

Firmware Image CRC Error

Module Firmware is faulted.


Parameter Configuration Table

Module Setup

Notes

Module Name

                   

Module Name (Max. 16 characters)

Input Points

                 

Enter tags to contain the status of the General Purpose Inputs

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 pulse output channels on the HSO 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 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, the Time Unit to Seconds and choose a Position Datatype, 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.

Status Bit

Status

Description

1

Px-HSO Only:Last Direction Backlash Positive

These bits indicate the last direction of travel. They are updated as soon as channel movement starts. If Backlash has been configured then these bits will not change state until after backlash has been “taken up” in the opposite direction.

2

Px-HSO Only:Last Direction Backlash Negative

3

Future

Future

4

Future

Future

5

Future

Future

6

Future

Future

7

Future

Future

8

Future

Future

9

Positive Limit Switch Tripped

These limit switches are configured and operate independently of each other. They are enabled individually allowing you to have just a positive, just a negative, or both limits. Each Limit Switch is only detected in its direction of travel. So an active Negative Limit will not prevent movement in the Positive Direction (and vice-versa). This allows a channel to “back off” of a Limit Switch in the opposite direction. But this also means that the Limit Switches will not protect from an axis traveling in the wrong direction. Note 1: If both Limit Switches are configured to the same Input then you will not be able to “back off” of the limit, manual interaction would be required, this type of setup is usually called “over-travel limit”. Note 2: The relevant instruction's Move Status Bit 10 “Aborted – Hit Limit” is also set at the same time.

10

Negative Limit Switch Tripped

11

Future

Future

12

Future

Future

13

Px-HSO Only:Positive Position Limit Tripped

These bits indicate when the channel's current position violates the Position Limit setup in the H/W Configuration. Position Limits allow the axis movement to be restricted without physical limit switches. The Position Limits are configured and also operate independently of each other. They are enabled individually allowing you to have just a positive, just a negative, or both limits. Note 1:The relevant instruction's Move Status Bit 10 “Aborted – Hit Limit” is also set at the same time. Note 2: These limits can be changed on the fly during a move. Note 3: Position Limits are ignored during HOME instructions since the Home position of the Channel has not been matched to a physical Axis position.

14

Px-HSO Only: Negative Position Limit Tripped

15

Registration Stop Tripped

When an instruction is configured for Registration and the Decel to a Stop option is selected, this bit will turn ON after the channel comes to a stop. Also the relevant instruction's Move Status Bit 8 “Stopped at Registration Target” will be set.

16

Module Error - See Module Error Code (above)

This bit indicates that an error exists in the Module Error Code, look there for further information.

Status Bits 17-32 are used only by the PS-AMCx Modules
(not used by the legacy Px-HSO and PxHSI modules)

17

Info- Encoder is a Master

The encoder is an active Master of a drivetrain

18

Info- Axis is a Master

This axis ( not the encoder ) is an active Master of a drivetrain

19

Info- Axis is a Slave

This axis is an active Slave in a drivetrain

20

Info- Axis is Enabled

When configured with “Axis requires Enable”, this is HI when AEN is active.

21

Info- Position Deviation Exceeded

If configured, this will be HI if the difference between the Encoder position and the commanded position is greater than the configured deviation window.

22

Info- Capture Input Previously Defined

MREG Only: The define position capture input/edge has already been defined for capture.

23

Future

Future

24

Aborted- Drive Not Ready

When configured with “Axis Uses Drive Ready”, the target axis is not providing a ready state signal on IN1- Drv Rdy

25

Aborted- Axis at Limit At Start

Axis is on the limit sensor at the start of a move in that direction

26

Aborted- Axis Not Enabled

When configured with “Axis Requires Enable”, this is HI when the AEN instruction is not active and a move on this axis is trying to start or during the move

27

Aborted- Position Deviation Stop

When configured, the axis was stopped due to the difference between the Encoder position and the commanded being greater than the configured deviation window.

28

Aborted- Axis is a Drivetrain Slave

Axis cannot be used by another instruction because it is an active Slave to another Master axis.

29

Aborted- Axis is Linear

Axis is configured as a Linear axis when it is required to be Rotary Axis

30

Aborted- Slave Exceeded Maximum Velocity

Axis is an active Slave and was commanded to go faster than maximum allowable configured velocity of the axis. This usually is because the gear ratio is too high

  1. Channel Output Configuration: Each channel's output can be configured with one of three profiles. Pulse/Direction, Step Up/Step Down and Quadrature selections are provided to determine the output behavior.


  1. Backlash Compensation: When the direction changes, the module will output the number of pulses (at pins 1A & 1B) specified. The Current Position Feedback will not be updated with these pulses. The output will pulse at the rate specified in the Amount and Velocity fields.
  2. Output Limits: The channel output can be limited in the following ways:
  1. Physical Limits: The channel output can also be limited with the use of Limit Switch Inputs.
  1. Position Limits: These limits are Virtual limit switches imposed on the module's output.


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

Output Configuration

                 

Radio Buttons and Constants

Backlash Compensation

                 

Radio Buttons and Constants

Output Limits

                 

Radio Buttons and Constants

Physical Limits

                   

Radio Buttons

Position Limits (Value)

 

 

Enter tags which contain these limit values

Position Limits (Status)

                 

Enter tags to contain the limit status bits


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 wit this module 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:


Velocity Slow Freq = 1 / Time between Pulses


Example:

  • Autosense: Autosense combines the features of Slow and Fast Frequency Modes to provide a velocity calculation. Autosense uses the velocity from Slow Frequency to calculate a sample period to be used in Fast Frequency calculation. This provides rolling adjustment through all frequency ranges. This mode works in all ranges, so it is the easiest to implement, but sacrifices accuracy due to the combined limitations of Slow and Fast Frequency Modes.
  • Velocity Autosense = # of Pulses / Autosense Sample Period


    Where: Autosense Sample Period = (1 / Velocity Slow Freq) x 100


Note: Autosense Sample Period max / min values are 1 and 0.001 second respectively. The initial sample period will be 2 seconds and then dynamically adjust based on the input frequency.


Example:


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 hanging 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

10

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

Parameter Configuration Table

Channel 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


Analog I/O Modules

When you double-click on any of the Analog I/O Modules, the respective Module's Configuration window will open.  For example, if you double-click on the P3-08AD Module, the P3-08AD Configuration window shown below will open.  Details about Configuring the Analog I/O Modules are discussed below.

  1. Description: Provides the Description of the specific Module.
  2. Stop program when this module is diconnected: 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.
  3. Allow program to run with this module disconnected: Generates a Non-critical Error allowing the system to continue to operate when an I/O Module is removed from the Base.
  4. User Tagname: Each point on an AnalogModule is assigned a default Tagname.  Each User Tagname can be edited in this dialog, left with default settings, or can be edited later in the Tag Database.
  5. Ch. Select,  All: Allows the user to Select individual Channels or All Channels.
  6. Range: Some Analog and Temperature Modules support multiple Ranges for the Input or Output Signal Types. The Range column allows individual selection of Signal Type for each Channel.

Note: P Series RTD Modules must have All Channels configured to the same Range.


Note: The P3-04ADS does not allow for Signal Range selection in the software configuration.  Signal Type is determined when wiring the field device.


  1. Module Status Bits: Some Analog Modules have Module Status Bits associated with them that may include: Module Failed, Missing 24VDC, Under Range, Over Range and Module Not Ready.
  2. Monitor: Displays the window shown below with options for adding tags to Data View.


Temperature Modules

For all P Series temperature analog modules (NTC, RTD,and THM) there is a user selectable Burnout Detection setting that can be set to either Low Side Burnout Detection or High Side Burnout Detection. This setting determines the value that will be loaded into the channel's tag name when a sensor for that specific channel detects a failure or becomes disconnected.


Values that get loaded depend on what setting is selected:

Default Tag Names

  1. Default Tag Names are automatically assigned as hardware is added. The Tag Names are easily customized here, or can be changed later in the Tag Database. The following applies to all windows that may be accessed through the Hardware Configuration tool. Example: all I/O and CPU properties windows, where Tag Names are displayed and Module ranges selected.
  2. Default Tag Names are assigned when hardware is added to your project. Tag Names for I/O modules generally follow the format AAAAA-B.C.D.E, where:
  3. AAAAA is the Category of the data, and may include the data type:

Note: The P3-530 and P1-540 CPU only supports local I/O.

User Tag Name Rules

User Tag Names are created by Users in the Tag Database. The following rules apply to Tag Names created by Users:


Related Topics Link IconRelated Topics