albertabound
Member
Having problems creating an event in my program. The intent is to capture a short duration pulse on a digital AC input module residing on a remote backplane over DeviceNet.
I've created the task, program and routine, which at this time simply increments a dINT to confirm routine call. The task is set to event, COS, tagged to the module. The module itself has only the input of interest flagged as COS off to on.
Problem is when I monitor the event task, it executes every 20ms, regardless of the input status. This just so happens to be the RPI timing. I'm Ok with the fact that the event waits for the network packet, but what do I need to do to only execute on the intended COS.
I've created the task, program and routine, which at this time simply increments a dINT to confirm routine call. The task is set to event, COS, tagged to the module. The module itself has only the input of interest flagged as COS off to on.
Problem is when I monitor the event task, it executes every 20ms, regardless of the input status. This just so happens to be the RPI timing. I'm Ok with the fact that the event waits for the network packet, but what do I need to do to only execute on the intended COS.