We will now look at the click plc program control instructions.
The program control instructions will allow us to specify what logic parts get solved and when. This will control how the PLC will scan and solve your logic in your program.
Program control (flow) instructions in the Click PLC will utilize interrupts and subroutines. We discussed interruptions in the last post on Click PLC Compare and Math Instructions. They can be timed or event (Built-in inputs on the CPU.) When the interrupt happens, it will immediately go and solve the logic in the interrupt and then return to the instruction following the location that it was called. This can and will happen any time throughout the scan of the PLC.
More information can be obtained on our website. This includes all of the links mentioned in this video. https://accautomation.ca/click-plc-program-control-instructions
00:00 Click PLC program control
00:23 Click PLC Interrupts
01:45 Interrupt Setup
02:35 Click PLC Subroutines
03:12 Calling subroutines - Main PLC
04:33 Testing our PLC Program Control
Previously we discussed:
Click PLC System-Hardware. https://accautomation.ca/click-plc-system-hardware/
Click PLC Installing the Software
https://accautomation.ca/click-plc-installing-the-software/
Click PLC Establish Communication