Compiling User Programs

Follow these steps to compile documents and output User Programs in the Functional Safety Editor.

  1. Verify that there are no alerts in the Errors and Warnings pane.
  2. Press <Ctrl-S> to save the state machine.
  3. Click the Compile button.
  4. Verify the User Program has compiled correctly.
    If the compile fails, do the following:
    1. Review the Errors and Warnings pane for compile errors.
    2. Address all errors and warnings.
    3. Repeat steps 1 through 4.
  5. Verify that all inputs, outputs, and variables configured in the I/O Configuration table are used in the state machine diagram.
  6. Verify that all diagnostics listed in the Faults table have Module failsafe selected or are used in the state machine diagram.
Note You can review the following files to verify your User Program:
  • <filename>.json
  • <filename>_errors.json
  • <filename>_report.log