
adccommunitymod (AutomationDirect) asked a question.
Created Date: December 16,2016
Created By: JimG
**** 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 have a Pro2000 and a Do-More setup on a test bench along with a C-more HMI. Every thing is communicating through an Ethernet switch (Stride, of course) I am teaching myself to program various things on this setup. Could someone post me some instructions on how to turn on an input on the Pro2000 and have it turn on an output on the Do-More. I think it is done through Modbus, but I have never done that before. Just trying to learn new things that I can use in the future. I am appreciative of any help or input. Best regards.
Created Date: December 16,2016
Created by: JimG
I have a Pro2000 and a Do-More setup on a test bench along with a C-more HMI. Every thing is communicating through an Ethernet switch (Stride, of course) I am teaching myself to program various things on this setup. Could someone post me some instructions on how to turn on an input on the Pro2000 and have it turn on an output on the Do-More. I think it is done through Modbus, but I have never done that before. Just trying to learn new things that I can use in the future. I am appreciative of any help or input. Best regards.
Created Date: December 16,2016
Created by: kewakl
I would try something like this:
Pack all inputs of input card to a S16 or S32 WORD - depending the input card.
Set a modbus address for an the S16/S32 WORD on the P2k.
Have DoMore read that holding register, break out that bit and then enable that output using the state of that bit.
This way, when you want to use another input on that card, it will already be mapped.
You could have the P2k write the value to the DoMore, but that may require knowing how the DoMore handles writing to the (secure) modbus address space.
See DoMore help topic DMD0251, subtopic Modbus Memory Blocks (about 1/2 way down the page)
You could also do it in the cmore (NOT CMORE MICRO)
You could have a pair of events that read the state of the P2k input and write to the DoMore, and have DoMore enable the output without configuring a modbus address.