![]() The command I am trying to do is on page 1 and is the first command with the parameter "Process Value". I have attached the pdf containing the commands. The first and last parts deal with quantity and station number. I know for read temperature I have XX-03-0002-XX because I know I am doing a read command at register 2. Does anyone have insights that could help solve this problem I see the LEDs on the Xbee light up. I have recently upgraded to Mavericks and wonder if that is the source of my issue, but now when I connect to the Xbee using Coolterm and type +++, nothing happens. A Modbus message is structured XX-XX-XXXX-XX (I am using decimal units to keep it simple). I have used this USB adapter to program my Xbee S1 units before using Coolterm. It specifies that reading temperature is at Register 2 and the function number is 03. I have a data-sheet that contains all the Modbus RTU operations for the micro-controller. The thermocouple functions separately and just feeds data to the micro-controller. ![]() The data from the Thermocouple is displayed on the screen of the micro-controller and it is read from a register using the Modbus RTU protocol. I would like to make a correction from what I stated earlier. I have included a picture of the development environment on my computer and the USB to RS-485 converter. I have very limited experience with embedded systems so any insight will be of great value. ![]() The "active" light on the USB to RS-485 is red and the "txd" light in the USB-to-RS-485 will briefly for a split second turn green when I try to interface in CoolTerm but no data will show up whatsoever. I am using a software called CoolTerm to test the connection to see if I am actually connected. My computer (macbook pro) is able to recognize it as a serial port in terminal. When I test the ex1 command (stand-alone) using CoolTerm. I purchased a USB to RS-485 converter from a company called Dtech ( ) I cannot tell if I am interfacing with this correctly. When I start the PNP machine, the CONNECT command as its first line sends the ex1 line. I am working with the modbus RTU protocol and I am trying to do this in half-duplex mode. Make sure the Baud Rate is set to 9600 (because remember in Arduino, we set it to 9600 using Serial.begin (9600) NOTE: You cannot have two Serial ports open at the same time, so you cannot view the arduino serial monitor while you are using CoolTerm. I am trying to take readings from a thermocouple and transfer them to my computer. With your arduino programmed and connected via USB and CoolTerm opened up, click OPTIONS. Hello, I am an Electrical Engineering and Computer Science student working with a biotech company on a project involving an RS-485 plc from a company called love controls ( ).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |