cx-one txd problem

elessarsst

Member
Join Date
Jan 2011
Location
Expansion Socket
Posts
5
Hi all!

I'm trying to send 1 byte data to pc with CP1E-N built-in rs-232

I've connected right pins as omron plc needs.

Now here is the situation:
Code:
D0017 = #00ab
if send ready flag is on TXD D0017
if "some condition" move #0015 to D0017
if send ready flag is on TXD D0017

When the "some condition" is true i can monitor that D0017 has been changed to #0015 it is ok. But It stops Transmitting.

I'm stuck here please help.
 
What device are you trying to communicate with?

Please post your cable pin out.

How is the TXD instruction programmed?
Need to understand the control word settings.
Also the number of bytes can trip you up.

How is the RS232 port configured in the PLC settings?
 
Communication is between "CP1E-N30DR-A" and "OEM PC Com Port"

Rs-232 Configuration is :
9600,8,N,2
Mode: Rs-232C
Start Code: Disabled
End Code: Received Byte=1
Delay: 0 ms

My TXD setup D word is: D20=0101
My RXD setup D word is: D0=0101
My TXD send D word is: D17=0034, 0035, 0036 (I change it with mov)
Results for:

PLC ===> PC
0034 ===> 0020
0035 ===> 0020
0036 ===> 0024

My wire setup is:
datacablelinkrs232c.jpg


My application is:

82965134.jpg
 
Last edited:
What program are you running on the PC to read the com port?

My thought is you may need to set an End Code for the PLC port so the PC knows the string is complete.
 

Similar Topics

Hi all I can successfully send data to plc with built-in RS-232. But Transmit signal is not far enough. Baud Rate : 9600 or 38400 (38400 made it...
Replies
1
Views
3,070
I have a big problem when I install 2 1784-PKTXD on desktop. Desktop: Compaq PII, Windows NT 4.0. I setup the jumper 2 and 3 for 1784-PKTXD, 5...
Replies
8
Views
2,718
Dear all, I had a 1784-PKTXD card which run on Windows XP platform PC. It received signal from SLC processor via DH+. However, I can't config...
Replies
3
Views
3,408
Hi All, Quick question....I have a problem after installed 1784-PKTXD on the desktop. When I configured this PKTXD on the RSLinx, there is a...
Replies
2
Views
2,019
Hello, I have problem using TXD in port 1 Omron CP2E. The A392.05 is at ON state after powering up. But the moment I hit 0.01 switch to initiate...
Replies
0
Views
484
Back
Top Bottom