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 - scott.clark

Pages: [1] 2 3
1
Support Questions / ModbusTCPCom1.write returns a value, what is it?
« on: April 14, 2021, 05:36:55 PM »
When executing:

Code: [Select]
dim strReturn as string
 strReturn = ModbusTCPCom1.write(PLCTagAddress,Value)

What does the value returned represent?  its typically a varying number between 250 and 300.

I was looking for a way to detect when the target PLC is not communicating. 

With a ModbusTCPCom1.read, if there is no communications, there is and exception the can be handled with at Try/Catch.

I haven't been able to figure out how to validate that a ModbusTCPCom1.write is successful.

2
Support Questions / ModbusTCPCom1 Unknown error code -34
« on: April 08, 2021, 12:14:15 PM »
I am receiving this

3
Support Questions / ModbusTCP Component valid addressing
« on: December 04, 2020, 01:05:58 PM »
I have a torque controller I would like to read and write to by ModbusTCP.

The registers I should be able to read from are in the range of:

308455 thru 308502 (unsigned integer data type)

I setup a BasicLabel component with ModbusTCPCom1 component and PLCAddressValue = 308455.  But all that is returned on this or any of the other registers is 0.

Is this  308455 thru 308502 a valid address range for the ModbusTCP Com component?

I know I have communications.   if I disconnect the ethernet cable, it repsonds with "No values returned from Driver"  and a "Could not connect ...." message.




4
Version 3.99xR1

I have mulitiple EthernetIPforSLCMicroCom connections in my application.  How can I use an INI file to provide the IPaddresses on startup?

Thanks

5
Support Questions / Updating 3.97d application to 3.99xR1
« on: March 27, 2020, 02:17:22 PM »
I want to start out by saying thank you for AdvancedHMI and all the great things you can do with it.  It has been fun learning VB.Net and working with AdvancedHMI. 

I have a 3.97d application that I recently updated to communicate with several micrologix plcs.  Occasionally some of them will get disconnected from the network for a long period of time and the communications doesn't restart.  Reading through the support posts, I am thinking you made improvements to the EtherinetIPforPLCSLCMicroCom for re-establishing lost communications.

What is the best course to update my application?  Do you think it will help?  Thanks!


6
I created a data subscriber monitoring a tag in a plc.  When the tag changes states, within the datachanged event code, I  would like to make decisions based on other plc tags that are being used elsewhere in the application. 

Do I have to execute a plc read within the datachanged event?  Seems redundant if the plc tag is already being used in for instance a BasicIndicator, I should be able to get its latest value.

thanks

7
Support Questions / Running AvancedHMI as service on Virtual Machine
« on: November 27, 2019, 01:06:03 PM »
I have an AdvancedHMI application I would like create that will write and read data to several micrologix1100 plcs on an ethernet network.  It will run and function with out operator intervention.  Once I have developed the application on my laptop, I would like to move it to a virtual machine on the network.  Can I set it up to run like a service on the virtual machine where it will automatically startup up, and restart if the application stops for some reason?

Thanks for all the great work!

8
Support Questions / Close application from other than main form
« on: August 11, 2017, 12:31:19 PM »
using 3.99w

How can I close the application for a form other than MainForm?  I tried using ExitApplication() but get an exception.  I don't want the Exit button on the main screen.

Thanks

9
What is the most efficient method to read a 10,000 element DINT Array from a CompactLogix Processor using EthernetIPforCLXCom1?

10
Support Questions / Method for requiring Password to Exit the Application
« on: November 11, 2015, 10:16:26 AM »
Advanced HMI v3.99a

Any suggestions on how I can require the operator to enter a numeric password to exit the AdvancedHMI application? 

Also, how can I prevent them from dragging the form?  Ultimately, I am wanting to prevent them from getting to the PC.

Thanks,
Scott

11
I am using a basic label to display floating point values of the Real type.  If the value happens to be exactly 0, then nothing is displayed.  What can be done?

Thanks!

12
Support Questions / Using the Control MessageListByValue for alarms
« on: October 30, 2015, 08:14:58 PM »
I am using the MessageListByValue control for logging alarms, but when I change to a different form, it stops logging....What can I do to continue logging the alarms on a form change?

thanks!

13
Support Questions / Using PLCAddressVisible with FormChangeButton
« on: October 30, 2015, 07:35:41 PM »
Using AdvancedHMI 3.99a

I am having an issue hiding the a FormChangeButton using the PLCAddressVisible property.

I have a Bool type variable in the PLCAddressVisible property and have selected the CommComponent EthernetIPforCLXCom1. but the state of the PLCAddress has no effect. 

I know the PLC address I am using is good, tested it with the PLCAddressVisible property for a BasicButton.  Any ideas?

14
Support Questions / MessageListByBit data types for PLCAddressValue
« on: October 29, 2015, 12:43:08 PM »
using AdvancedHMI v3.99a with AB CompactLogix processor

I would like to use the MessageListByBit control for capturing machine fault conditions.  I like this method because it captures conditions sumultaneously, however I have not found a data type that allows more than a single 32bit double integer.  I have 100 plus fault conditions to capture.   Is there a way to address an array of DINTs?

Also, how do you clear the messages?

Thanks!

15
Support Questions / How to use MessageDisplayByValue IniFileName property
« on: October 21, 2015, 10:58:41 AM »
I would like to define my messages for the MessageDisplayByValue  control in a text file.

Does it support individual BackColor for each message?

What is the structure of the file?

is the file to have a .ini or .txt extension?

When specifying the property IniFileName property, do you include the file extension?

Is there a way to export an existing message collection to create the .ini file?

Thanks!

Pages: [1] 2 3