1
Modbus / Re: Serial ModBus Send Analog Value to PLC w/ Brains
« on: September 16, 2012, 07:02:13 PM »
Wow, that works! What I did was set my Brain to get position as desired AND feed-rate equal to zero. Then I added a formula after that being = A * (Desired Value in Decimal) and then terminated with "ModBus" terminator, set to Output, Register 64 and checked Serial non-plug in.
When my tool axis comes to the right location and stops, the full integer gets placed in the PLC register as desired and I get my 4-20mA signal out of the PLC.
Thank you!!! I was already starting to punt and write a mountain of ladder logic to do all this in the PLC.
When my tool axis comes to the right location and stops, the full integer gets placed in the PLC register as desired and I get my 4-20mA signal out of the PLC.
Thank you!!! I was already starting to punt and write a mountain of ladder logic to do all this in the PLC.