Hello Again.
I am trying to program my F1616 to read the registers of my DC100 data collector trough an RS485 modbus connection on COMM2.
The register that I need to be read is 39002 of the data collector. The modbus protocol is RTU protocol. The data collectors address has been set using dip switches to 2 and has been tested with the original data collector program.
1st question. What am I missing in this code.
(initial scan I run this code)
SetBAUD 2, 3
(every second I use this code)
A = READMODBUS (12, 2,9001) ' this register is the seconds clock of the data logger
SetLCD 2,1, STR$(A)
2nd question.
Is their an LED that will tell me if I am transmitting and recieving over COMM2.
Thank you.