Professional Documents
Culture Documents
Exercise 3.3 - Interaction Window V2-1
Exercise 3.3 - Interaction Window V2-1
Exercise 3.3 - Interaction Window V2-1
TABLE OF CONTENTS
Exercise 3.3 Interaction Window................................................................................................................................................ 3.3-1
3.3.1 General Information................................................................................................................................................... 3.3-3
3.3.1.1 Objectives............................................................................................................................................................ 3.3-3
3.3.2 Exercise Steps ............................................................................................................................................................ 3.3-4
3.3.2.1 Create a new control module type ...................................................................................................................... 3.3-4
3.3.2.2 Graphics for the type........................................................................................................................................... 3.3-4
3.3.2.3 Create command buttons and position the icons................................................................................................ 3.3-4
3.3.2.4 Create parameters................................................................................................................................................ 3.3-5
3.3.2.5 Command button interaction attributes .............................................................................................................. 3.3-5
3.3.2.6 Icon attributes...................................................................................................................................................... 3.3-7
3.3.2.7 Create interaction window for Agitator type...................................................................................................... 3.3-7
3.3.2.8 Connect control module parameters................................................................................................................... 3.3-7
3.3.2.9 Test the interaction window................................................................................................................................ 3.3-8
3.3-1
3.3-2
3.3.1.1 Objectives
You will:
Create a new control module type
Create an interaction window for the control module type
Use graphics from the IconLib in your faceplate
Use the interaction window for the Agitator type
3.3-3
Icon type
AutoIcon
ManIcon
StartIcon
StopIcon
LampIcon
Right now the icons are not visible in the CMD Editor. To get them visible you have
to open the context menu for each icon and select Properties Visible in Graphic.
3.3-4
Data type
string[30]
string[40]
BoolIO
bool
bool
bool
bool
bool
bool
bool
bool
3.3-5
Please assign the parameters (in the dialog this is called variables) to the command
buttons as displayed in the list below. Please set the Enable property as well (this
locks/unlocks the command button) and use for this the fitting parameters and the
expressions NOT, OR or AND.
3.3-6
Parameter (Variable)
SetManual
SetAuto
ManCmd0
Enable output 1
ManCmd1
Enabled when
the auto mode is active
the manual mode is active
the manual mode is active AND
the output is enabled
the auto mode is active AND the
output is disabled
Enabled when
the auto mode is active
the manual mode is active
the manual mode is active AND
the output is enabled
the auto mode is active AND the
output is disabled
Agitator Parameter/Variable
Name
Description
Out
AutoMode
ManMode
3.3-7
SetAuto
SetManual
AutoCmd1
AutoCmd0
ManCmd1
ManCmd0
InteractionPar.SetAuto
InteractionPar.SetMan
AutoCmd1
AutoCmd0
InteractionPar.ManCmd1
InteractionPar.ManCmd0
3.3-8
In manual mode, a click onto the 1 button should enable the output
In manual mode, a click onto the 0 button should disable the output