How Do I Add PBOOT to PLC Programs?

PBOOT allows a PLC program to run on power up. Follow the steps below to add this to your PLC program.

  1. In ACRVIEW open PLC editor window.

  1. Click on View from the menu options, select "CODE EDITOR."

  1. Return to PLC window, it should now show line numbered code, add PBOOT to first line as show in the example below.

This example runs on power up. The PLC program requires "input" bit 24 to remain true for 2000 ms. "Output" bit 32 is then activated. "Timer output" bit 1552 turns on bit 1052 which is the program 0 "run request flag."

10 PBOOT
20 REM RUNG COMMENT
30 LD 24
40 TM0 2000
50 OUT 32
60 REM RUNG COMMENT
70 LD 1552
80 OUT 1052
90 END