Jump to content

Recommended Posts

If you're using an external USB converter, it must have the Prolific PL-2303 chipset.  The FTDI chipset doesn't seem to work.

The SM35 has a USB port that is much easier to use - get yourself a USB to Mini cable.  The driver for the USB port is included as part of the Visilogic software installation - click on the last tab in the Communication dialog with the USB symbol to install it.  There's also a handy link to the Device Manager to determine which COM port is assigned (you have to be plugged into the SM35 for this to work).

The baud rate is usually 115200.

Joe T.

Link to post
Share on other sites
39 minutes ago, Ausman said:

What are these exactly?  They are the likely cause of issues if not correct/good enough.

cheers, Aus

Whilst I'm confident of the USB-RS232, I did have a closer look at the DB9 - RJ11 cable and I'm not convinced the wiring is right. I've ordered some different bits from RS and will have a play with those before whining further! 

In my experience, 90% of automation faults are cable not plugged in, cable broken or something needs a power cycle...

23 minutes ago, Joe Tauser said:

If you're using an external USB converter, it must have the Prolific PL-2303 chipset.  The FTDI chipset doesn't seem to work.

The SM35 has a USB port that is much easier to use - get yourself a USB to Mini cable.  The driver for the USB port is included as part of the Visilogic software installation - click on the last tab in the Communication dialog with the USB symbol to install it.  There's also a handy link to the Device Manager to determine which COM port is assigned (you have to be plugged into the SM35 for this to work).

 

Sadly Joe, whilst I appreciate your support, you are mistaken. It seems a USB connection is offered on every Samba and Vision PLC except the SM35! Trust me - had it had a USB connection, I wouldn't have gone down the RS232 route in the first place...

Gonna have a play with cables as above, thanks for the ideas anyway, I'll come back if it's still no bueno... 

 

Link to post
Share on other sites
19 minutes ago, Joe Tauser said:

Maybe this will help - 

image.png.2648d72cf46ac82a69f5844fb76cb6da.png

Yep that certainly does help, since bizarrely they don't include that table in the Samba manual (only a more basic pin-out).

That said, I have no real way of wiring both pins 2 and 5 on the RJ11, to pin 5 of the DB9.
I don't suppose you happen to know if there's an alternative pin I can wire to, to achieve ground?

 

Link to post
Share on other sites

The Samba "manual" is really a datasheet.  You have to dig deep into the Visilogic Help to find useful information. This particular tidbit is under "modems".

The Unitronics cable uses a flat telephone-style cable on the PLC side and plugs into an RJ11->DB9F adapter (part number MJ10-22-CS25).  They connect RJ11 pins two and five together inside it.   The PLC programming cable is a piece of flat four conductor jammed into RJ11 connectors and crossed-over between them.  It's easy to make one if you have the parts and the crimper. 

This picture shows a V120, but all the com ports are the same-

image.png.036636ba7e6522e8b576677e33d6f00a.png

 

To answer your question, 2 and 5 should be tied together on the RJ11 inside the Samba, but I'd verify that with an ohmmeter and an RJ11 pigtail plugged into the Samba.  So you should only have to connect one of them to pin 5 on the DB9.

The part number for the whole programming cable with a -CS25 adapter is RS232-CB1.

Joe T.   

Link to post
Share on other sites
On 7/25/2020 at 6:46 AM, Joe Tauser said:

The part number for the whole programming cable with a -CS25 adapter is RS232-CB1

This is annoyingly not alluded to anywhere on the product website or in the manual...

So after all the chat, I found one on eBay for $5 and bought it

Thanks for the pointer towards the Visilogic manual. I ought to know better than to expect automation manufacturers to have user friendly websites.

Link to post
Share on other sites
On 7/25/2020 at 8:45 AM, de003 said:

had it had a USB connection, I wouldn't have gone down the RS232 route in the first place...

de003, FYI, LOTS of things with "usb" connections are just a tiny variation on an item that used to have a 232 port, but now have an onboard usb converter fitted to make them more "use friendly" to people who expect connections to be simple.  The trouble is that most of those items will install drivers that completely stuff up current drivers that are working perfectly.  It is a bit of a minefield and something to be aware of every time you plug something industrial looking into your puter.  System restore etc is a must before doing anything.

Some of Unitronics info is squirreled away, but most is there if you look hard enough.  All by easily navigating a screen.  Be thankful you're not looking through large paper books like us oldies had to, to learn stuff.  📖 👓     I have a few bookcases full of such stuff.

