terrydeltasigmacorp.com Posted July 27, 2016 Share Posted July 27, 2016 I have a GeoBrick Drive and a Wago 750-342 Modbus Field coupler. On the Wago Rack I have 7 4pt Output cards for a total of 28 outputs. Then I have 1 4 pt input card. My problem is that I have complete control of the outputs, but I cannot find the address that lets me read the inputs. Below is a copy of Modbus setup saved file. I have added some M Var definitions at the bottom to show what addresses I am using for inputs and outputs. M5003-M5005 are my outputs that work no problem. M5006 does not read the inputs. What address should my inputs be at? ; Device # 0 [Geo Brick Drive] V1.947 11/01/2010: Ethernet Port ; Configuration saved on 07/27/16 at 17:04:51 ; ; Modbus Global socket configuration... ; WL:$10700,$100000000000,$000000000000 WL:$10703,$400000000002,$0000C0A80103 WL:$10706,$000000000202,$000000000000 WL:$10709,$000000000202,$000000000000 ; Global Timers... WL:$1070C,$0000000007F4 ; socket 1 commands WL:$10710,$57000201002A WL:$10711,$000000020028 ;I67 = $10700 ;Addr offset = 112 ;FC=23 ;FC23 Write Modbus Ref = 0 ;FC23 Write PMAC Ref = 40 ;FC23 Write Count = 2 ;FC23 Read Modbus Ref = 2 ;FC23 Read PMAC Ref = 42 ;FC23 Read Count = 1 ;M5003->X:$10794,0,16 ;M5004->Y:$10794,0,8 ;M5005->Y:$10794,8,4 ;M5006->X:$10796,0,4 Link to comment Share on other sites More sharing options...
Gregs Posted August 1, 2016 Share Posted August 1, 2016 I believe that the inputs are at X:$10795, not $10796. Link to comment Share on other sites More sharing options...
terrydeltasigmacorp.com Posted August 2, 2016 Author Share Posted August 2, 2016 I believe that the inputs are at X:$10795, not $10796. I tried that too. No luck. If I set M5006->X:$10795,0,4, I cannot write to M5006 without it being immediately set back to 0. Which tells me it is being written by the Modbus, but it never changes from 0 when the inputs are activated. Link to comment Share on other sites More sharing options...
Gregs Posted August 2, 2016 Share Posted August 2, 2016 Based on the attached table from the Modbus Definitions and Design document, I think you need X:10795,8,4.Modbus Definition & Design-Regs.doc Link to comment Share on other sites More sharing options...
Recommended Posts