Posted 4 Jan 2018 (edited) hello, i want to connect CP1E to EK300i (weighing scale) with RS232 communication. i attach file of datasheet ek300i, wiring CP1E to ek300i and my cx programmer. if i push send data on ek300i, com LED indicator in CP1E is on. and i dont know why my cx programmer can't change data of memory with data from ek300i? what should i do? ek300i.pdf CP1E to EK300i rs232 communication (belum dicoba).cxp CP1E to EK300i rs232 communication (belum dicoba).opt wiring rs232 ek300i to CP1E (belum dicoba).txt Edited 4 Jan 2018 by riandanualdy Share this post Link to post Share on other sites
Posted 5 Jan 2018 http://www.plctalk.net/qanda/showthread.php?t=98820 You are simply receiving ASCII characters on the RS232 port. This is similar to a barcode scanner input. See the above thread. Hope this helps you out. Regards, Garry Share this post Link to post Share on other sites
Posted 5 Jan 2018 (edited) Your issue is with the "End Code" settings in your RS-232C settings menu. Currently it is set to "Received Bytes of 256 Bytes". This means the "Reception Complete Flag" (A392.06) will not turn On, unless it managed to receive a total of 256 bytes, thus the RXD will never be called. If you look at the EK's manual page 22 (25 of PDF total page), you'll find the "Terminator" info which are CR,LF. These are typical End Codes used for RS-232C that informs the receiving device like PLC that EK has send the last part of it's data. So, you just need to change your "End Code" settings from Received Bytes to the "CR,LF" one, then download all programs and settings. Restarting the PLC Power after downloading might be required to make sure the new settings is implemented. You mentioned that when the PRINT button is pressed in EK, the LED in CP1E blinks, so I believe the wiring is already correct. PS : Buruan dicoba :D Edited 5 Jan 2018 by innoaloe 1 person likes this Share this post Link to post Share on other sites
Posted 13 Sep 2018 (edited) On 1/5/2018 at 11:54 PM, innoaloe said: Your issue is with the "End Code" settings in your RS-232C settings menu. Currently it is set to "Received Bytes of 256 Bytes". This means the "Reception Complete Flag" (A392.06) will not turn On, unless it managed to receive a total of 256 bytes, thus the RXD will never be called. If you look at the EK's manual page 22 (25 of PDF total page), you'll find the "Terminator" info which are CR,LF. These are typical End Codes used for RS-232C that informs the receiving device like PLC that EK has send the last part of it's data. So, you just need to change your "End Code" settings from Received Bytes to the "CR,LF" one, then download all programs and settings. Restarting the PLC Power after downloading might be required to make sure the new settings is implemented. You mentioned that when the PRINT button is pressed in EK, the LED in CP1E blinks, so I believe the wiring is already correct. PS : Buruan dicoba :D mending pake bindo aja ya bang kita bales komennya haha. Sorry for late response. i attached a file of my cx programmer, i just follow this video https://www.youtube.com/watch?v=CgKNIoM9gTE if i click print in my weighing scale, indicator comm1 is blinking but if i check memory of plc, the data cant save it to memory. setting of RS232 communication of PLC and weighing scale is same what should i do next? PLC to ek-i.cxp PLC to ek-i.opt PLC to ek-i.cxp PLC to ek-i.opt Edited 14 Sep 2018 by riandanualdy Share this post Link to post Share on other sites
Posted 14 Sep 2018 Finally i can transfer data from my weighing scale and this is my final file of cx programmer. thank you for helping me. PLC to ek-i.cxp Share this post Link to post Share on other sites