Hi,
I try to configure the rs-232 port on my controller (LR mate 200iC, V7.40). If i use the TP menu (Menu/Setup/PortInit) I only can change Baudrate, Parity, StopBit. But I also need to change to 7 or 8 bits data communication, Xon/Xoff.
So by using Karel, I can use the command SET_PORT_ATR and GET_PORT_ATR to get access to all these config, but I don't work.
The following line :
stat=SET_PORT_ATR(PORT_2,ATR_DBITS,DBITS_8)
return 17036 in the Stat variable
The following line :
stat = GET_PORT_ATR(PORT_2,ATR_DBITS,atr_value)
return 17036 in the Stat variable
So, how must I use these command???
AND
Where can I found the signification of the Status 17036???
Thanks