Serial Communication

Hi.

I have a problem with our IRB 4600 running RW5.12_04.00.4003.
For some reason the robot cant read strings from com1 unless I send 200+ characters over the channel. It doesn’t seem to matter if I send CR+LF or EOF (Tried a bunch of different delimiters). However if I spam the robot with data it starts going through. Writing on the serial channel however seems to work just fine.

Settings:
Baudrate: 9600
Parity: None
Number of bits: 8
Number of stop bits: 1
Flow control: None
Duplex: Full

(Both PC and Robot have the same settings)

I get the feeling that it is buffering the data, but not returning it unless the buffer is full.
I’m using the following test procedure.

[CODE] PROC SerialTestProc()
VAR iodev comIn;
VAR string sValue;

Close comIn;

Open “com1:”, comInRead;

ClearIOBuff comIn;

WHILE TRUE DO
sValue := ReadStr(comIn, Delim:="A"Time:=30);
TPWrite sValue;
ENDWHILE

Close comIn;
ENDPROC[/CODE]

Anyone got any ideas?

I am having this exact same problem. Does anyone have a solution for it?

It has been working great for a week and now it does not read anything until you type in 200+ characters.