About to put first object into OBEX - Can someone review it first?
pacman
Posts: 327
Well I've managed to polish my modbus object for the prop to the point where I think the laughter will not hurt too much.
Would some kind soul be able to review it before I submit it to the great unwashed?
I dont expect it to be GOLD standard - but hopefully it's not too far removed from bronze
Please be gentle - it's my first time...
Modbus_PAC - Archive [Date 2013.04.19 Time 17.03].zip
Would some kind soul be able to review it before I submit it to the great unwashed?
I dont expect it to be GOLD standard - but hopefully it's not too far removed from bronze
Please be gentle - it's my first time...
Modbus_PAC - Archive [Date 2013.04.19 Time 17.03].zip
Comments
I thought I had attached but my computer was in the middle of having a hissy fit. _Should_ be attached now.
Details will follow from Jeff Martin or Bump.
Ken Gracey
I'll update and improve based on your feedback.
(in actual fact the version I sent you had already been supersceeded as additional functionalilty had been added {now rev 0.7} soon to be 0.8 )
Looking at the data sheet my first thoughts are you could tie DE high and use D as the transmit pin, tie 'not RE' low and use R as the receive pin.
The best method would be to get one and test....
I receive characters, process them, and then transmit data. Effectively acting in half duplex mode. If there were multiple slaves then you may need to write some code to inhibit transmit when receiving data.
I have tested this with a couple of industrial modbus hosts (a prosoft MVI card being the most recent) and in each case it has functioned as a slave (for the limited amount of data I need it to 'do') OK.
Please make sure you are using the version in the OBEX, as it is the most upto date.
Cheers