Hello,
I have a Codesys project (FW27) made by my predecessor. The main program is configured to run in a task. The task is configured to run with “external” trigger and the External event is configured as “LocalBusCycleEvent”. What does that mean exactly? (Hard to find any info) Problem is that in one of my PCF 750-8212 devices the program does not start at all, as if the LocalBusCycleEvent isn’t occurring. What could cause this?
This syncs the task cycle to match the Kbus cycle. So every time the Kbus updates the I/O modules, the program task will run. If the Kbus is not running, or if there are no I/O modules attached, then this LocalBusCycleEvent might not happen at all. In most cases, there is little downside to changing from External trigger back to a Cyclic task rate.
Hehe,
I come from the Schneider and GE universe where the software (Unity schneider or Complicity machine edition) norm is precisely to wait for the acquisition of the entries, then the code is executed and finally apply the exits. It seems simpler to me than the famous programmed cycle time system.
It’s a pity that it could generate errors. I always have doubts with CAN card.