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

Pages: [1] 2 3
1
Support Questions / Re: Float value incorrect format
« on: June 30, 2020, 05:56:20 PM »
First of all thanks for the support received. At the moment I don't have the gas analyzer equipment to do the tests. When I'll have a equipment with the same characteristics, I will write you if I have the same problem to connect. Thanks for all Godra.

2
Support Questions / Re: Float value incorrect format
« on: June 18, 2020, 05:40:55 AM »
With the byte swap set to true I receive two for the three correct values in the F30002 and F30004 registers but i can´t receive the correct value of the Modbus Poll register number one



But If the byte swap is set to false I can´t receive the corrects values in no registers.




I´m sure it´s my error but i can´t find, thanks for the support and understanding

3
Support Questions / Re: Float value incorrect format
« on: June 16, 2020, 04:25:48 AM »
Yes for sure. This is the test result


4
Support Questions / Re: Float value incorrect format
« on: June 12, 2020, 11:36:12 AM »
Hi Archi thanks for response, I solved read this equipment in format float, it was a problem for choosing the correct modbus address. Now I can read 2 registers for the equipment that i´m tried but the problem now it´s this, I can read the registers that apear in modbus poll picture number 3 and 5 register, but in advancedHMI i can read in the register 30004 and 30002, the problem is that with this logic the register of number 1 in modbus poll should be read in register number 30000 in advancedHMI but it generates an exception, how can i read the register number one in advancedHMI?




5
Support Questions / Float value incorrect format
« on: June 11, 2020, 10:26:00 AM »
Hello, I have the following problem when I try to read the 3000 addresses in floating format. in Modbus Poll I can read correctly with this format Float AB CD


But when I try to read a basic label with advancedHMI I can't read the correct value, I try with prefix address value F, D, B with no results, what's the correct way to read this format?

Thanks

6
Support Questions / Re: System.ObjectDisposedException:
« on: May 22, 2020, 02:17:36 AM »
it works Archie. Thanks!

7
Support Questions / System.ObjectDisposedException:
« on: May 21, 2020, 07:50:14 AM »
Hello, I trying to change the IPAddress from the modbusTCPCom in execution time when I receive this exception

System.ObjectDisposedException: 'The discarded object cannot be accessed.
Name of the object "ModbusTCPDataLinkLayer'

What could be the problem?

Thanks.



8
Support Questions / Re: system.ArgumentOutOfRangeException
« on: February 15, 2020, 06:36:44 AM »
Hello Archie, after testing the application 48 hours with the beta version everything works correctly. Thank you.

9
Support Questions / Re: system.ArgumentOutOfRangeException
« on: February 13, 2020, 02:51:59 AM »
With the 399yBeta version i obtain this exception at the begin of the program

MfgControl.AdvancedHMI.Drivers.Common.PLCDriverException: 'Send Queue Full'

In this part of code:

    Public Overrides Function BeginRead(ByVal startAddress As String, ByVal numberOfElements As Integer) As Integer
        Return MyBase.BeginRead(ReadTagAliases(startAddress), numberOfElements)
    End Function

I added try/catch empty to start the program andI'll do debug tests tonight (In Spain)

10
Support Questions / Re: system.ArgumentOutOfRangeException
« on: February 12, 2020, 05:20:02 PM »
I just received another exception after 2 minutes of execution:

Unhandled exception: System.ArgumentException: The offset and length are outside the limits for this matrix or the count is greater than the number of elements from the index at the end of the source collection.
   in System.ThrowHelper.ThrowArgumentException (ExceptionResource resource)
   in MfgControl.AdvancedHMI.Drivers.Modbus.RTU.ModbusRTUDataLinkLayer.a (Object A_0, SerialDataReceivedEventArgs A_1)
   in System.IO.Ports.SerialPort.CatchReceivedEvents (Object src, SerialDataReceivedEventArgs e)
   in System.IO.Ports.SerialStream.EventLoopRunner.CallReceiveEvents (Object state)
   in System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
   in System.Threading.ThreadPoolWorkQueue.Dispatch ()
