Hello Guest it is April 20, 2024, 01:14:51 AM

Author Topic: Define variables and transmit them via Modbus  (Read 1828 times)

0 Members and 1 Guest are viewing this topic.

Define variables and transmit them via Modbus
« on: November 03, 2010, 12:48:27 PM »
Hi all.
IĀ“building a resin dispensing machine that uses Mach3 and also has PLC to control several functions.
One of the functions controlled by the PLC is a variable speed pump. The PLC controls the start, stop and the speed of the pump.
I need to be able to setup a speed value within Mach3 screen with a DRO in a custom screen and then send that value to the PLC via Modbus.
I already have Mach3 and the PLC talking over Modbus and I can send back and forth PLC and Mach3 I/O signals, although I have no idea about how to send a discreet value (like 1000) neither how to store that value within Mach3.
One option I thought possible is to store this value in Mach3 could be spindle speed, although I have no idea about how to send this via Modbus.