One of our products depends on the MicroLogix1100 EII (Event Input interrupt) function to catch pulses from a single-channel incremental encoder; typically the pulses occur at 10msec period. Each pulse triggers an interrupt into a routine that does what we need it to (object tracking).
Since Logix500 is older, more customers want Logix5000, and the logical/financial step up would be CompactLogix. However, CompactLogix doesn't have anything like the EII; you have to go to ControlLogix to get a "Module Input State Change" event task. CompactLogix DOES have EVENT interrupts, but they are only triggered by tags, NOT input modules (at least not by an IQ16 module).
I'm thinking about how the MicroLogix1100 provides the EII function; I don't think there is a co-processor, so I think ultimately the PLC must "share" its time with this function.
So I'm wondering how it might be possible to create an EII function with the CompactLogix PLC; create a quick periodic task that examines the input. When the input is seen ON, set a tag that triggers an tag-based EVENT task.
The challenge seems to be how quick the periodic task can be without consuming too much overhead. I would imagine the period of the task to be less than 1msec, which is pretty quick, but it only has to set/reset one tag....
Anyone have any expert insight on something like this?.....
Since Logix500 is older, more customers want Logix5000, and the logical/financial step up would be CompactLogix. However, CompactLogix doesn't have anything like the EII; you have to go to ControlLogix to get a "Module Input State Change" event task. CompactLogix DOES have EVENT interrupts, but they are only triggered by tags, NOT input modules (at least not by an IQ16 module).
I'm thinking about how the MicroLogix1100 provides the EII function; I don't think there is a co-processor, so I think ultimately the PLC must "share" its time with this function.
So I'm wondering how it might be possible to create an EII function with the CompactLogix PLC; create a quick periodic task that examines the input. When the input is seen ON, set a tag that triggers an tag-based EVENT task.
The challenge seems to be how quick the periodic task can be without consuming too much overhead. I would imagine the period of the task to be less than 1msec, which is pretty quick, but it only has to set/reset one tag....
Anyone have any expert insight on something like this?.....