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 - dmroeder

Pages: 1 2 3 [4] 5 6 ... 14
46
Open Discussion / Re: Is Reading Array Size Possible?
« on: January 27, 2022, 12:25:26 PM »
Is there a way to read array size? In this case I am expecting 30

Clarification question:  Are you wanting to provide a tag name and have the driver tell you what size the array is?  I don't think the driver will do that via Read.  What I would do is in your PLC, use the SIZE instruction, then read the result tag of the SIZE instruction.

47
Open Discussion / Re: How to read tag Descriptions from PLC
« on: January 26, 2022, 05:21:51 PM »
Can some one please let me know how can I read tag description?

You can't.

48
Support Questions / Re: sending data to PLC over modbus
« on: January 11, 2022, 08:30:44 PM »
If the goal is for the PLC to know that the software isn't running, then I would just have a timer in your AHMI project that writes the PC clock milliseconds to a DINT register in the PLC.  Just check that the value is changing.  I don't think there is a need to complicate things by having to read something first, then write it back to the PLC.

49
Support Questions / Re: AB Micro850 Program Scope tags
« on: December 07, 2021, 03:41:52 PM »
Huge bummer.....

Also, challenge accepted. Lets see if I can crack it.

Thanks for the answer though guys.

I said the same thing, eventually gave up.  Let me know your observations.  I don't think it is going to be a syntax thing, possibly a different CIP object.

When I get time, I'll see if I can capture the packets again, unfortunately, I don't think I saved them.

50
Support Questions / Re: AB Micro850 Program Scope tags
« on: December 07, 2021, 03:28:52 PM »
I'm not positive, but I think only global scope is supported.

This is accurate.  There is no documented way to access local scoped tags.  I captured packets from CCW in order to try and mimic how it access local variable values and never had any luck.  This was some time ago, but what I remember about it was that it seemed the controller knew the difference between CCW and not CCW and would reject the request.

Edit: I also spoke with support about it to see if there was different syntax or something like that, all they would give me was "you cannot access local variables".

51
Open Discussion / Re: Mitsubishi GS2107 HMI
« on: December 04, 2021, 12:36:34 PM »
Isn't this like asking Toyota what type of gas they recommend for your Volkswagen?

(brand isn't the point of the analogy here, take no offense)

52
Support Questions / Re: Start AdvancedHMI display on raspberry pi startup.
« on: September 09, 2021, 09:05:44 PM »
Thanks but no luck.  Anything else I might try?

It looks like X-Server isnt running.  When I run the application from the GUI it works, but from the console X-Server isnt starting.

I know we can get this working, I'll test with my pi tomorrow.  I remember struggling with the exact same problem in a different application.  I think when I was on the struggle-bus, I was trying to use a systemd service and it didn't like running GUI applications either.

53
Support Questions / Re: Start AdvancedHMI display on raspberry pi startup.
« on: September 01, 2021, 10:15:14 AM »
Try:

Edit the autostart file: sudo nano /etc/xdg/lxsession/autostart
Arrow down to the bottom and add: @/usr/bin/mono /home/pi/myprogram.exe
Save and exit:  CTRL + X, then Y, then Enter

54
Tips & Tricks / Re: Changing Com Component
« on: August 21, 2021, 01:22:19 PM »
Your 5/03 was using the serial port to communicate with AHMI? Because as far as I know there is no component to communicate through DH+.

The SLC 5/03 does not have a DH+ port, only the 5/04 does.  The 5/03 has a DH485 port.

55
Open Discussion / Re: Base Package Won't load in Visual Studio
« on: August 10, 2021, 10:36:03 AM »
Thank you and appreciate the help.  I will poke around VS.  Hopefully I'm not the only one this is happening to and that there is an easy fix.  I bought all the extra packages and unable to use them until I can get this figured out.  Thanks again.

Your money won't be wasted, we'll help you get it working.  Let me know the results of the "poking".  I'll try to to run the installer and refresh what the important options were.

56
Open Discussion / Re: Base Package Won't load in Visual Studio
« on: August 05, 2021, 05:08:06 PM »
Edit:  My reply didn't make much sense after I looked at the error closer..

Edit2:  It has been a while since I installed VS, I remember there being an option that you had to select related to desktop applications.  I don't think it was selected by default.

57
Open Discussion / Re: Raspberry PI Model
« on: August 03, 2021, 05:45:04 PM »
Current Pi's have a minimum of 2gb or RAM on board, which is double what was available when people started running AHMI on the Pi, so I'd say any Pi 4 will do the trick.

58
Open Discussion / Re: AB PLC timer
« on: July 29, 2021, 02:46:15 PM »
What Archie is getting at is your syntax is wrong.

If you timer is declared in the controller scope, your syntax would be: Timer[19].ACC
If declared in program scope, you have to include the name of your program in the syntax: Program:<ProgramName>.Timer[19].ACC

So if it were in a program called "Filler":  Program:Filler.Timer[19].ACC

59
Open Discussion / Re: Press Integration
« on: July 27, 2021, 01:48:22 PM »
another plant wanted to do something similar, and they were declined access to the PLC, I've been out of the plant for a while and was asked about this project today. Maybe I will have better luck just getting a list of the tags/registers that contain the data I would like to remotely monitor.

It sounds to me like you work for a facility who has a press, but the press manufacturer is not willing to share the PLC program, correct?  Now your plant wants you to add a HMI to it, since the press manufacturer won't give you the program, you're more or less stuck.

What model PLC is running the press?  Ideally, part numbers...

60
Tips & Tricks / Re: Save your Project
« on: June 28, 2021, 10:11:55 AM »
As a newbie I learned the hard way that you need to make a folder where you make a copy of your project. I make daily copies. I made a mistake and I was left with dozens of errors and without a working copy had to start all over. Although this may seem obvious for some it was not for newbies like me.

You should look into using git in Visual Studio with your project.  You can save yourself having to make complete copies of your project as backups.  You can easily undo changes, view history of changes, compare changes at different points, etc.  It's a very powerful tool.

Pages: 1 2 3 [4] 5 6 ... 14