![Page 1: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/1.jpg)
Demonstration Presentation
![Page 2: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/2.jpg)
Demonstration Presentation
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
![Page 3: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/3.jpg)
Demonstration Presentation
• Select Create New Project• Locate Event Browser navigation pane
*Events are actions in the new program.• Open Timer Trip Handlers folder
![Page 4: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/4.jpg)
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
![Page 5: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/5.jpg)
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
![Page 6: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/6.jpg)
Demonstration Presentation
• Open Miscellaneous Handlers folder
![Page 7: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/7.jpg)
Demonstration Presentation
• Open Miscellaneous Handlers folder
![Page 8: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/8.jpg)
Demonstration Presentation
• Open Miscellaneous Handlers folder
*Startup handler is used to define conditionspresent at startup.
• Select Startup handler
![Page 9: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/9.jpg)
Demonstration Presentation
• Open Miscellaneous Handlers folder
*Startup handler is used to define conditionspresent at startup.
• Select Startup handler
• Adds new tab to IDE for Startup handler
![Page 10: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/10.jpg)
Demonstration Presentation
• Open Miscellaneous Handlers folder
*Startup handler is used to define conditionspresent at startup.
• Select Startup handler
• Adds new tab to IDE for Startup handler
![Page 11: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/11.jpg)
Demonstration Presentation
• Select the Toolbox
![Page 12: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/12.jpg)
Demonstration Presentation
• Select the Toolbox• Select Timers navigation pane
![Page 13: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/13.jpg)
Demonstration Presentation
• Select the Toolbox• Select Timers navigation pane• Timers navigation pane is now active• Drag and Drop Set Duration
![Page 14: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/14.jpg)
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
![Page 15: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/15.jpg)
Demonstration Presentation
• Drag and Drop Set Mode
![Page 16: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/16.jpg)
Demonstration Presentation
• Drag and Drop Set Mode• Define Properties for “Set Mode”
Mode = Continuous; Timer = 1
![Page 17: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/17.jpg)
Demonstration Presentation
• Drag and Drop Start Timer
![Page 18: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/18.jpg)
Demonstration Presentation
• Drag and Drop Start Timer• Define Properties for “Start Timer”
Timer = 1
![Page 19: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/19.jpg)
Demonstration Presentation
*Step 1 of 2 complete: Startup Handler is defined
![Page 20: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/20.jpg)
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
![Page 21: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/21.jpg)
Demonstration Presentation
• Select the Toolbox
![Page 22: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/22.jpg)
Demonstration Presentation
• Select the Toolbox• Select Scales navigation pane
![Page 23: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/23.jpg)
Demonstration Presentation
• Select the Toolbox• Select Scales navigation pane• Scales navigation pane is now active
![Page 24: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/24.jpg)
Demonstration Presentation
• Select the Toolbox• Select Scales navigation pane• Scales navigation pane is now active• Drag and Drop Get Scale Value
![Page 25: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/25.jpg)
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
![Page 26: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/26.jpg)
Demonstration Presentation
• Select Conversions navigation pane
![Page 27: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/27.jpg)
Demonstration Presentation
• Select Conversions navigation pane• Conversions navigation pane is now active
![Page 28: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/28.jpg)
Demonstration Presentation
• Select Conversions navigation pane• Conversions navigation pane is now active• Drag and Drop Real to String
![Page 29: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/29.jpg)
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;
![Page 30: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/30.jpg)
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;
![Page 31: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/31.jpg)
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);
![Page 32: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/32.jpg)
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
![Page 33: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/33.jpg)
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
![Page 34: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/34.jpg)
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
![Page 35: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/35.jpg)
Demonstration Presentation
• Select Create New Project• Locate Event Browser navigation pane
*Events are actions in the new program.
![Page 36: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/36.jpg)
Demonstration Presentation
• Select Create New Project• Locate Event Browser navigation pane
*Events are actions in the new program.• Open Key Pressed Handlers folder
![Page 37: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/37.jpg)
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
![Page 38: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/38.jpg)
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
![Page 39: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/39.jpg)
Demonstration Presentation
• Select the Toolbox
![Page 40: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/40.jpg)
Demonstration Presentation
• Select the Toolbox• Select User Interface navigation pane
![Page 41: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/41.jpg)
Demonstration Presentation
• Select the Toolbox• Select User Interface navigation pane• User Interface navigation pane is now active• Drag and Drop Prompt User for Real
![Page 42: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/42.jpg)
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;
![Page 43: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/43.jpg)
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;
![Page 44: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/44.jpg)
Demonstration Presentation
• Select Setpoints navigation pane
![Page 45: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/45.jpg)
Demonstration Presentation
• Select Setpoints navigation pane• Setpoints navigation pane is now active
![Page 46: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/46.jpg)
Demonstration Presentation
• Select Setpoints navigation pane• Setpoints navigation pane is now active• Drag and Drop Set Setpoint Value
![Page 47: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/47.jpg)
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
![Page 48: Demonstration Presentation 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](https://reader036.vdocument.in/reader036/viewer/2022070307/551aa76555034656628b4a13/html5/thumbnails/48.jpg)
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