Type of Programs

Scan Program

  • This is used to process constantly repeated signals every one scan.

 

Sub-Routine Program

  • This is the program run by ECALL instruction in a scan program.

 

Initialization Program(Cold)

  • This is run in case power is on and CPU is in RUN mode.

  • This is used to set up the initial data for running a scan program, and to initialize other devices or the Internal Flags.

 

Initialization Program (Hot)

  • This is run in case that resuppling time is within set time when power failure occurs under Hot Restart.

  • After an initialization program(Hot) is run in the state to keep the former value, a scan program is run.

 

Constant Interval Interrupt Program

  • This is the program run at regular intervals.