Rules for adding a connection to a program parameter

Connecting to a program parameter to pass data into and out of the program from a controller, device, or other programs and follows certain rules:
  • The parameters you are connecting must be of the same data type.
  • Input parameters can have a connection to the whole tag or connections to individual members but not both tags and members.
  • Input member connections cannot overlap. For example, connections to both MyInputTimer.PRE and MyInputTimer.PRE.0 are overlapping connections and are not allowed.
  • InOut parameters must have one program parameter connection. This does not apply to program parameter connections in SmartObject definitions.
  • Output parameters can have multiple program parameter connections.
  • Program-scoped local tags cannot have program parameter connections.
  • An Input parameter cannot connect to an Input program parameter. An Output parameter cannot connect to an Output program parameter.
  • A parameter in another program can connect to an Input and Output parameters.
  • You cannot connect to a parameter in a different controller.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.