Jump to content

doubts about the modbus vision 130 communication cable


Recommended Posts

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...