1
Mach4 Toolbox / Re: M4 Serial and TCP Modbus tutorial using an ADC DL06 PLC
« on: December 30, 2014, 03:20:19 PM »
Scott,
Thank you for creating the modbus tutorial. It has been extremely helpful. I'd like to display a 32 bit accumulating timer value in a DRO. I've converted the value from BCD to binary in the PLC and am reading the two registers in Mach. I then plan to use WriteReg("iRegs0/doubletimerval", ?); This is where I am stuck. I am not sure how to format the write register command so that it feeds timer1 and timer2 into the Mach register as a double word. Any help would be appreciated. Thanks again.
Thank you for creating the modbus tutorial. It has been extremely helpful. I'd like to display a 32 bit accumulating timer value in a DRO. I've converted the value from BCD to binary in the PLC and am reading the two registers in Mach. I then plan to use WriteReg("iRegs0/doubletimerval", ?); This is where I am stuck. I am not sure how to format the write register command so that it feeds timer1 and timer2 into the Mach register as a double word. Any help would be appreciated. Thanks again.