We will create the “Input-Output” parameter tags.
- Let’s define an input tag as “Celsius”. Celsius will be configured as a REAL data type and as a Float style tag. The default value will be 0. The Required and Visibility column checkboxes will be checked because the tags are requiring an argument and will be visible on the AOI function when used in ladder logic. We’ll add a description “Celsius Temperature Input”, for users to understand the meaning of our input.
- We’ll define another input tag as “Fahrenheit_I”. It will be configured as a REAL data type and as a Float style tag. We’ll add a description “Fahrenheit Temperature Input”. Then we’ll set its External Access as Read Only.
- Now we will create the output parameters, “Fahrenheit_O” and “Kelvin” as REAL data types and as Float style tags. We will also add descriptions for both tags and make sure that their “External Access” will be configured as Read Only.