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.


Messages - toan08

Pages: [1]
1
I tested all the different OutputType with the BasicButton, none works.

2
Put B3/0 in PLCAddressClick

I still can't get the button to activate the input.  Here's what I did.  I created a BasicButton with PLCAddressClick B3:0/0 (also used your "B3/0").  I used a BasicLabel with PLCAddressValue B3:0/0 to monitor the state of that Bit and it showed as False.

3
Using the same method with BasicLabel to verify communication, I did this to a BasicButton with PLCAddressClick I:0.0/0 and the BasicLabel showed that the input is false, which is correct since I can't get the button functional to activate the actual input in my PLC program.

4
Add a BasicLabel and set the PLCAddressValue to N7:0 in order to verify your communications. If everything is communicating, the BasicLabel will change to a number.

I added the BasicLabel and it did change to a 0.

5
Support Questions / How to make push button work with Micrologix 1200?
« on: March 01, 2016, 09:14:09 PM »
Previously, I got the AHMI fully functional with RSEmulator including all the push buttons when clicked on.  I stopped using the emulator, and now that I've gotten AHMI to work with the physical unit, I can't get any push button to work with my program.  I made sure the PLCAddressClick for the push button was correct, as it was working fine with the emulator.

What am I missing here?  I assumed if the push buttons worked with the emulator, it would work the same way with the physical unit.  I have tried a simple test using one input to turn on output 0, and no luck so far.

6
I finally got it working!  So this is what I did to get my physical MicroLogix 1200 working with AHMI version 3.99d.

1.  Use rslinx as usual so u can talk to the 1200, and write a simple program in rslogix 500 and download it to the controller.  Use something with on/off output so you can easily verify if AHMI is syncing up with your program.  In my case, I used a timer to turn on/off output 0 every 10 seconds.

2.  Shut down rslinx, and if you've already downloaded the program to the 1200, then it should be stored on the physical unit now.  You can simply ignore rslogix 500 at this point since there's no communication with the physical unit because rslinx is offline.

3.  Open up AHMI, and make sure to configure DF1com1 correctly, check the port setting and make sure it's the one your PLC is using.  I went into device manager and found my usb-serial cable using Com3.  I left everything else on default.

4.  Drag a label or something relevant to your program and sync up the PLC address value.  I used a DigitalPanelMeter with PLCAddressValue T4:0.ACC, and it worked fine.  *It may take a few seconds for AHMI to reflect your program.  Strangely it didn't' work right away for me, and after I relaunched the HMI again, it picked up the the ACC value and correctly displaying it.

Thanks Archie and Godra for helpful suggestions.

7
I just did a quick test using DF1Com with a MicroLogix 1100 and using version 3.99d. I tested with both AUTO baud and setting the correct baud rate, which was 19200.

I simply added a BasicLabel and set PLCAddressValue to N7:0

In both cases it worked correctly for me.

Thanks for the tip, I will try what you did, and post back with results.

8
Hello buddy did u figure it out
Am using DF1 and I did turn the rslinx off still not working ? Any luck

I tried it, still no luck.  I even made sure RSlinx is not running in task manager, and it still didn't work.  I ended up putting this project aside, and did something else with vision system for my final project.  I do want to get this working as it will be cool to have a customized hmi with the micrologix 1200.

So far I can only get this software to work with the emulator, but when trying to directly connect to the 1200, it's totally different ball game.

9
At one point, I'm pretty sure I shut down RSLinx by clicking on the X (not exactly sure what you mean by a complete shut down).  I thought you need RSLinx running in order to establish a connection to the Micrologix 1200.  So if I need to download a program to the device, I would have to run RSLinx initially and download the program.  Next, I would have to shut down RSLinx, and maybe restart everything, at this point don't run RSLinx at all so the driver gets full access to the COM port.  I want to make sure the controller has my program so when I run the HMI application, everything functions accordingly.

Thanks for the advice.  I will try again and post with updates.

10
Support Questions / Problem connecting AdvancedHMI to AB Micrologix 1200
« on: December 15, 2015, 06:15:23 PM »
This is a cool software, and I'm fairly new to the PLC world.  I used AdvancedHMI to create a simple software, and it works perfectly with RSLogix 500 along with the Emulator and virtual ports.  My problem is when I load up the software at school, it won't connect to the actual hardware Micrologix 1200, which is directly connected to the PC via serial port.  I checked RSLinx and the device uses COM1, so I changed DF1Com1 in visual studio to COM1 as well, but that didn't do anything.

How do you connect AdvancedHMI to Micrologix 1200?  My final semester is right around the corner, and this software will help me create a custom touchscreen HMI, but before I get there, I need to solve this connection problem.  Any advice would be greatly appreciated.

Pages: [1]