Download presentation
Presentation is loading. Please wait.
Published byLucy Dickeson Modified over 10 years ago
2
Demonstration Presentation
3
EXAMPLE 1: Create a program that uses a timer to get gross weight from scale #1 and write it to a serial port Step(s): 1.Define the actions that occur in Startup 2.Define the actions that occur in Timer1Trip
4
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program. Open Timer Trip Handlers folder
5
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program. Open Timer Trip Handlers folder Select Timer 1Trip handler Adds new tab to IDE for Timer1Trip
6
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program. Open Timer Trip Handlers folder Select Timer 1Trip handler Adds new tab to IDE for Timer1Trip
7
Demonstration Presentation Open Miscellaneous Handlers folder
8
Demonstration Presentation Open Miscellaneous Handlers folder
9
Demonstration Presentation Open Miscellaneous Handlers folder *Startup handler is used to define conditions present at startup. Select Startup handler
10
Demonstration Presentation Open Miscellaneous Handlers folder *Startup handler is used to define conditions present at startup. Select Startup handler Adds new tab to IDE for Startup handler
11
Demonstration Presentation Open Miscellaneous Handlers folder *Startup handler is used to define conditions present at startup. Select Startup handler Adds new tab to IDE for Startup handler
12
Demonstration Presentation Select the Toolbox
13
Demonstration Presentation Select the Toolbox Select Timers navigation pane
14
Demonstration Presentation Select the Toolbox Select Timers navigation pane Timers navigation pane is now active Drag and Drop Set Duration
15
Demonstration Presentation Select the Toolbox Select Timers navigation pane Timers navigation pane is now active Drag and Drop Set Duration Define Properties for “Set Duration” Duration = 100 (1 second); Timer = 1
16
Demonstration Presentation Drag and Drop Set Mode
17
Demonstration Presentation Drag and Drop Set Mode Define Properties for “Set Mode” Mode = Continuous; Timer = 1
18
Demonstration Presentation Drag and Drop Start Timer
19
Demonstration Presentation Drag and Drop Start Timer Define Properties for “Start Timer” Timer = 1
20
Demonstration Presentation *Step 1 of 2 complete: Startup Handler is defined
21
Demonstration Presentation FIRST EXAMPLE Create a program that uses a timer to get gross weight from scale #1 and write it to a serial port Step(s): 1.Define the actions that will occur in Startup 2.Define the actions that will occur in Timer1Trip
22
Demonstration Presentation Select the Toolbox
23
Demonstration Presentation Select the Toolbox Select Scales navigation pane
24
Demonstration Presentation Select the Toolbox Select Scales navigation pane Scales navigation pane is now active
25
Demonstration Presentation Select the Toolbox Select Scales navigation pane Scales navigation pane is now active Drag and Drop Get Scale Value
26
Demonstration Presentation Select the Toolbox Select Scales navigation pane Scales navigation pane is now active Drag and Drop Get Scale Value Define Properties for “Get Scale Value” Mode = Gross; ScaleNumber = 1; Units = Primary
27
Demonstration Presentation Select Conversions navigation pane
28
Demonstration Presentation Select Conversions navigation pane Conversions navigation pane is now active
29
Demonstration Presentation Select Conversions navigation pane Conversions navigation pane is now active Drag and Drop Real to String
30
Demonstration Presentation Select Conversions navigation pane Conversions navigation pane is now active Drag and Drop Real to String Define Properties for “Real to String” DataSource = Local;
31
Demonstration Presentation Select Conversions navigation pane Conversions navigation pane is now active Drag and Drop Real to String Define Properties for “Real to String” DataSource = Local; Precision = 0;
32
Demonstration Presentation Select Conversions navigation pane Conversions navigation pane is now active Drag and Drop Real to String Define Properties for “Real to String” DataSource = Local; Precision = 0; Value (n/a);
33
Demonstration Presentation Select Conversions navigation pane Conversions navigation pane is now active Drag and Drop Real to String Define Properties for “Real to String” DataSource = Local; Precision = 0; Value (n/a); Width = 7
34
Demonstration Presentation EXAMPLE 1: Complete Create a program that uses a timer to get gross weight from scale #1 and write it to a serial port Step(s): 1.Define the actions that occur in Startup 2.Define the actions that occur in Timer1Trip
35
Demonstration Presentation EXAMPLE 2: Create a program featuring a user prompt to set the target value for a setpoint Step(s): 1.Define the actions that occur in Soft1Keypressed
36
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program.
37
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program. Open Key Pressed Handlers folder
38
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program. Open Key Pressed Handlers folder Select Soft1Keypressed handler Adds new tab to IDE for Soft1Keypressed
39
Demonstration Presentation Select Create New Project Locate Event Browser navigation pane *Events are actions in the new program. Open Key Pressed Handlers folder Select Soft1Keypressed handler Adds new tab to IDE for Soft1Keypressed
40
Demonstration Presentation Select the Toolbox
41
Demonstration Presentation Select the Toolbox Select User Interface navigation pane
42
Demonstration Presentation Select the Toolbox Select User Interface navigation pane User Interface navigation pane is now active Drag and Drop Prompt User for Real
43
Demonstration Presentation Select the Toolbox Select User Interface navigation pane User Interface navigation pane is now active Drag and Drop Prompt User for Real Define Properties for “Prompt User for Real” DataSource = Static;
44
Demonstration Presentation Message = Enter Target Value Select the Toolbox Select User Interface navigation pane User Interface navigation pane is now active Drag and Drop Prompt User for Real Define Properties for “Prompt User for Real” DataSource = Static;
45
Demonstration Presentation Select Setpoints navigation pane
46
Demonstration Presentation Select Setpoints navigation pane Setpoints navigation pane is now active
47
Demonstration Presentation Select Setpoints navigation pane Setpoints navigation pane is now active Drag and Drop Set Setpoint Value
48
Demonstration Presentation Select Setpoints navigation pane Setpoints navigation pane is now active Drag and Drop Set Setpoint Value Define Properties for “Set Setpoint Value” SetpointNumber = 1; Value (n/a); SetpointNumberDataSource = Static ValueDataSource = Local
49
Demonstration Presentation EXAMPLE 2: Complete Create a program featuring a user prompt to set the target value for a setpoint Step(s): 1.Define the actions that occur in Soft1Keypressed
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.