Sign in to follow this  
Followers 0
manowar

SCU41-V1 RS485 2-wire

10 posts in this topic

Hello. I have connected two PLC-s. PLC1 and PLC2. PLC1 is master. It is sending questions using FINS commands. If I use 4-wire RS485 communication ewerything works great. PLC1 sends question and PLC2 answer. BUT problem is if I use 2-wire RS485 comunication. In that case PLC1 send question and PLC2 answer. But PLC2 is answering until PLC1 send another question. It seems like PLC2 is in a kind of loop..... Any ideas? Have a nice day..

Share this post


Link to post
Share on other sites
Much more information needed. What are the models of the PLCS? I assume CJ1 or CS1. What Protocol is being used? (Host Link, CV Mode Host Link etc). What ladder instructions are sending the data? (TXDU, CMND, PMCR, etc) What are the port settings on the SCU cards? In general, RS485 (2 wire) is a half duplex communication system, so only one device can send at a time. RS422 is a full duplex system, where both devices can send data at the same time. This does not explain why you get into a loop. Edited by PMCR

Share this post


Link to post
Share on other sites
As what PMCR says, what PLC's are you using? There could be better implementations of what you are trying to achieve, there are Omron built in methods for doing what you want. If you give more information, then more educated help can be given.

Share this post


Link to post
Share on other sites
What are the models of the PLCS? I assume CJ1 or CS1. What Protocol is being used? (Host Link, CV Mode Host Link etc). What ladder instructions are sending the data? (TXDU, CMND, PMCR, etc) What are the port settings on the SCU cards? Hello. PLC's: CJ1M-CPU11 + SCU41-V1 (on both sides) Protocol: HostLink FINS Ladder instructions: PMCR Port settings See picture. I had the same problem before (while I was testing) but then I use CJ1W-CIF11 and it worked OK. Even if I use 2-wire link. I remember that I enabled RTS signal. But if I use PMCR the RTS signal is driven from PMCR instruction. I'm looking at ligts on SCU (send / recieve): Master sends question (Send Blink) Slave(Recieve Blinks) Slave responds (Send & Recieve Ligts up) Master recieves (Recieve Ligts) It is sending answer until master sends another question. Any Ideas? I have attached test project for master/slave communication (zip file). FINS_Comm.zip

Share this post


Link to post
Share on other sites
Hello. Just info... In ladder diagram there is selected unit=1 but in slave setting there is unit nr.=2 This was leftover from testing. So THIS IS NOT A PROBLEM.. Thank's Have a ice day.

Share this post


Link to post
Share on other sites
I have tried in 2 wire mode also, and I cannot get it to work. Can you use the 4 wire method for the application?

Share this post


Link to post
Share on other sites
Unfortunately not. Don't misunderstand me... The link works for me, the problem is, (as I wrote before) that SLAVE unit sends answer continuously until the master sends another question. With 4-wire mode everything works fine (one question -> one answer). Bye.

Share this post


Link to post
Share on other sites
Just to be sure; port switch is on 4 wire ?

Share this post


Link to post
Share on other sites
Off course...... On 2-wire is set on 2-wire on 4-wire switch is set on 4-wire.......

Share this post


Link to post
Share on other sites
As I said; just to be sure

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
Sign in to follow this  
Followers 0