Kaiezervlad

Ready flag for the rxd/txd command of cp1h

4 posts in this topic

Hello sir/ma'am im doing a project which I need a analog input to the plcand send it to a arduino, i read that i need to trigger the ready flag to my plc program, but the problem is I cant trigger it. How can I turn on that ready flag so that i can use the txd/rxd command. Thanks in advance

 

Share this post


Link to post
Share on other sites

What have you configured so far?  

Share this post


Link to post
Share on other sites

I just configure the settings of mycx programmer like this

Baud rate 9600, 8.1 N, then Rs232C.

The start bit and end bit I changed it also to what I had read to the other guides and I use a max232 also to connect the plc to the arduino.

That's all i've done I think. 

The problem that I got is the ready flag is not turning on

Share this post


Link to post
Share on other sites

The Send Ready flag is controlled by the plc.

It will be on when the port is available to send data.

Have you programmed the TXD instruction and setup the Control word of the TXD?

CP1_TXD.jpg

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