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

Pages: [1]
1
Support Questions / Re: Error Using C# Visual Studio 2017/2019
« on: May 05, 2021, 11:55:13 PM »
Yes


More detail of the error:
Code: [Select]
[pre]Error CS0012 The type 'SevenSegment2' is defined in an assembly that is not referenced.
You must add a reference to assembly 'MfgControl.AdvancedHMI.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.


2
Support Questions / Error Using C# Visual Studio 2017/2019
« on: May 05, 2021, 11:16:35 PM »
I download a fresh version. Usually I work with the .net version but I will need to use c#.


I was transfering a code from net to C# and as soon I put any element and try to do a sevensegment2.value=100D

Visual studio pointed to erros in
 
Code: [Select]
this.digitalPanelMeter1.BackColor = System.Drawing.Color.Transparent;
            this.digitalPanelMeter1.ComComponent = this.ethernetIPforCLXCom1;
            this.digitalPanelMeter1.DecimalPosition = 0;
            this.digitalPanelMeter1.ForeColor = System.Drawing.Color.LightGray;

3
Put a BasicLabel on the form and set both PLCAddressValue and PLCAddressKeypad to L48241 (this address should be covering 2 registers 48241 and 48242 because you are looking for 32-bit value).

Once you run the application then this BasicLabel should show you the value stored in registers and if you click the BasicLabel then a keypad should pop up to allow you to write a new value, which if successful will then be shown on the BasicLabel.


Thanks


I found a solution:


To Tare the load cell amplifier two codes have to be send to the specific adddress

As we send a 32 bits but is only a 16 bits I wireshark the TCP as recommended.


The amplifier accepts h2061 as the address to write, but the driver is sending to register 2060. Starting one before to write 32 bits.

I move my address to h2062 and the driver was sending the correct register to h2061.

Code: [Select]
Dim address = "48290"
        Dim v = ModbusTCPCom1.Write(address, "1")
        Dim v1 = ModbusTCPCom1.Write(address, "8")

4
Hi,

I am new with modbus, I am working with a DAD141.1 load cell amplifier

https://www.flintec.com/media/downloads/dad141.1-indicator-manual-en.pdf

with modbus addresses described here

https://www.flintec.com/media/downloads/DAD141_Modbus-Communication_Rev.2.3_EN.pdf

I am capable of reading the value of the DAD141 without problem.

If the address for reading is int32 you have to address AHMI to the next address and if its float is the exact address of the manual. But I can not find how to write to the address.

Code: [Select]
Dim CurrentValue As Integer = ModbusTCPCom1.Read("L48225") 'read DAD Value


' Zero DAD
        ModbusTCPCom1.Write("48289", &H2)
        'ModbusTCPCom1.Write("38289", &H2)
        ModbusTCPCom1.Write("08289", &H8)
        Dim CurrentValue2 As Integer = ModbusTCPCom1.Read("L48241")


Please  :-[ help me...


6
Support Questions / MODBUS TCP/IP address register for loadcell amplifier
« on: September 19, 2019, 07:35:21 PM »
Hi,

I am trying to interface a DAD141.1 load cell amplifier.

https://www.flintec.com/media/downloads/DAD141_Modbus-Communication_Rev.2.3_EN.pdf

The available functions are:



the index that I am trying to read is 0x2020 that in decimal is 8224



I tried to setup :48224 L48224 U48224 but not luck on that side.

I am getting the message of "Illegal data Value".

Can somebody tell me what is the proper format?


Pages: [1]