Jump to content

doubts about the modbus vision 130 communication cable


Recommended Posts

I have doubts about how to mount the modbus cable on vision 130.
The standard rj 11 connector has 4 contacts and the plc vision connector has 6 contacts.
The same happens with the vision 130 programming cable, can it be used for modbus?

Thanks.

Link to comment
Share on other sites

  • MVP 2023

Best idea - use V100-17-RS4x isolated communication module for RS-485 connection. 6pin RJ 11 connector with two wire included. 

You can use modbus and Visilogic connection at the same time for debug (if V100-17-RS4x installed Port 1 -Visilogic connection, Port 2=Modbus communication).

rs4x.thumb.png.c9b08b35a59b513dc0ff06f09beca384.png

You can also find 6pin RJ 11 (6P6C) connector for modbus DIY cable.

03-b-1000x1000.thumb.jpg.37b3ae917ee86003b2f4cae9a840007e.jpg

 

Link to comment
Share on other sites

14 hours ago, kratmel said:

You can use modbus and Visilogic connection at the same time for debug.

Hi All,

Keep in mind that both interfaces of the same PLC COM port (RS485 at pins 1 and 6, and RS232 at pins 2,3,4,5) use the same hardware (UART) inside PLC.

So you cannot use both RS485 at pins 1 and 6, and RS232 at pins 2,3,4,5 at the same time.

BREAK signal at RS232, will switch COM port to PCOM protocol (default 7, E, 1) and will collide with RS485 interface.

Conclusion:

To use both interfaces, one by one, you have to have 2 cables:

1. RS485 interface.

2. RS232 interface.

To make project download, you have to disconnect RS485 interface cable and connect RS232 interface cable.

If PLC is a MODBUS Master - it will send MODBUS requests, which may interfer with PCOM protocol.

To solve this - stop PLC from INFO mode to download project to PLC.

Then connect RS485 interface and power cycle PLC.

 

Link to comment
Share on other sites

  • MVP 2023
7 hours ago, AlexUT said:

So you cannot use both RS485 at pins 1 and 6, and RS232 at pins 2,3,4,5 at the same time.

Therefore, please elaborate on the following:

port.jpg.6e240678e475c59e6aa210d90faee997.jpg

I have never got around to trying this out, but it appears Kratmel has.  But from what you are saying it is not possible.

cheers, Aus

Link to comment
Share on other sites

  • MVP 2023

I supplemented my previous post.

AlexUT is right that the same port cannot be used for two tasks at the same time.

It should be noted that, as Ausman wrote, physically simultaneous wiring is possible. However, the ports must actually work in turn - or connection via RS232 or RS485.

I specifically suggested the author of the topic put an additional port. This helps to avoid problems during debugging - whoever tries to do it with one port knows how inconvenient it is. Also for stable operation of modbus it is desirable to have galvanic isolation (V100-17-RS4x module with isolation, V130 port1 - not isolated).

Link to comment
Share on other sites

  • 5 months later...

Hello,

i ran into this r485 problem as well. My device is a v130 33t2, no extra cards.

My application needs only very few modbus rtu rs485 readings.  After that i want to return to the normal communication with visilogic pc.

So I am wondering: Is it possible in ladder to "undo" the modbus initialisation?  Or overwrite it somehow. I tried to do this with overwriting some SI and SB's, related to com1 status and settings.

An example of my effort: (disclaimer:-) i tried a lot, even if its not logical to do so..

 

 

reset modbus on com1.jpg

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.