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

Pages: [1] 2 3 ... 12
1
It is sad we can't fix that
Thanks man
I really appreciate your help

2
The hmi station address is 0
And it doesn't have the option to change it

3
Could this be a station address conflict? The Modbus driver does not allow you to set its own station address, only the target. I wonder if your existing HMI has the same station address (node number) as the AdvancedHMI application

Yeah i think it i station address problem
But the hmi doesn't allow me to change it


4
hello

so i have a device connected to a HMI using rs485 port
when i connect my pc advancedHMI to it at the same time
it looks like it doesn`t work will
some times it reads it and other times it gives ( "read timeout" or "Checksum" )
if i disconnect the hmi then the advancedHMI works fine but not both at the same time
is it possible to connect them both at the same port at the same time ?

note : am using ModbusASCIICom
with thanks

5
Is the value really different? Because of it fluctuating, it is hard to tell.

In your BasicLabel, set ValueScaleFactor to 0.01
i did it could work now the value is bitter
i will test it on the divice when  connect it later


thanks

6
Try this:

- Add a ListBox to the form
- Add a button to the form
- Double click the button
- Add this code
        Dim v() As String = ModbusASCIICom1.Read("40001", 50)
        For i = 0 To v.Length - 1
            ListBox1.Items.Add(i & " : " & v(i))
        Next

- Run the app and click the button

See if any of those values are what you need.

the code didn`t work

7
so i found the register

but for some reason there is a bit of diffrence in the value

you can see in the video

https://drive.google.com/file/d/17kS12IumcwqEjkdUTpbioauRn_LOVvhm/view?usp=sharing

it looks like nothing
but in this case the value will be much higher
so the diffrence will grow bigger

any idea why?
or how i can fix it ?

but i wanna try the code you sent too
i will tell you the results

8
I looked through the manuals, but did not see anything about the Modbus addresses. I would start with the most common 40001

You could also use a serial port sniffer software to capture the data from LCSoft to see if it is using Modbus.

first thanks for responing

now i tried software sniffer

(Serial Port Monitor)

and the results are in the attachments ( html file ) and a photo for the test
i tried to use all the
Code: [Select]
Starting Address in it

but none gave the value that i wanted to read

i hope you can help

9
HELLO

so i have dvp201lc-sl
i wanna read the value using advancedHMI

there is a software named LCsoft for it
and it can read it online

 as in the attachments
i wanna read the ( CH1 Weight Value )

but i can`t get the address for it to use with modbus ascii

can some one help me ?

with thanks

10
Support Questions / Re: how to change the AdvanceHmi.exe name?
« on: September 26, 2021, 12:21:14 PM »
ok i got it
it was in the ( Assemply information )

11
Support Questions / how to change the AdvanceHmi.exe name?
« on: September 26, 2021, 08:57:44 AM »
hello

as in the title
i wanna change the file name ( project name ) from AdvancedHMI.exe to issa.exe
now when i rebuild the project
the exe file has the desired name ( issa.exe )
but when i start it and go to task manager it shows as ( AdvancedHMI.exe )
like in the attachments


with thanks

12
Support Questions / Re: how to use Gauge with two bands on two sides
« on: September 01, 2020, 11:07:55 AM »
what i need is something like in the attachment file witch i edited using photoshop

as u can see there is three bands for each side

i hope u can help me

at least i can find any Gauge control with 6 bands or more and then i use any another AHMI control value change to work on it


13
Additional Components / Re: Analog Moving Indicator
« on: September 01, 2020, 07:38:59 AM »
it gives an error

i change the name
import it as an existing item to PurchasedControls folder
 rebuild the project

but as in the photo

14
Support Questions / how to use Gauge with two bands on two sides
« on: August 29, 2020, 04:25:25 AM »
hello
am trying to make a Gauge that reads value of a linear potentiometer

so it has right and left value

first i put the minimum value -10 and the maximum 10

but there is two problems with this way
that it will show ( -10 ) minus
and i can put the bands only on the right side ( +10 )

like in the photos

i hope you can help me guys

with thanks



15
Support Questions / Re: how to test the communication between plc and pc
« on: February 09, 2020, 07:52:43 AM »
i think this code will work
but how to define the plc address in it ?

Code: [Select]
#Region "Error Display"
    Private m_SuppressErrorDisplay As Boolean
    <System.ComponentModel.DefaultValue(False)>
    Public Property SuppressErrorDisplay As Boolean
        Get
            Return m_SuppressErrorDisplay
        End Get
        Set(value As Boolean)
            m_SuppressErrorDisplay = value
        End Set
    End Property
    Private Sub DisplaySubscribeError(ByVal sender As Object, ByVal e As MfgControl.AdvancedHMI.Drivers.Common.PlcComEventArgs)
        DisplayError(e.ErrorMessage)
    End Sub

    '********************************************************
    '* Show an error via the text property for a short time
    '********************************************************
    Private WithEvents ErrorDisplayTime As System.Windows.Forms.Timer
    Private Sub DisplayError(ByVal ErrorMessage As String)
        If Not m_SuppressErrorDisplay Then
            If ErrorDisplayTime Is Nothing Then
                ErrorDisplayTime = New System.Windows.Forms.Timer
                AddHandler ErrorDisplayTime.Tick, AddressOf ErrorDisplay_Tick
                ErrorDisplayTime.Interval = 5000
            End If

            '* Save the text to return to
            If Not ErrorDisplayTime.Enabled Then
                _0000_1st_Parent.lbl_Header_Alarm.Text = Me.Text
            End If

            ErrorDisplayTime.Enabled = True

            MyBase.Text = ErrorMessage
        End If
    End Sub


    '**************************************************************************************
    '* Return the text back to its original after displaying the error for a few seconds.
    '**************************************************************************************
    Private Sub ErrorDisplay_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ErrorDisplayTime.Tick
        Text = _0000_1st_Parent.lbl_Header_Alarm.Text

        If ErrorDisplayTime IsNot Nothing Then
            ErrorDisplayTime.Enabled = False
            ErrorDisplayTime.Dispose()
            ErrorDisplayTime = Nothing
        End If

Pages: [1] 2 3 ... 12