Strange thing is that I am able to read outputs from the VFD using same Brain. Then why it wouldn't read from the PLC? Again, what's most strange is that I can read the PLC inputs using the Test window in Mach3. Only doesn't work fro a Brain.
An Atmel processor (on an Arduino MEGA development board) is used for data acquisition only and the data (sensor reads) that is collected on each run is sent over a serial connection to a program on the PC for the calculations.
Is it a commercial program or some code of your own?
Great screens! Really well made! How do yo change the font of the DRO's? I downloaded your files, but here it doesn't show that font. I saw you included the font file and I did install it, but it still doesn't show in the DRO's.
Have a strange problem. For some reason I can't read a PLC output using a Brain. Can write to a PLC with a Brain, but can't read. It reads fine using the Modbus test window in Mach3, but not from within a Brain. Any idea what could be the reason? Attached screenshots of the Modbus settings and the Brain.
Need some help with setting a toolchanger via modbus. Just can't get my head around this. All the toolchange sequence is going to be handled by the PLC, only need to send a command to initiate a toolchange and then get a confirmation from the PLC that it was successful. Now to do this in Mach3 I think I need a VB macro to send the requested tool number to the PLC and then wait for the confirmation. Have no idea how it can be accomplished with a Brain.
However, to use a VB macro with Modbus I need to use the standard Modbus, while I do need the plugin Modbus to implement other stuff, like FRO and SRO, in Brains, since as far as I know Brains don't work with the standard Modbus. Besides the plugin Modbus should be more stable as far as I know.