The program '[3636] Másicos.exe' ended with code 0 (0x0).

11
Support Questions / Re: system.ArgumentOutOfRangeException
« on: February 12, 2020, 05:08:51 PM »
I´m using advancedHmiv399xR1. I have just finished another debug test, the result has been the following exception at 90 minutes:
Thread 0x22a8 ended with code 0 (0x0).
'Masicos.exe' (CLR v4.0.30319: Masicos.exe): 'C: \ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Transactions.resources \ v4.0_4.0.0.0_en_b77a5c561934e089 \ System.Transactions.resources. dll 'loaded. The module was compiled without symbols.
System.Transactions Critical: 0: <TraceRecord xmlns = "http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity = "Critical"> <TraceIdentifier> http://msdn.microsoft.com/TraceCodes / System / ActivityTracing / 2004/07 / Reliability / Exception / Unhandled </TraceIdentifier> <Description> Unhandled Exception </Description> <AppDomain> Masicos.exe </AppDomain> <Exception> <ExceptionType> System.OverflowException, mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089 </ExceptionType> <Message> The dimensions of the array exceeded the supported range. </Message> <StackTrace> in MfgControl.AdvancedHMI.Drivers.Modbus.RTU.ModbusRTUDataLinkLayer. a (Object A_0, SerialDataReceivedEventArgs A_1)
   in System.IO.Ports.SerialPort.CatchReceivedEvents (Object src, SerialDataReceivedEventArgs e)
   in System.IO.Ports.SerialStream.EventLoopRunner.CallReceiveEvents (Object state)
   in System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
   in System.Threading.ThreadPoolWorkQueue.Dispatch () </StackTrace> <ExceptionString> System.OverflowException: The dimensions of the array exceeded the supported range.
   in MfgControl.AdvancedHMI.Drivers.Modbus.RTU.ModbusRTUDataLinkLayer.a (Object A_0, SerialDataReceivedEventArgs A_1)
   in System.IO.Ports.SerialPort.CatchReceivedEvents (Object src, SerialDataReceivedEventArgs e)
   in System.IO.Ports.SerialStream.EventLoopRunner.CallReceiveEvents (Object state)
   in System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   in System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
   in System.Threading.ThreadPoolWorkQueue.Dispatch () </ExceptionString> </Exception> </TraceRecord>
Unhandled exception of type 'System.OverflowException' in MfgControl.AdvancedHMI.Drivers.dll
The dimensions of the matrix exceeded the allowed range.

The program '[8692] Masicos.exe' ended with code -1 (0xffffffff).

I will set the enabble logging true property to see the result in the following test.

12
Support Questions / system.ArgumentOutOfRangeException
« on: February 12, 2020, 02:51:12 PM »
I receive an exception in my program when its working one hour more or lest, I use basiclabels in my application and modbusRTUcom, the exception I receive is the following: System.ArgumentOutOfRangeException: 'The index was out of range. It must be a non-negative value and less than the size of the collection.
But it doesn't show me the code where it occurs, it shows me the following:
The application entered an interrupted state, but there is no code to display because all threads were executing external code (usually, system or frame code).
Can anyone help me? Thank you

13
Support Questions / Re: how to read float value
« on: December 05, 2019, 04:23:05 PM »
I've solved muy doub, i add F before The plcadress and i can read the exact value. Thanks Archie

14
Support Questions / how to read float value
« on: December 05, 2019, 02:51:52 AM »
I obtain the next value of PLC 2.38772e-2. I try obtain this value in a basiclabel, but I obtain 2. How I can obtain the real value with the conversion(0.0238772)  in a basiclabel?? Thanks.

15
Support Questions / Re: Read problem windows 7
« on: December 05, 2019, 12:38:47 AM »
Thank you very much

Pages: [1] 2 3