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

Pages: [1]
1
Support Questions / Float DigitalPanelMeter
« on: January 09, 2017, 01:34:13 PM »
Hi, how I can view the data in the floating DigitalPanelMeter beds with Modbus protocol?
Thank you

2
Feature Request / Driver Siemens Profilnet
« on: November 12, 2016, 05:38:42 PM »
How you can communicate with a Siemens S7 PLC in 1200 profilnet?
Siemens is used a lot, but I found that there are no drivers for this PLC.

There is a library called very good SNAP7 for siemens.
How can you integrate this advanceHMI Driver?
Many thanks

3
Support Questions / Re: Assign new color to the property LightColor1
« on: November 11, 2016, 02:39:56 PM »
Grazie Mille

4
Support Questions / Assign new color to the property LightColor1
« on: November 11, 2016, 10:42:18 AM »

How do I assign a new color to a property of an object by code?
I wrote this code, but it creates me error.

Code: [Select]
PilotLight3Color2.LightColor1 = "Red"

Thanks for your help

5
I understand what you mean.
I know what happens by writing the "weight" of a single bit in a word.
Having to "raise" a single bit at a time in the word, is good for me to proceed in this way.
Differently I first read the value of the word, and then I added or subtracted the weight of the bit to be written.
Code: [Select]



*Ready Word
Value_Ready=ModbusTCPCom1.Read ("4:14200")

*Set Word
value_Write=Value_ready+bit_value

*Write Word
ModbusTCPCom1.Write ("6:14200", value_Write)

6
Forgive the delay in reply.
Quote
Just out of curiosity:

What "address" are you using in those statements: ModbusTCPCom1.Write ("address", value)?

Code: [Select]
ModbusTCPCom1.Write ("6:14200", 1)
Bit1=true
Write: ModbusTCPCom1.Write ("6:14200", 2)
Bit2=true
Write: ModbusTCPCom1.Write ("6:14200", 4)
Bit3=true
ecc.
Sorry if my English is unclear

7
Hello, I would write the "weight" (value) of the bit.
For example, bit 1 = 1; bit 2=2; bit 3 = 4;  ........   bit 8 = 255 etc.
In this way we solve the problem.
I create many buttons (Pilotlight) for each bit to be set, without further complications.
I can do it with the clik event inserting the statement.
ModbusTCPCom1.Write ("address", value).
But I do not know if there is a suitable object properties.
Thanks for your patience

8
This format also works with read me.
But I just can not understand how to send a value to the property
"WriteValue"
When you select the WriteValue property, where you write the value to be sent?

9
I do not know how he funzionarti.
To me it does not work.
My starting address is 14200
BasicButton: 22:414200.10 get "address must be 4-11 digit"
BasicButton: 22:14200.10 I get "invalid address format"
Pilotlight 22:14200.10 get "write failed format of the input string incorrect"

10

but in the properties of "Pilotlight" I do not find "ValuetoWrite"

I find it only in"BasicButton"

11
I'm sorry, but I can not make it work.
I also installed the patch, but not function.
Could you tell me where to write the value to be sent with the property OutputType = WriteValue?
For example if I want to send with the clik the value 2 as you do?
Excuse me, but the language creates problems in understanding.
Thank you

12
in which directory should be installed the patch!
thank you so much

13
I can not make it work.
The device responds to me with function code error.
Yet the manual it says it accepts the function (0x16)

I'm working with version "Advanced HMI 399r".
You must still update with the patch?

May I ask where you enter the value to be sent in the properties of "Pilotlight"? When I select the "OutputType = WriteValue"

Thanks again

14
Thanks for the answer, but if my device supports the function 22 (0x16)
How do you spell the correct size?
With the evidence I have done, I give me back the incorrect format error.
Thank you

15
Hello Guys, it's the first time I use advanceHMI.
Sorry for my bad english.

How can a writing pad the value of a single bit.
I can read the individual bits in the address by entering properties.
for example 414200.1
But if you want to write me error.
I tried both and
614200.1
6:14200.1
6:14200,1
In both cases me error.
Vorri write it with the subject "Pilotlight"
I hope you understand what I wrote.
Thank you

Pages: [1]