Micro series - ASCII

lostcontrol

Lifetime Supporting Member
Join Date
May 2009
Location
NeverSayNever
Posts
1,071
Hi,
We couldn’t find anything specific, so am starting a new thread.

I’m trying to migrate a config from a ML1400 to a micro820 & am experiencing some difficulty.
The test environment is ML1400->m820 & also serial emulator on the same 485 line.
Both the 1400 & emulator read the same data, but the micro does not .

We have done the exact same code, in that every alternate scan check for characters in the buffer via ACB.
This is alway giving a result of 1, even though there has been nothing sent.
-> This is issue #1

When there is >1 character read, execute the ARD using characters received as the count (this is different to the ML1400, but changed to make work on test environment)
-> what the issue is here, is the data received in the byte array is not making sense or reflecting what is being sent.
The expectation was that the data in each element would be the hex equivalent of the data sent, but is appearing that not the case.

The other issue is that the data is being received into the second element instead of the first .
This sort of makes sense when there is already 1x character in the buffer.

Using the ACL does not seem to clear the buffer back to 0 either .


Will post the project when back, but wanted to at least get something started on the hope that someone has come across this already
 

Similar Topics

Hi All I am having troubles with communication between plc(micro850) and hmi(Delta Dop-b) Have any one successfully did a connection between...
Replies
1
Views
2,930
We had a power outage and now I dont have a OK light or a run light, I tried to hook up to it with the laptop but it just times out. We have no...
Replies
2
Views
1,578
Hi, this is my first time using a PLC. Any assistance is greatly appreciated!!! I recently acquired a second-hand MicroLogix 1400 Series B...
Replies
2
Views
3,614
I hope there is someone out there that can help. I recently inherited 35 Magnum presses (circa 1995) that have GE Fanuc Series 90 micro PLC's...
Replies
8
Views
6,889
Hello, I am trying to set the SNP ID on a GE Series 90 micro controller. I connect to the device in PME and when connected I am not able to edit...
Replies
1
Views
1,913
Back
Top Bottom