cheers, Aus

Link to post
Share on other sites
12 hours ago, de003 said:

I ought to know better than to expect automation manufacturers to have user friendly websites.

Very, very true.  That is why I do my best to at least have a user friendly forum.  That's all I have control over.

Joe T.

 

Link to post
Share on other sites
On 7/27/2020 at 11:43 PM, Ausman said:

de003, FYI, LOTS of things with "usb" connections are just a tiny variation on an item that used to have a 232 port, but now have an onboard usb converter fitted to make them more "use friendly" to people who expect connections to be simple.  The trouble is that most of those items will install drivers that completely stuff up current drivers that are working perfectly.  It is a bit of a minefield and something to be aware of every time you plug something industrial looking into your puter.  System restore etc is a must before doing anything.

That's a very valid point. I think the unfortunate downside is that so few computers are shipping with anything other than USB for serial ports. In my last job I had to manage servers which outputted RS485 for motion control from USB cards (made in-house). It was really important to keep the server off the internet when connecting hardware for that exact reason, Windows would try and download some 'closest thing I can find' driver from the internet, replacing the manually installed actual driver automatically.

Quote

Some of Unitronics info is squirreled away, but most is there if you look hard enough.  All by easily navigating a screen.  Be thankful you're not looking through large paper books like us oldies had to, to learn stuff.  📖 👓     I have a few bookcases full of such stuff.

Oh don't worry I've done my fair share of paper manuals... a lot of my job is repairing and revitalising very old, obsolete systems which may or may not be provided with documentation. That'll often be a case of meeting a 'technical manager' who's far from technical, and him scratching his chin for 5 minutes before bringing me a pile of lever-arch folders full of disorganised print-outs with an inch of dust collected on top, which the installer provided with the system in 1995 and have been kept 'just in case we ever need them'. ...

Link to post
Share on other sites
  • 1 month later...
18 hours ago, Ronald_Escuza said:

i can access other plc with same cable and pc.

To me this sounds like the cable or socket is a bit suspect.  Even though it works on another plc, there is not much room for error on usb pins and perhaps the ones on the offending 350's socket are slightly distorted and not connecting properly to the cable you are using.  Or the cable pins are the same issue.  First try another cable.  If no luck, with power off and a very fine hook probe, you can sometimes "tweak" usb pins in sockets and plugs.

cheers, Aus

Link to post
Share on other sites

You can check this system bits if you have Ethernet connection possible.

If USB port is found - then it is powered from PC. If cable communication pin is connected SI 113 = 1

usb_1.JPG.6c138fcd32645d816b6ac35bb80ffca6.JPG

And if in V350 program is used com init block and this option is selected you maybe can't send  break signal from USB port for start communication

usb_2.JPG.3af9a4a4148cadc7f385588122be6f75.JPG 

 

Link to post
Share on other sites

Kratmel, I'd love to see what comes up on SI113 if the cable only has a suspect data line.  I can't experiment on this concept due to only keeping non-usb models.  Many gizmos only seem to see the power lines as proof of connection.

Vaguely knowing the Kratmel WorkCave, I think you could play with this concept quite easily to find the answer!     

Cheers, Aus

 

Link to post
Share on other sites
14 hours ago, Ausman said:

....WorkCave

experiments result for V350 and V1040 OPLC:

1) SB112 on both fixed with 0 in all condition (maybe some Unitronics staff can explane how this bit react);

2) SB113 =1 if USB port on PLC is powered from PC or other device (i test with PC usb and 5V smartfone charger);

3) if    Ignore Break checkbox is NOT selected on port1 configuration in project or in PLC INFO MODE it is possible to connect to PLC via USB

on all present speed in Communication & OS menu.

(Please note that correct com port must be selected - see for correct one  in PC Device manager. It must be lost and found if PLC to PC USB cable disconnect an connect.)

4) If Ignore Break checkbox is SELECTED - error (206) is appear if i try to connect to PLC via USB  when  communication setting  is not the same ( changed

via info mode or inside project COM port1 configuration).  

5) I configure COM port1 to 9600, 8n1 via project, select Ignore Break checkbox - then download to PLC for example on 115200speed.  After that i can connect to the PLC only on 115200 speed.  All another speed select in Communication & OS menu - error (206).

 

Link to post
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...