Posted 6 Jun 2016 I have a Micrologix 1400 and one PC which sends 102 Characters in RS-232. I need to read all characters with Micrologix 1400, Is there any way to read all characters? I know the limit of ARL and ARD instruction is 82 characters. I do not know if two ARD instructions could read all characters. Do you have any experienced like that? Could you help me? Thank you in advance Share this post Link to post Share on other sites
Posted 7 Jun 2016 Yes, you can do that using the ARL instruction, which reads a "line" from the buffer rather than expecting to see the whole string. Below is a screen shot of a program rung that can read a string of variable length up to 246 character strings using three cascading ARL instructions. You can play with the string length variable to control how much of the string you read in at a time. Look at the help file for more information. Share this post Link to post Share on other sites
Posted 10 Jun 2016 You are right, your program works fine. Thak you for you help. Share this post Link to post Share on other sites