RS232 dual connection, does it exist?

LowRange

Member
Join Date
Jun 2016
Location
Omaha
Posts
52
I'd like to connect my laptop AND proface HMI to an SLC 5/04 1747 L541 so I can look at the bit address of some of the HMI buttons. I don't have access to whatever software is used with Proface HMI to look at the button addressing so I'd like to connect to the controller, smack a button and see which instruction, on what ladder in which rung, goes true. The purpose here is to create a Factorytalk View ME application and get rid of the Proface HMI and replace it with a PVP+ 1000 using the existing RSlogix 500 project.

The problem: I've got only the one rs232 serial port and two things can't be trying to talk through it at the controller at the same time. What's the workaround you guys typically use to deal with this? Is there some way to track whether an instruction has been toggled (by HMI) from a true to false state? I dunno maybe, upload a copy of the project, save it, connect to the HMI, push a button and then upload another copy of the project and use the compare tool to compare the two copies of the project?

I'd like to push a button on the HMI, disconnect the HMI from controller, connect the laptop to the controller and see what the HMI button has changed in the Rslogix 500 project.
 
buy a usb to rs232 adapter...keyspan is popular

I have one. It is how I connect the laptop to rs232 serial. I want to have both the laptop and HMI talking to the controller at the same time but the controller only has one rs232 serial port and that serial port is its only means of communication.
 
You may be able to find a used 1770-KF2 on E-Bay as an stop-gap solution. You can then set your PC on the DH+ side.

Don't know if I'd use it in an always-on activity, as it would be used, but this may give you other options.
 
Your other option - which will be more painful, but free - is some diagnostic code in the PLC. For each bit in the PLC that you know is attached to a button, write some code like this...
Code:
|  Button_1      Button_1_Pressed
|----| |---------------( L )--|
|
|  Button_2      Button_2_Pressed
|----| |---------------( L )--|
|
|  Button_3      Button_3_Pressed
|----| |---------------( L )--|
|
|  Button_4      Button_4_Pressed
|----| |---------------( L )--|
|
Then connect your HMI to the PLC, press a button, connect your laptop back in, and see which latch has been set.

Painful, because you have to do it one at a time, and go online/offline between each test. But it doesn't require any extra hardware.

Just remember to toggle the latched bits back off before you run the next test, to avoid confusing yourself ;)
 
If the driver running in the SLC5/04 is a DF1 half duplex master than you could use an RS232 splitter and create a DF1 half duplex slave driver in RSLinx (then use RSLogix 500) but the driver in the SLC would need to be configured to talk to the node number in the HMI and the node number you would set up in RSLinx. However, it’s very unlikely that the driver in the SLC is a DF1 half duplex master. It’s probably a DF1 full duplex driver in which case it will only talk to one other DF1 full duplex device (the HMI). What you need is a USB to DH+ adaptor (1784-U2DHP) so that you can run DH+ in RSLinx and use that to get into the SLC. That being said, it would be cheaper to replace the SLC5/04 with an SLC5/05 which would give you an Ethernet connection to the processor. That would also give you the option of connecting the PV+ to the SLC via Ethernet. The 1784-U2DHP sells for around $1500.00 to $1700.00 which is a… well I’ll let you decide what to call that.
 
Your other option - which will be more painful, but free - is some diagnostic code in the PLC. For each bit in the PLC that you know is attached to a button, write some code like this...
Code:
|  Button_1      Button_1_Pressed
|----| |---------------( L )--|
|
|  Button_2      Button_2_Pressed
|----| |---------------( L )--|
|
|  Button_3      Button_3_Pressed
|----| |---------------( L )--|
|
|  Button_4      Button_4_Pressed
|----| |---------------( L )--|
|
Then connect your HMI to the PLC, press a button, connect your laptop back in, and see which latch has been set.

Painful, because you have to do it one at a time, and go online/offline between each test. But it doesn't require any extra hardware.

Just remember to toggle the latched bits back off before you run the next test, to avoid confusing yourself ;)


Very clever. This is exactly why PLCs.net is my go to PLC and MHI resource. I have few N7 address that are suspect and throwing in a latch instruction would allow me to sort out which one correlates with each button. Thank you.
 
if you also added a timer after each latch then you could press each button then wait a second or two then press the next button, do this for all buttons before disconnecting the HMI.
Code:
| Button_1 Button_1_Pressed
|----| |---------------( L )--|
|
| Button_2 Button_2_Pressed
|----| |---------------( L )--|
|
| Button_3 Button_3_Pressed
|----| |---------------( L )--|
|
| Button_4 Button_4_Pressed
|----| |---------------( L )--|
|
 
I would call your AB distributor and see if you can borrow a Logix rack Ethernet card and a DHRIO card. Most of the PLC experts keep them on hand. Then just use that as a gateway to get to the PLC over Ethernet to DH+.
 

Similar Topics

i have an device which can support serial (RS485,RS232),CAN protocol . i want to connect it to an existing MIB 1553B bus ,what device will I need...
Replies
0
Views
99
Hello: I have to connect a RS232 Modbus RTU slave that only has Tx, Rx and GND signals to a Modbus RTU master. However, all RS232 to RS485...
Replies
3
Views
240
Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
732
I have wasted a week trying to figure out how to connect an SLC5/03 with my laptop. I do not have and can not Buy the 1747 UIC and PC3 cables. I...
Replies
14
Views
2,563
I'm trying to manually convert a Beijer E200 HMI project onto to a new Mitsubishi GOT gs2107-wtbd. The PLC is a very old A-series AS1CPU and is...
Replies
1
Views
387
Back
Top Bottom