Training and Events

Orion Math and Logic (.bas) Design and Application (plus LogicPak)


A one-day course to provide instruction to develop customized math and logic in Orion. Examples of working code running in substations will be provided to students. Laboratory exercises will complement the lecture material, allowing each student to develop logic routines to add, average, and compare data and to turn on outputs in response to changing real-time inputs. Logic routines will be loaded into Orion simulators and exercised with real inputs and outputs. The preconfigured “OR” and “Primary-Backup IED” functions in LogicPak will also be covered.


Completion of Orion Automation Platform course, or equivalent experience. Experience in writing logic in PLCs, relays or other automation devices. Some Basic or Visual Basic experience is preferred. Understanding of substation operations is preferred. Understanding of data flow in substation automation.

Topic Outline

  • Review of syntax
  • Visual Basic – based Math and Logic “Events”
  • Data Change event
  • Load event (“Default start-up event”)
  • Timer event
  • Review of Commands
  • Database read and write functions
  • Diagnostics
  • “Check syntax” button
  • Print and PrintLog statements
  • Development Guidelines
  • Math and Logic examples
  • Math and Logic simulator
  • Review of available LogicPak modules
    • “OR”, “AND”, and “Negate” functions
    • “Delay” function
    • “KYZ” function
    • “Calc” function
    • “Primary-Secondary IEDs” functions
    • “Local/Remote” function

Upcoming dates:

No scheduled classes