T J SHARON

OMRON CJ2M-CPU13 - Serial port communication

10 posts in this topic

Hi to all,

I have two queries about CJ2M-CPU13.

1) Can i use the in built serial port (RS232C) to the GUI or HMI?

2) Can i use the in built serial port (RS232C) to connect two CJ2M-CPU13s?

I have only limited experience and knowledge in the PLC. I would like to see a step by step instruction video or tutorial notes. 

If any of you any information pls share and help me.

 

Appreciate all help and thanks.

 

Share this post


Link to post
Share on other sites

Welcome to the forum.

Only one device can be connected to RS232.

1) Yes you can connect to a GUI or HMI.

2) Yes.  Please see information on Serial PLC Link in the W472 manual.

gtsuport

Share this post


Link to post
Share on other sites

 As i said i am using 2x CJ2M cpus.

I set 1st one as master and second as slave  connected via serial cable ( wiring as per the manual).

how can i check whether they are connected or communicating?

 

 

 

Share this post


Link to post
Share on other sites

Hi all,

My serial cable as attached pic.

I used this program  as below. 

But when i use simulator i can see hexa output in 3100 & 0000. But when i go online, i cant see the output on 3100.

My objective of this project is to give some inputs in cpu and get the output from cpu2.?

wiring.PNG

prgm1.PNG

prgm2.PNG

Share this post


Link to post
Share on other sites

You will need to use the Data Link Area of memory for the communication to work.

Data Link Area is CIO 1000 to CIO 1999.

gtsuport

Share this post


Link to post
Share on other sites

hi 

Thanks a lot gtsupport.

Do you have any sample program. 

( sorry , i dont have that much experience in PLC linking).

Share this post


Link to post
Share on other sites

I  am using 2CPUs.  CPU1 is physically connected to ID231 , and CPU2 is connected OD232. I tried to connect them via serial comm ( CPU1 as master and CPU2 as slave) and connect laptop to CPU1 for programming. when I went online, CPU1 detects ID231 ( 0000) which is correct, but CPU2 detect also ID231 (0000) . i tried to  change manually the slot , but shown error while uploading.

I connected laptop  to CPU2 and tried to get i/o info online,  then OD232 detected.

Any idea why OD232 wasn't detected while  connecting CXONE to CPU1 and two CPUs are serially linked.

 

 

 

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