1 / 48

Demonstration Presentation

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): Define the actions that occur in Startup Define the actions that occur in Timer1Trip. Select Create New Project

jody
Download Presentation

Demonstration Presentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Demonstration Presentation

  2. 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): • Define the actions that occur in Startup • Define the actions that occur in Timer1Trip

  3. Select Create New Project • Locate Event Browser navigation pane *Events are actions in the new program. • Open Timer Trip Handlers folder

  4. 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

  5. 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. Open Miscellaneous Handlers folder

  7. Open Miscellaneous Handlers folder

  8. Open Miscellaneous Handlers folder *Startup handler is used to define conditionspresent at startup. • Select Startup handler

  9. Open Miscellaneous Handlers folder *Startup handler is used to define conditionspresent at startup. • Select Startup handler • Adds new tab to IDE for Startup handler

  10. Open Miscellaneous Handlers folder *Startup handler is used to define conditionspresent at startup. • Select Startup handler • Adds new tab to IDE for Startup handler

  11. Select the Toolbox

  12. Select the Toolbox • Select Timers navigation pane

  13. Select the Toolbox • Select Timers navigation pane • Timers navigation pane is now active • Drag and Drop Set Duration

  14. Select the Toolbox • Select Timers navigationpane • Timers navigation pane is now active • Drag and Drop Set Duration • Define Properties for “Set Duration” Duration = 100 (1 second); Timer = 1

  15. Drag and Drop Set Mode

  16. Drag and Drop Set Mode • Define Properties for “Set Mode” Mode = Continuous; Timer = 1

  17. Drag and Drop Start Timer

  18. Drag and Drop Start Timer • Define Properties for “Start Timer” Timer = 1

  19. *Step 1 of 2 complete: Startup Handler is defined

  20. 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): • Define the actions that will occur in Startup • Define the actions that will occur in Timer1Trip

  21. Select the Toolbox

  22. Select the Toolbox • Select Scales navigation pane

  23. Select the Toolbox • Select Scales navigation pane • Scales navigation pane is now active

  24. Select the Toolbox • Select Scales navigation pane • Scales navigation pane is now active • Drag and Drop Get Scale Value

  25. 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; Units = Primary ScaleNumber = 1;

  26. Select Conversions navigation pane

  27. Select Conversions navigation pane • Conversions navigation pane is now active

  28. Select Conversions navigation pane • Conversions navigation pane is now active • Drag and Drop Real to String

  29. Select Conversions navigation pane • Conversions navigation pane is now active • Drag and Drop Real to String • Define Properties for “Real to String” DataSource = Local;

  30. 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;

  31. Select Conversions navigation pane • Conversions navigation pane is now active • Drag and Drop Real to String • Define Properties for “Real to String” DataSource = Local; Value (n/a); Precision = 0;

  32. Select Conversions navigation pane • Conversions navigation pane is now active • Drag and Drop Real to String • Define Properties for “Real to String” DataSource = Local; Width = 7 Value (n/a); Precision = 0;

  33. 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): • Define the actions that occur in Startup • Define the actions that occur in Timer1Trip

  34. EXAMPLE 2: • Create a program featuring a user prompt to set the target value for a setpoint Step(s): • Define the actions that occur in Soft1Keypressed

  35. Select Create New Project • Locate Event Browser navigation pane *Events are actions in the new program.

  36. Select Create New Project • Locate Event Browser navigation pane *Events are actions in the new program. • Open Key Pressed Handlers folder

  37. 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

  38. 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. Select the Toolbox

  40. Select the Toolbox • Select User Interface navigation pane

  41. Select the Toolbox • Select User Interface navigation pane • User Interface navigation pane is now active • Drag and Drop Prompt User for Real

  42. Select the Toolbox • Select User Interface navigationpane • User Interface navigation pane is now active • Drag and Drop Prompt User for Real • Define Properties for “Prompt User for Real” DataSource = Static;

  43. Select the Toolbox • Select User Interface navigationpane • User Interface navigation pane is now active • Drag and Drop Prompt User for Real • Define Properties for “Prompt User for Real” DataSource = Static; Message = Enter Target Value

  44. Select Setpoints navigation pane

  45. Select Setpoints navigation pane • Setpoints navigation pane is now active

  46. Select Setpoints navigation pane • Setpoints navigation pane is now active • Drag and Drop Set Setpoint Value

  47. Select Setpoints navigationpane • 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

  48. EXAMPLE 2: Complete • Create a program featuring a user prompt to set the target value for a setpoint Step(s): • Define the actions that occur in Soft1Keypressed

More Related