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

Pages: 1 [2] 3 4 ... 20
16
Support Questions / Re: VS2019 error when opening project
« on: October 22, 2020, 10:26:25 PM »
Thanks Archie, I made the changes you recommended and so far so good.  VS has not bugged me about any updates so I think it is set to automatically install updates. 

17
Support Questions / Write data between PLCs
« on: October 22, 2020, 08:43:42 AM »
I am attempting to use AHMI to read ModbusTCP data using a datasubscriber then write whatever data is returned to another controller.  I'm having trouble with the code, please see attached.  How would I do this?  Thanks

18
Support Questions / Re: VS2019 error when opening project
« on: October 22, 2020, 08:39:44 AM »
Thanks Archie, it seems if I close all the windows before exiting then reopen the project I do not get the error. 

19
Support Questions / VS2019 error when opening project
« on: October 21, 2020, 10:57:25 PM »
Hi AHMI, I am using VS2019 Community and started a fresh project recently.  I added two ModbusTCP drivers to the main form and named one "dvrMasterPLC".  I keep getting the attached error when I open the project.  When I go to the code it looks ok to me and I can simply comment the line out then uncomment it with no other changes and the error goes away.  Any idea what is causing this error?  Thank you

20
Open Discussion / Re: change which form opens first in VS2019
« on: October 04, 2020, 01:26:05 PM »
Viola!  Thanks Archie!

21
Open Discussion / Re: change which form opens first in VS2019
« on: October 04, 2020, 11:45:59 AM »
Sorry to be so blind but I don't see an option for this.  This is the only application tab I can find

22
Open Discussion / change which form opens first in VS2019
« on: October 04, 2020, 10:13:36 AM »
Hey AHMI community, I have a general VS2019 question, how do I open a different Winform other than Form1 initially?  I have added a second form and want it to open first when the app is started.
 I have looked for a setting in the project properties but can't seem to find the setting.  Any help is appreciated, Thank you.   

23
Additional Components / Re: Modbus Master and Modbus Slave Simulator apps
« on: October 03, 2020, 09:00:11 PM »
Hey Godra, I am interested in creating a Modbus simulator to simulate several of the same type of device on a single PC where I would need to channel registers to a specific IP address saved in the PC's IP configuration.  For instance IP#1 and IP#2 would each need register 40001 but of a different value.  Can your app do this or do you know if the nModbus library can accomplish this?  Thank you.   

24
It sounds like you want to retrieve historical data using a date and time filter. Godra’s solution is good if you are looking for current data since the timer was started.  If you want historical data then you probably need to go with storing it to a DB and then retrieving it from there.

25
Open Discussion / Re: Modbus server
« on: April 08, 2019, 07:15:44 PM »
Sorry for the vagueness guys. Yes Godra you read it right. I want to create a application that does what ModRsim does(modbus slave/server) but for a specific device. This will be designed for my sales dept to be able to demonstrate a product and not have to manually change values like ModRsim would require. So far I have been able to crack the code and press forward with a library from EasyModbus. I appreciate any info on other libraries if you know of any. Thanks.

26
Open Discussion / Modbus server
« on: April 02, 2019, 02:17:01 PM »
Hi all, I know AHMI is a client only but I was wondering if anyone has found a Modbus library out there that allows for creating your own modbus server application.  I have played with EasyModbus but ran into some walls and the support seems to have fallen off.  I appreciate any info in the right direction, thanks.   

27
Thanks Archie, this was very helpful, I will try to implement this once I get free time.  Much appreciated!

28
So I am turning this into a troubleshooting tool and would like to give the user the ability to assign the starting register and the number of registers to search.  A couple things, the DataSubscriber1(not 2) does not provide a number of elements property.  Second, if I were to use the DS2, how do I assign the .Add method a user input value for PLCAddress and Numberof Elements from a textbox?  I tried string, int,double and none are accepted by the driver.  Not sure how to change the DS2 properties during runtime with the code below for a button click. 

Thanks Archie!

  Private Sub btnScan_Click(sender As Object, e As EventArgs) Handles btnScan.Click

        ds21.PLCAddressValueItems.Add()               

    End Sub

29
Support Questions / Expose register that triggers datachanged event
« on: March 21, 2019, 10:35:19 PM »
Hi guys. I am working with a device over Modbus TCP and I am creating my own register map since I don’t have access to one. I am thinking I can use a DS2 and set the element range to about 100 and populate a textbox with the register that triggers the datachanged event. I dont care about the value in the register just the register number itself.  How would I go about writing this code? I guess I could set a breakpoint but i was hoping to avoid this to make multiple executions quicker. Thanks.

30
Open Discussion / Re: Looking for creative ideas
« on: February 27, 2019, 11:40:58 AM »
Thats is very interesting. I like the idea yet it is very scary to think all that data is available to the public. Cool idea. Thanks.

Pages: 1 [2] 3 4 ... 20