I have a program that is using a CR850 as a modbus master for a Teledyne 400e ozone monitor and T703 ozone calibrator. I am getting all of the parameters to come in no problem except for one. The input register for this parameter is 0 as given by the Teledyne 400e manual found here: http://www.teledyne-api.com/manuals/04316F_400E.pdf Page A-29. I believe the issue comes from the parameter having register 0 but am not sure how to factor that into my program. The corresponding lines are included below:
Socket400=TCPOpen ("10.0.0.120",502,0)
Socket703 =TCPOpen("10.0.0.140",502,0)
ModbusMaster (Result,Socket400,115200,200,4,Shop400E(1),0,1,2,50,1)
ModbusMaster (Result,Socket400,115200,200,4,Shop400E(2),2,1,2,50,1)
ModbusMaster (Result,Socket400,115200,200,4,Shop400E(3),6,1,2,50,1)
ModbusMaster (Result,Socket400,115200,200,4,Shop400E(4),10,1,2,50,1)
ModbusMaster (Result,Socket400,115200,200,4,Shop400E(5),18,1,2,50,1)
ModbusMaster (Result,Socket400,115200,200,4,Shop400E(6),40,3,2,50,1)
ModbusMaster (Result_703,Socket703,115200,100,4,Shop703(1),2,2,2,50,1)
ModbusMaster (Result_703,Socket703,115200,100,4,Shop703(3),12,4,2,50,1)
ModbusMaster (Result_703,Socket703,115200,100,4,Shop703(7),22,1,2,50,1)
Thank you for your help with this!