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

Pages: [1]
1
Support Questions / Re: Omron Timers with Fins Command
« on: December 11, 2017, 01:52:08 PM »
Nevermind i turn to bin timers and now i can input the PV so no problem.

2
Support Questions / Omron Timers with Fins Command
« on: December 11, 2017, 01:30:00 PM »
Hello guys a quick question is it possible to write to PV of timer in order to set it from HMI?

3
Support Questions / Re: Read/Write floating values in omron plc
« on: December 09, 2017, 11:36:17 AM »
Thanks Archie for the quick response. I will come back if any others bugs will be found. Thanks again

4
Support Questions / Re: Read/Write floating values in omron plc
« on: December 08, 2017, 12:12:41 PM »
Doing some tests its seams that I can read float values in a basic label, I can pass float values through keypad and other means but when I try to read values on analog display through plcaddressvalues I can't use the format D0,F and also i can't read values through datasuscriber event again for the same reason. Is there any way to use it that format in the above controls or not?

5
Support Questions / Re: Read/Write floating values in omron plc
« on: December 08, 2017, 12:16:29 AM »
Thanks for the quick replay I will try the update and come back with feedback

6
Support Questions / Read/Write floating values in omron plc
« on: December 07, 2017, 12:09:14 PM »
Hello guys I have a question regarding the omron fins serial driver. Am using a CP1L Plc and I try to read or write float numbers to Plc with no luck. Is it possible to do it or not? For the reading part I have succeeded to read them by convert the real number to int inside the ladder and then just putting on the analog display value a scale factor but for the write I haven't found any way to do it. I await your suggestions

7
Support Questions / Re: Data Subscriber question
« on: September 30, 2017, 02:50:42 PM »
Am not using the MessageListByBit because i have set up already a listview with columns and also am loggin the items of list view into a text file for history of faults.Also i tried the MessageListByBit, but first i cant make columns,second its shows the bit value that the alarm is coming and i dont want to see this, and there is no way to remove it and last i have 3 different tags for alarms(level of alarms) so i have to create 3 different MessageListByBit and also i cant make any changes to the plc code because my project is only for remote viewing and data logging.
One more question the code i put it will work or not because the other code that Phrog30 posted i did not understand how i will implement in my code.(Sorry my knowledge of visual basic is somewhere on the starting point yet).

8
Support Questions / Re: Data Subscriber question
« on: September 30, 2017, 12:56:22 PM »
Let me see if i get it correctly or explain correctly.My ControlLogix PLC has a tag named "HMI_A_Faults" that has 16 individual bits.So first alarm is linked to bit 0,second alarm is set to bit 1 and so on.So in the data subscriber i have to set in the plcaddressitem the following number of elements=16 and plc address= HMI_A_Fault .Is that correct or not?
And then to check for the true value of bit i add the below code in the DataSubscriber2_DataChanged
Code: [Select]
If e.PlcAddress = "HMI_A_FAULTS[0].0" And e.Values(0) = "True" Then
            Dim lvi As ListViewItem = New ListViewItem()
            lvi.Text = Now.ToString("dd/MM/yyyy")
            lvi.SubItems.Add(Now.ToString("HH:mm"))
            lvi.SubItems.Add("E-Stop has been pressed")
            ListViewExAlarm.Items.Add(lvi)
        End If




9
Support Questions / Re: Data Subscriber question
« on: September 30, 2017, 11:59:24 AM »
Sorry guys for all my questions since i new to the project i need some clarifications.My question is if in the data subscriber 2 i can read the Boolean values of individuals bits of a tag(DINT).

10
Support Questions / Re: Data Subscriber question
« on: September 27, 2017, 12:12:12 AM »
So if I understand correctly poll rate of the data subscriber doesn't work.Any other way to make this work. Can I use subscribing for every tag seperately or is another control that could help me achieve that. Or maybe another way is to pull data continiously put in an array and then with a timer and background worker I can write them into my sql database. Your thoughts are welcome.

11
Support Questions / Data Subscriber question
« on: September 26, 2017, 04:51:30 PM »
Hello guys  i have a question on data subscriber 2. The question is if the poll rate is working because i want to pull data every minute for around 11 tags and if yes the time is in milliseconds.Am using ethernet CLX driver for communication

12
Open Discussion / Re: Problem with basic indicator and DataSubscriber1
« on: September 23, 2017, 02:21:25 PM »
Another question,I want for this project a DataSubscriber2 to run continuously even if the form is closed or hide.This subscriber will pull data and then a private sub will save these data to an sql database every minute?
Thanks

13
Open Discussion / Re: Problem with basic indicator and DataSubscriber1
« on: September 23, 2017, 08:03:56 AM »
Thanks you very much Archie

14
Open Discussion / Problem with basic indicator and DataSubscriber1
« on: September 23, 2017, 03:41:36 AM »
Hello guys am fairly new on advanced HMI. First i will like to thank Archie for a well made program.
The issue am facing is that i built an hmi for remote viewing of a machine.Now i have a situation that i want to have a basic indicator with on(text shown indicator),green color status and off(text shown indicator),red color status. I have tried and use a DataSubscriber1 that is connected with the appropriate tag and then used the below code to have the affect i want but it didn't work.Any thoughts on this problem.


Code: [Select]
Private Sub DataSubscriber1_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber1.DataChanged
        If e.PlcAddress = True Then
            BasicIndicatorRefrigCompressor.Color1 = Color.Green
            BasicIndicatorRefrigCompressor.Text = "ON"
        Else
            BasicIndicatorRefrigCompressor.Color1 = Color.Red
            BasicIndicatorRefrigCompressor.Text = "OFF"
        End If
    End Sub


Pages: [1]