
adccommunitymod (AutomationDirect) asked a question.
Created Date: October 07,2016
Created By: scotbirmingham
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I'm relatively new to PLC/HMI programming. I have Do More PLC for my process control and a manufacturer supplied BR-automation PLC hooked up to a piece of equipment. Both are connected to my C-More HMI by ethernet. When my piece of equipment enters it's discharge state, it turns on bit a which I can read on the HMI. When that bit goes on/off, I'd like to set Y0 on my Do-More to the same state to start/stop a pump. Seems like I can do this with the event manager setting up events for the tag being on/off but it also seems unlikely that this is the intended purpose of the event manager or that this is really the right way to do it. Is this really what I'm supposed to do? I see that they provide math functions and such in the event manage which sort of implies that purpose... Is there some easy way to read a value from one PLC and send it to another? Thanks.
Created Date: October 07,2016
Created by: scotbirmingham
I'm relatively new to PLC/HMI programming. I have Do More PLC for my process control and a manufacturer supplied BR-automation PLC hooked up to a piece of equipment. Both are connected to my C-More HMI by ethernet. When my piece of equipment enters it's discharge state, it turns on bit a which I can read on the HMI. When that bit goes on/off, I'd like to set Y0 on my Do-More to the same state to start/stop a pump.
Seems like I can do this with the event manager setting up events for the tag being on/off but it also seems unlikely that this is the intended purpose of the event manager or that this is really the right way to do it. Is this really what I'm supposed to do? I see that they provide math functions and such in the event manage which sort of implies that purpose... Is there some easy way to read a value from one PLC and send it to another? Thanks.
Created Date: October 10,2016
Created by: scotbirmingham
Ok, I think I 've come to the conclusion that the event manager IS the way to do this with a C-more as inelegant as it seems. Next question.... Is there any way to get the event manager to react anytime a tag changes values regardless of what it changes to or from? Pretty easy to write two event for the discharge tag mentioned above turning on or off, but the device also has an mode function which I'd also like to pass and could have 8 values. I can write 8 events to handle all the changes but it'd be great if I could say something to the effect of, "any time tag A changes, run this event. "
Found the solution in another post. Realized I could have the PLC setting a bit to "ask for data " then have the c-more monitor the bit and turn the bit off as part of it's event response when it passes data. Once data is passed the PLC sets the bit again on whatever timer interval I set. This feels like a much better solution.