/
How Do I Add PBOOT to PLC Programs?

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

Related content

How to Start the IEC PLC on Controller Power-up
How to Start the IEC PLC on Controller Power-up
More like this
How to Run an Acrobasic Program from IEC PLC
How to Run an Acrobasic Program from IEC PLC
More like this
AcroBASIC Commands for IEC PLC
AcroBASIC Commands for IEC PLC
More like this
Is there a First Scan Flag in the IEC PLC
Is there a First Scan Flag in the IEC PLC
More like this
Sample Structured Text ST Program: Time Based Counter
Sample Structured Text ST Program: Time Based Counter
More like this
Sample Ladder Logic LD Program: Basic Motion (Power, Home, Cycle)
Sample Ladder Logic LD Program: Basic Motion (Power, Home, Cycle)
More like this