ivica Posted May 16, 2023 Report Share Posted May 16, 2023 I have connected V-350 with EXF-RC15 wia CAN com and that works perfectly. But I need also RS485 between V-350 and remote display and then my CAN crashes but only in direction V350 to EXF. In direction EXF to V350 works fine. Can somebody help me. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted May 16, 2023 MVP 2023 Report Share Posted May 16, 2023 Moved to VisiLogic Forum. Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted May 17, 2023 MVP 2023 Report Share Posted May 17, 2023 Please post your Visilogic projects with normal and "corrupted" CAN configuraion with RS485 Link to comment Share on other sites More sharing options...
ivica Posted May 17, 2023 Author Report Share Posted May 17, 2023 In the meantime, I achieved communication in both directions V3350-EXFRC15, but I don't understand why the "check alive" routine on EXFRC15 shows me that the CAN connection is not established and only if I initiate RS485 in V350. I am sending the EXF program with the CAN com check routine. EXF_unican_enc_gradex.vlp Link to comment Share on other sites More sharing options...
ivica Posted May 18, 2023 Author Report Share Posted May 18, 2023 I was wrong, I steel have the same problem. When I initialize 485 I cant send data from V350 to EXFRC15 via CAN, I can only receive it in V350. Can you please help me with any suggestion. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted May 18, 2023 MVP 2023 Report Share Posted May 18, 2023 None of these might help, but are worth asking/checking. Basics sometimes go astray. 1. What baud rates are you using? And what happens if you lower those rates? I'd start at very slow ones to trial this, and then increase to the quickest stable one if the problem is cured. 2. Ensuring that you are using correct termination resistor placement on everything? If you can, please show your wiring in picture or drawing. 3. Are you using the same power supply? If not, is the remote's supply on the same phase, and - commoned? As a matter of principle, I always have anything control run from the same phase throughout an installation. In theory it makes no difference, but it's easy to do and avoids potential (you can read that both ways!) hiccouphs. 4. All earths done correctly and linked? cheers, Aus Link to comment Share on other sites More sharing options...
ivica Posted May 18, 2023 Author Report Share Posted May 18, 2023 I used 250kb baudrate in unicom and 5760 in RS485. It may be too quickly but in direction EXF to V350 it works fine. I will try to slow baudrate. The termination resistors are placed as in photo. I have tried with same and separate power supply but the result are the same. Earts are done corretly. In project I need 4 schaft encoders so I have to add EXF-RC15 for the 4th encoder. The two PLC are placed on the same rail. Everything works fine until I added RS485 to V350. shema.jfif Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted May 19, 2023 MVP 2023 Report Share Posted May 19, 2023 In this doc on p.106 you can find why your V350 stop UNICAN https://www.mikrocontroller.net/attachment/157952/VisiLogic_-_Communications.pdf Please send quastion to support@unitronics.com about possible solution and post answer to topic. I think Unit ID collision for RS485 communication appear. Link to comment Share on other sites More sharing options...
ivica Posted May 19, 2023 Author Report Share Posted May 19, 2023 I thought the same thing about ID collision. Is there any possibility of solving the problem. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted May 19, 2023 MVP 2023 Report Share Posted May 19, 2023 What Kratmel suggests makes sense but I have 120s on a Unican loop that has a 130 as the "master", and they are also using 485, and able to send and receive. Not quite the same, but in some ways close enough. I've now also opened your vlp and to me there are errors in that rung 2 should be separated out, and you actually have too much "control" of Unican going on. Try changing your method along the lines of UniCan simply doing things on it's own. I can't elaborate on this at present, lack time. More later, once I can. But I do know the Unican loop runs at 500K and the 485 on 9600. And just confirming that everything works fine, but when you use 485 to talk to the remote display it goes haywire. cheers, Aus Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now