Posted 20 Nov 2018 (edited) Hi I'm beginner from plc programing, I need to sent data (D0000-D0010) to PC through Host link mode . i just sent data from PC to PLC with command serial port is work only like below PLC_Serial.println("@00SC0252*");//sent to monitoring mode PLC_Serial.println(CalcFCS("@00KSHR 004500"));//set H45.00 to hight PLC_Serial.println("@00SC0352*")//sent to run mode but PLC to PC i don't know how to do . Could you advise me ? Thank you. Edited 20 Nov 2018 by Matsuo Share this post Link to post Share on other sites
Posted 20 Nov 2018 The SEND instruction can do that. The Instruction Manual of that instruction describe the Host Link mode pretty well. That instruction only available for CP1L series and above though. You cannot use it with CP1E. Share this post Link to post Share on other sites
Posted 21 Nov 2018 8 hours ago, innoaloe said: The SEND instruction can do that. The Instruction Manual of that instruction describe the Host Link mode pretty well. That instruction only available for CP1L series and above though. You cannot use it with CP1E. Thank you for advise me Share this post Link to post Share on other sites
Posted 21 Nov 2018 Another option to get information out of the PLC is to use another program in the PC to request the data. Here are a couple of options: AdvancedHMIhttps://sourceforge.net/projects/advancedhmi/ Here is an example of communication using the CP1H:https://accautomation.ca/omron-cp1h-advancedhmi-communication/ Video - https://youtu.be/5_FZ61Ep6u0 VB6https://accautomation.ca/how-to-implement-the-omron-plc-host-link-protocol/ VBAhttps://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ VB.Nethttps://accautomation.ca/implementing-the-omron-host-link-protocol-vb-net/ CX Server DDEhttps://accautomation.ca/implementing-the-omron-cx-server-dde-and-excel/ Hope this helps you out. Regards, Garry Share this post Link to post Share on other sites