News:

  • August 27, 2026, 09:24:50 AM

Login with username, password and session length

Author Topic: BRX Serial Port  (Read 19707 times)

pbw

  • Hero Member
  • *****
  • Posts: 127
BRX Serial Port
« on: September 17, 2018, 09:43:18 AM »
I have 2 BRX PLCs on seperate networks connected to my computer.
They both run the same code so when I make a change I update both of them. The problem is that when the system configuration gets loaded the serial internal serial port defaults back to rs-232.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #1 on: September 17, 2018, 11:01:35 AM »
What do you mean "defaults back to RS232"? The config is showing correctly, but the port is behaving wrong? Or the config is reverting to RS232?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Serial Port
« Reply #2 on: September 17, 2018, 06:23:16 PM »
The config is reverting back to rs-232.
Say I'm working on PLC a and make a change, write to plc, save to disk, disconnect from plc a, connect to plc b, write to plc b , the code does not work because the PLC's port will have been switched to RS-232 even though it was set to RS-485 before.
All other configs load correctly from the plc like IP address and Port Protocol.
« Last Edit: September 17, 2018, 08:22:49 PM by pbw »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #3 on: September 18, 2018, 10:21:32 AM »
Are the PLC types different?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Serial Port
« Reply #4 on: September 18, 2018, 05:26:40 PM »
Yes, a 36 and a M series.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #5 on: September 19, 2018, 10:35:25 AM »
My guess is that when it is resolving the differences between the -M and -36 it is reverting the serial port settings to default. It really shouldn't do that, but the process of resolving CPU differences is essentially the same regardless if which CPUs you are moving from/to, and even though the -M and -36 are highly compatible, the -M and an H2 are not. It may be an easy fix, and it may be deceptively difficult.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Serial Port
« Reply #6 on: September 19, 2018, 01:27:25 PM »
No big deal, is there a danger of blowing a driver chip by having the incorrect port type?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #7 on: September 19, 2018, 01:28:49 PM »
No big deal, is there a danger of blowing a driver chip by having the incorrect port type?

I doubt it. I've hooked them up/set them up wrong many times with no bad results.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Serial Port
« Reply #8 on: September 19, 2018, 02:48:14 PM »
Haven't released any magic smoke either.
Thanks for your help.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #9 on: September 19, 2018, 02:59:52 PM »
Magic smoke is best left inside the parts. Very few work correctly without it.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Serial Port
« Reply #10 on: September 19, 2018, 07:57:37 PM »
Maybe Host should produce some of these https://en.wikipedia.org/wiki/Magic_smoke#/media/File:Magic_smoke_refill_(5990429717)_(2).jpg   
I could have used it on my first BRX, a 36 series, had a rats nest going on and shuffling stuff around and shorted the 24 volt output. I refuse to connect anything to it anymore.
« Last Edit: September 19, 2018, 08:04:25 PM by pbw »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #11 on: September 19, 2018, 08:52:44 PM »
Shorting the 24v killed it? The P/S should shut down without releasing the smoke.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: BRX Serial Port
« Reply #12 on: September 19, 2018, 11:06:47 PM »
It probably did. It happened while I was out of the office, somebody moved it around, shorted it out and it remained like that for the a couple hours. When I came back it was emitting  a high pitched sound and the CPU refused to boot.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3626
  • Darth Ladder
Re: BRX Serial Port
« Reply #13 on: September 24, 2018, 01:27:17 PM »
It probably did. It happened while I was out of the office, somebody moved it around, shorted it out and it remained like that for the a couple hours. When I came back it was emitting  a high pitched sound and the CPU refused to boot.

So you're saying the BRX can be field-repurposed into an audio synthesizer?? Impressive!
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6174
  • Yes Pinky, Do-more will control the world!
Re: BRX Serial Port
« Reply #14 on: September 24, 2018, 03:28:00 PM »
Feature! Hmmm...need to talk to marketing.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO