Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DLUN

Pages: 1 [2]
16
Technical support / Re:RS 485 Modbus programming
« on: January 21, 2010, 12:38:20 PM »
I have continued to attempt to connect the the data logger. I now have LED LC2 and LC5 blinking on the board. I believe this means that I am both sending and recieving information from the data logger. However, I am trying to store those values in variable DM[1] and I am seeing now change to that memory location. Any ideas?

17
Technical support / RS 485 Modbus programming
« on: January 21, 2010, 11:06:03 AM »
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.


18
Technical support / Interface to datalogger using RS485
« on: January 20, 2010, 02:03:19 PM »
I am trying to interface a DC100 data collector to my F1616 PLC.

I have my F1616 PLC connected to my computer through the RS232 port and have successfully programed it many times. I recently connected the data collector to the F1616 PLC via the COMM 2 port (RS 485).

I have two questions.

First, how do I get the address (RS485) of my data collector and how do I test communications with it.

Second, if I want to program my PLC to collect information from the data collector, what commands should I use.

Thank you.

Pages: 1 [2]