Matsuo

How to send data from PLC to PC through Host link mode?

4 posts in this topic

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

dwP

       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 by Matsuo

Share this post


Link to post
Share on other sites

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
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 :-2

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now