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 ... 20
1
Support Questions / Re: Modbus read to Double
« on: October 30, 2023, 10:21:43 PM »
Thanks Godra, I had already googled that link and was able to figure it out.  I had one too many arguments in my code.

Much appreciated.

2
Support Questions / Modbus read to Double
« on: October 29, 2023, 01:02:53 PM »
Hey Archie, I have been away from AHMI for awhile but now I'm taking on another project and need to relearn some things.  I want to set the maximum value of a guage compact on a button click with a modbus register value but can't get the string from the modbus read to parse to the double of the meter.  i tried Double. tryparse method but this does not accept String() types.  Any help is appreciated, thanks

 

3
Feature Request / TextbyBit control
« on: June 25, 2021, 10:00:04 PM »
It would be nice to be able to display different text of a label based on a bit status.  ie BitOn= "Active"....BitOff= "Inactive"

4
Open Discussion / Re: tool to convert data types
« on: June 25, 2021, 09:54:55 PM »
Thanks Godra, just what I was looking for

5
Open Discussion / tool to convert data types
« on: June 12, 2021, 10:15:32 AM »
Is anyone aware of a tool or application that can be used to convert between data types such as INT,DINT,REAL etc. outside of doing it in a PLC program?  I would like to have a handy stand-alone "calculator" to reference when programming.  I'm not sure if Excel can do this??  If not, I may attempt to create one.  Thanks. 

6
Support Questions / Re: keypad min max values
« on: June 12, 2021, 10:10:24 AM »
Thanks Godra for the alternative solution but I was hoping to leverage the pre-built control.  Is there a way to modify the code of the control to separate the passcode from the min/max range?  Thanks.     

7
Support Questions / keypad min max values
« on: June 03, 2021, 11:47:46 AM »
Hey AHMI, long time without a post but I am doing a new project and I am implementing an AnalogValueDisplay control.  The issue I'm having is the keypad Min/max values are applied to the password as well.  This limits me to the passcode I can enter.  For example, my acceptable values for the control are min=1 and max=6 but I want my passcode to be 1111 which is obviously above 6 and not allowed.  Am I missing a property setting or is this a "bug"?  Thanks.       

8
Support Questions / Re: Basic label numeric format
« on: October 30, 2020, 08:49:11 AM »
Yes this is the stock control from the toolbox.  I'm using 3.99yBeta36.  Thank you

9
Support Questions / Re: multiple PLC addresses for MessageListByBit
« on: October 30, 2020, 08:45:20 AM »
Ok I am a little fuzzy.  The MsgByBit does not have a True/False property selection that I see.  The MsgByItem does but I'm not sure what it does because it does not display the message at any time when set to false.  I only get the behavior I described above.  What am overlooking?

10
Support Questions / Basic label numeric format
« on: October 29, 2020, 01:28:34 PM »
Would I be correct in assuming the numeric format property affects the display of the value by adding or truncating decimal places?  For example numeric format 0.0 would show a float value to one decimal place such as 9.7773 as 9.7and if I wanted two decimal places I would use 0.00 to get 9.77?.  My configuration below has 0.0 as the format but I am getting more than one decimal place.  Thanks. 

11
Support Questions / Re: multiple PLC addresses for MessageListByBit
« on: October 29, 2020, 01:22:19 PM »
Ok Archie, I interpreted this True/False selection to be when the message would show.  Maybe this needs to be moved to the Feature request area to have the control show the message when the bit is false if the false selection is chosen.  I have made inverting bits in the PLC to achieve what I wanted for now.  Thank you 

12
Support Questions / Re: multiple PLC addresses for MessageListByBit
« on: October 25, 2020, 10:07:25 AM »
Forgot to attach pic

13
Support Questions / Re: multiple PLC addresses for MessageListByBit
« on: October 25, 2020, 09:34:21 AM »
Archie, The MessageListByItem looks to be just what I need except I am experiencing some strange behavior from the control.  The TRUE value seems to act properly however the FALSE value does not appear to work.  I can get the message for the TRUE value each time, but the FALSE value never shows in the list.  To verify my other parameters are set correctly,  I set the FALSE message to TRUE and it appears once in the list and then never again.  Am I correct to assume the FALSE value is used to display the message when the value is false?  I also tried to precede the address with "NOT" and this causes a comm fail to the device.  Thank you. 

Godra, I will see if there is a fix for the MessageListByItem first before I explore this solution.  Thank you for the link 

14
Support Questions / multiple PLC addresses for MessageListByBit
« on: October 23, 2020, 10:51:32 PM »
I'm trying to use the MessageListByBit component and it has a property "PLCAddressValues".  I assume the plural values means I can assign more than one address to the component.  If so, how do I enter them in the property box?  Thank you. 

15
Support Questions / Re: Write data between PLCs
« on: October 22, 2020, 10:28:26 PM »
The ComBridge component is brilliant Archie!  It worked great.  I did try to remove the "0" but VS still threw an error because the data types were not compatible.  Thank you. 

Pages: [1] 2 3 ... 20