Input/Output attributes for discrete attributes
- Last UpdatedJul 19, 2024
- 1 minute read
The following Input/Output attributes are available for a Discrete attribute:
|
Editor Option |
Associated Attribute |
Description |
Runtime Access |
|---|---|---|---|
|
Input source |
Input.InputSource |
The target source from which the value is to be read. Click the ellipse button to access the Attribute Browser. |
Supervisory, User |
|
Output destination differs from input source |
Output.DiffAddr |
If enabled, the output destination can be configured to be different than the input source. |
None |
|
Output destination |
Output.OutputDest |
The target location to which the output value will be written. Click the ellipse button to access the Attribute Browser. |
Supervisory, User |
There is a difference between InputOutput extension and Field Attribute when setting InputSource and OutputDest via a script.
-
The full attribute name for the InputSource is different. For example,
InputOutput extension: me.UDA.InputSource = "ABPLC5.B13:0/0"
Field Attribute: me.FieldAttr.Input.InputSource = "ABPLC5.B13:0/0"
-
For the InputOutput extension, if Output destination differs from input source is not selected, you can set InputSource from a script. The InputOutput extension will use the reference in InputSource for OutputDest. For example,
me.UDA.InputSource = "ABPLC5.B13:0/0"
-
For the Field Attribute, even if Output destination differs from input source is not selected, you must still set both the InputSource and OutputDest. For example, you must set the following:
me.FieldAttr.Input.InputSource = "ABPLC5.B13:0/0"
me.FieldAttr.Output.OutputDest = "ABPLC5.B13:0/0"