Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 04:29:32 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Machscreen Screen Designer (Moderator: Klaus1311)
| | | |-+  Modbus DRO
Pages: 1   Go Down
Print
Author Topic: Modbus DRO  (Read 488 times)
0 Members and 2 Guests are viewing this topic.
Romanr9999
Active Member

Offline Offline

Posts: 18


View Profile
« on: November 08, 2010, 08:02:21 PM »

Iīm working in a resin dispensing machine that uses Mach3 and has  a PLC to control some machine functions.
One functions the PLC controls is a variable speed resin pump. I need to control the pump speed from within a Mach3 screen.
The idea is to have a DRO in the screen with the pump RPM and be able to send this value to the PLC via modbus. The RPM value should be a discrete value going from 1 to 100.

I understand how to use modbus for bit signals (like a sensor on-off status) but I donīt get how to use it for discrete values.

Any leads to point me in the right direction would be greately appreciated.
Thanks.
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #1 on: November 24, 2010, 08:25:31 PM »

since your using output values, use OUTPUT HOLDING on the serial plugin modbus set up (note it will be a integer).
then in brian, map your DRO99 through a formula A*100 then to you serial plugin modbus config, local var as your termination.

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!