Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dwight.arrants@tstc.edu

Pages: [1]
1
Support Questions / Serial port sharing RSLinx, AdvancedHMI
« on: July 21, 2021, 12:33:21 PM »
Hi All,
I'm not sure if this should be simple and I am just missing something, or if this is impossible, or someplace in between.
I am trying to use RXLinx and AdvancedHMI at the same time.
Setup:
1 PC with 1 serial port (COM1) running both AdvancedHMI and RSLinx.
1 Micrologix 1100, also with 1 serial port.

I am using com0com to create virtual serial port pairs.
Trying to use hub4com to share the one physical port.

Following allows RSLinx to function properly, but AdvancedHMI not working:
(sub PLC for GPS)
===============================
You have a GPS device that connected to your computer via a phisical COM1
port and you'd like to handle its data by two GPS applications. You can
do it this way:

  1. With the com0com's Setup Command Prompt create COM5<->CNCB0 and
     COM6<->CNCB1 virtual COM port pairs (see com0com's ReadMe.txt for
     more info). For example:

       command> install 0 PortName=COM5 -
       command> install 1 PortName=COM6 -

  2. Start the hub4com.exe on COM1, CNCB0 and CNCB1 ports:

       hub4com \\.\COM1 \\.\CNCB0 \\.\CNCB1

     It will send data received from COM1 port to CNCB0 and CNCB1 ports
     and it will send data received from CNCB0 port to COM1 port.

  3. Start the GPS applications on COM5 and COM6 ports.
=========================
Anyone fluent in hub4com, or have another approach?

Thanks,



2
Tips & Tricks / Problem / fix connecting to Micrologix 1100
« on: April 21, 2021, 05:49:57 PM »
I had a working and tested HMI that just stopped communicating. Looked all over for logical solution.
What worked:
Use SerialDF1forSLCMicroCom1 default settings seem to work
    This makes no sense, but it looks like the lights and switches can become disconnected from the driver
    Fix was to:
         add a second driver (any driver you are going to remove again)
         remove existing driver
         add the existing driver back
         remove the second driver
         set ComComponent for each component back to the original driver
         So basically no change, except now it works.

3
Using a pair (start / stop) of momentary button switches to start / stop motor

Looks like the motor goes green when start command is sent, not when motor is actually running.
When the PLC is offline, I get an error message, but the color still changes.

Is there a way to read the real state (on/off) of the motor instead of the intended state?

What I am asking is can I stop the motor changing colors when the PLC is offline?

Pages: [1]