Communicator not consuming correct data 3/8


#1

@anonufgvmzte
Hi Ed,

You can reach back out to me though this topic or give us a call back.

Deryck


#3

Deryck,

I made some changes to the timing, and I was able to get more bits into the log file. I am still not getting all the bits. Attached is are 2 log files (the one you saved on my desktop and the one I created later with more time the message delimiter).

Ed

Ed Jaegler

Electrical Controls Engineer

Perry Way Foods

Direct: 920-245-9339

Cell: 608-516-1708

Jaegler2016

log.txt (1.34 KB)

log1.txt (7.27 KB)


#4

Hi Ed,

The delimiter is not going to have any effect on serial data/log, it effects the timing for when a message is considered complete. I am still wondering if you are having issues with the serial side since the log data does not match the data you are expecting. Do you have any way to confirm the data coming from the device matches what you see in the log?

Deryck


#5

Deryck,

I have the device connected to a different computer, and the data is coming through correctly. I am in the process of ordering another unit to do more testing at my station. I should have the device next week, but I will not be in the office (I am at a different site for the week).

Thanks,

Ed

Ed Jaegler

Electrical Controls Engineer

Perry Way Foods

Direct: 920-245-9339

Cell: 608-516-1708

Jaegler2016


#6

Hi Ed,

I am not sure i follow, was the issue with the PC?

Deryck


#7

Deryck,

No, the issue was not with the PC. I have 2 B&B VESP211-232 device (Advantech) devices. One of the devices is a server, that takes the RS-232 Data and converts it to ethernet. The other device is set up as a client, and it takes the ethernet data and converts it back to RS-232. I have a computer program that reads that RS-232 data, and then displays it. I am trying to bring that data into a PLC so I can track and store that data in a SCADA system.

So, when I connect the VESP211-232 device to the Anybus communicator (what we were looking at), the data was not correct, but when I connect the VESP device to my computer via serial, I can see the data correctly. I do not know if I have a setting messed up in the Anybus device or not.

I ordered another VESP211-232 device this afternoon, and I should be receiving it next week, but I will be out of town the entire week. I can respond back once I get the device up and running. I should have more time to tread and log data also.

Thanks,

Ed


#8

Hi Ed,

Thanks for the response, Let me know how it goes. I recommend checking the baud rate or number of data bits, these being wrong could give you data while still being wrong.

Deryck