InteractionPar
Section 3 Parameter Interface
36
3BSE042835-600
InteractionPar
Table 6. Structured components
Parameter name
Type
Component name
Type
InteractionPar
MyObjectPar
InputDevice
AnalogInputPar
....
....
OutputDevice
AnalogOutputPar
The InteractionPar parameter is a structured data type where the components are all
the parameters that can be changed via interaction objects. Note that it is only values
that are written to/from the interaction objects that should be placed in this
parameter. By putting these items in a parameter it is still possible to access them
from application code. If it is judged that accessing the parameter from code is
equally or more probable than from the interaction object, there should be both a
component in InteractionPar and an additional parameter. However, this will require
logic inside the type in order to handle the priority between the InteractionPar
component and the parameter.
The interaction parameter data type shall be named by concatenating the object type
name, where the parameter is used, with the word Par, ObjectNamePar. The
components for configuration typically have the attribute ColdRetain and mode,
state components have Retain attribute, whereas components for operator
commands shall not have retaining attribute.
When creating a new object containing several sub-objects, which have their own
InteractionPar, the new object's InteractionPar should have structured components.
These components should be named according to the sub-objects functional purpose
in the new object, to make its usage intuitive for an application engineer. Consider
the case of a Control Module having one analog input and one analog output
module, with some treatment in between. The compound object's InteractionPar
could then look like
Содержание AC 800M
Страница 1: ...Power and productivity for a better worldTM AC 800M Library Object Style Guide System Version 6 0...
Страница 2: ......
Страница 3: ...AC 800M Library Object Style Guide System Version 6 0...
Страница 12: ...Related Documentation About This User Manual 12 3BSE042835 600...
Страница 18: ...Naming Convention Section 1 Libraries 18 3BSE042835 600...
Страница 108: ...SIL Mark Restrictions Section 6 Program Code Issues 108 3BSE042835 600...
Страница 116: ...Standard Library Parameters Appendix A Names and Abbreviations 116 3BSE042835 600...
Страница 119: ......