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

Pages: [1]
1
Support Questions / Re: Basic Data Logger 2
« on: February 28, 2018, 05:37:17 PM »
I was just going to reply to myself that I figured out what I was doing wrong. Thanks though.

But I still need to figure out how to stop writing to one .csv file and to create another one. For example, I want the logger to write to a different file every 24 hours or when I click a button. Is this at all possible?

2
Support Questions / Basic Data Logger 2
« on: February 28, 2018, 02:34:04 PM »
Hello

I am attempting to use the data logger 2 to write multiple values to a .csv file. I read in a previous forum post that the data can be separated into different columns using the prefix function. Does this mean I will have to use multiple data loggers for multiple outputs to put them in different columns? Or is there a way to do this using the collection function on the basic data logger 2? Also, sorry for the loaded post, but is there a way to create new .csv files every run? Or will the data logger overwrite the previous file every run?

Thanks

3
Support Questions / Alarm Supplemental Info
« on: February 15, 2018, 10:12:00 AM »
Hello

I am attempting to create an alarm in my HMI that sends either a text message or email or both if a pressure for example gets too low or to high in my system. I am not very familiar with .NET and was hoping some other users who had some more experience with programming a similar function would have some more insight on how to do this. Even just some other forum threads or links that I was unable to find would be very helpful.

Thanks

4
Support Questions / Re: Reading Strings from Micro850
« on: February 08, 2018, 03:14:29 PM »
I had to include the index value in the ToInt32 function. In case someone ever has a similar issue this was the correct code. But Archie was 99% correct.
Code: [Select]
   
Private Function ExtractINT(ByVal s As String) As Integer
        Dim bytes((s.Length / 2) - 1) As Byte
        For i = 0 To (s.Length / 2) - 1
            bytes(i) = Byte.Parse(s.Substring(i * 2, 2), System.Globalization.NumberStyles.HexNumber)
        Next
        Dim Result As Integer = BitConverter.ToInt32(bytes, 0)

        Return Result
    End Function

5
Support Questions / Re: Reading Strings from Micro850
« on: February 08, 2018, 01:03:43 PM »
I think this is definitely on the right track but unfortunately it did not work. But it may not work because maybe the data I am reading isn't a string? In CCW it's designated as a "time." For example, whenever I edit this time and set it to 1000 through the hmi I get an output of e803000 which definitely isn't 1000 in hex. Is there a way to read a time value from CCW? Since it seems it isn't a string.
Thanks

6
Support Questions / Read/Write Button
« on: February 08, 2018, 12:00:13 PM »
Hello

I have multiple buttons that need to run in some sort of write/read mode. For example, if a high level sensor is tripped I have the pump to be enabled through CCW. But I also want to be able to manually turn the pump on through my HMI. I'd like the HMI to show that the pump is enabled if the program enabled it because the high level sensor was tripped. But with the buttons I am using are write buttons and solely dictate whether the pumps would be on or off and do not allow the program to enable the pump. Is there a setting I am missing or another way to do this?

Thanks

7
Support Questions / Reading Strings from Micro850
« on: February 07, 2018, 05:14:30 PM »
Hello,

I am trying to read a value from my CCW program that is a time. (T#1s) Is there a way to output this entire string using a basic label or another type of label? I've tried and gotten the output "e8030000". I understand this is a problem probably stemming from trying to read/write different data types but was hoping there was a way around it.

Thanks

8
Support Questions / Simple Button Question
« on: February 06, 2018, 12:21:39 PM »
Hello,

I am creating a button that changes the text from on to off depending on the state it's in. I understand how to use the alternate text function to do this...but is there a way to change the color of the button as well, for example, from green to red.

Thanks

9
Support Questions / Re: Advanced HMI Writing Data Question
« on: February 06, 2018, 11:39:08 AM »
Thankyou! I understand now. I appreciate it Archie.

10
Support Questions / Re: Advanced HMI Writing Data Question
« on: February 06, 2018, 10:52:30 AM »
Hello Archie,

Thank you so much for your reply. Again, I'm new at this so please bear with me. But are you asking me to create a global scope tag for my input in Connected Components or in AdvancedHMI? I see the tag input for the properties of the basic button but am unsure how to connect that to my PLC input.

Thanks

11
Support Questions / Advanced HMI Writing Data Question
« on: February 05, 2018, 08:16:24 PM »
Hello,

I am new to using Advanced HMI and have a question. I am using the Allen Bradley Micro850 and am having trouble using the HMI to write boolean inputs to the PLC. I am able to read values from the PLC to turn on LEDs on my HMI, but am unable to send the PLC any inputs. I tried using both the basic button and checkboxes to send the boolean function to no avail. Could it be something with how I write my addresses in the check box or button properties?

For example I'm trying to send a boolean input to adress _IO_EM_DI_01 using a check box or a button, whichever is better. And there are properties for PLCAddressCheckChanged, PLCAddressChecked, PLCAddressText, and PLCAddressVisible. If I wanted to use a checkbox to send my input, which should I set _IO_EM_DI_01 as?

I'd appreciate any input on how I could solve this.

Thanks

Pages: [1]