![]() ![]() All PLC scan sequence routines are polled and interrupts are not allowed, which could halt the CPU. Reading the inputs (analog or digital), CPU processing the inputs by “if, then, else statements” and other comparison logic and then outputing the results to PLC outputs is all that takes place during each complete “PLC Scan” pass in the main loop(). The PLC scan sequence includes “input scan”, “user program scan” and “output scan”, which works in the microcontroller’s main Loop(). ![]() The Home Automation “Gator” PLC uses the same “C” functions. The Arduino “C” functions, made for programming the Arduino and compatible boards, is extremely easy to use. Programmable logic controllers use “relay ladder logic” (RLL) as a preferred PLC programming control language. “Design for reliability and program check for the worst” PLC software programming and hardware tips.
0 Comments
Leave a Reply. |