First time using an Event Task in Logix.
And what I see makes no sense before I even start...
Created a new Task, and under "Configuration"
Type: Event
Trigger: Module Input Data State Change <-- When my input turns on, I need a reading from my Analog card
Tag: Local:2:I <-- What? So if my whole input card changes state? Why can't I select .Data.2?
Next thought, if I actually have 2 identically redundant photoeyes that should both trigger this event, can I do it from a single point? Or does that require 2 different Event tasks?
If I can't select "OR" for my Event Trigger, then should I do a periodic task that will poll @ 20ms intervals? (Input card RPI is 20ms) Then once it recognizes either of the inputs I'm watching, then "read the Analog card"
But creating a task that runs every 20ms could be a lot of scan time for that one particular program. I only need this sub-program to run 10% of the time. Can I disable a Periodic task when I don't want to run it?
And what I see makes no sense before I even start...
Created a new Task, and under "Configuration"
Type: Event
Trigger: Module Input Data State Change <-- When my input turns on, I need a reading from my Analog card
Tag: Local:2:I <-- What? So if my whole input card changes state? Why can't I select .Data.2?
Next thought, if I actually have 2 identically redundant photoeyes that should both trigger this event, can I do it from a single point? Or does that require 2 different Event tasks?
If I can't select "OR" for my Event Trigger, then should I do a periodic task that will poll @ 20ms intervals? (Input card RPI is 20ms) Then once it recognizes either of the inputs I'm watching, then "read the Analog card"
But creating a task that runs every 20ms could be a lot of scan time for that one particular program. I only need this sub-program to run 10% of the time. Can I disable a Periodic task when I don't want to run it?