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 ... 10 11 [12]
166
Support Questions / Re: how to make my own component?
« on: October 16, 2016, 12:12:08 PM »
thanks for replaying

i used to make them when i was using DMT.dll Library
the library that communicate with delta plc

i was doing it like this :
1- add new item ( user control )
2- i put in its designer what i need
-picture box
-(3) text boxes one for each variable and hide them
-timer

3-i disable the picture box
4- i put the request data function in the timer
in the function there is 3 variables
a- the device address (coil address in my case)
then if the received data is 0 then picture box is disabled
and if the received data is 1 then picture box is enabled

5- i put the property i need to be able to change it ( witch in my case is the plc  value address )
6- rebuild the project

so in the end
the when i choose it from the toolsbox

i put the value address
and when i start the program if the coil is on the picture moves

no i wanna be able to do that with the advancehmi 
so i want the code
that i should use to send and receive data using it


167
Support Questions / how to make my own component?
« on: October 16, 2016, 10:38:08 AM »
is it possible to make my own component to use with advance hmi ?
for example
i have a moving picture
if the coil is on the picture start moving
if the coil is off the picture stops
and a visible address to use

with thanks

168
Support Questions / Re: advance HMI and remote connection
« on: October 16, 2016, 10:03:25 AM »
thanks guys
sorry i didnt replay sooner

i have got it work
it seems there was something wrong with the router
i tried it on another one and it worked great
thanks guys :)

169
Support Questions / Re: advance HMI and remote connection
« on: October 13, 2016, 05:40:39 AM »
yes but first it is not the real ip and second in the dvr there is a username and password u have to name them

but if i gave u the real ip and port u will access the login screen

170
Support Questions / Re: advance HMI and remote connection
« on: October 12, 2016, 12:56:40 PM »
the way i see it like the DVR (Digital video recorder) for surveillance camera systems
for example
i have a dvr connected to my router
the dvr ip is 192.168.0.5 the port 502 and the internet connection ip is 10.20.30.50


what i have to do is foreword its ip and port through the router like the photo in my post
then i download the client on my phone or pc
and i right the ip address for the internet the dvr on and the port used by the dvr
so in the client i write 10.20.30.50\502
and it should show the dvr easily

171
Support Questions / Re: advance HMI and remote connection
« on: October 12, 2016, 05:05:21 AM »
So u mean it cant be done?

172
Support Questions / advance HMI and remote connection
« on: October 11, 2016, 01:03:49 PM »
hello

i wanna know does (ModbusTCPCom) support remote connection?
meaning access it throw the internet not the local network
if it does
please tell me how to do it

note:
am using delta dvpES12
the local ip is 192.168.0.5
port : 502

i have opened Virtual Server in the router
as in the attachment

when i am connected to the same network
it works fine

but when am on a def rent network ( another internet connection )
it fails to connect

any one can help?
with thanks

173
Support Questions / Re: Delta plc with advance hmi Addressing problem
« on: October 10, 2016, 06:27:33 PM »
oqapsking,

You should also check the posts in the link Archie provided previously (start from the very first post which shows common Modbus addressing and also check the video link and any pictures posted).

If you do a bit more research on Modbus, you might see something like this:

Coil Outputs - address range 0xxxxx (Boolean values or bit registers)
Digital Inputs - address range 1xxxxx (Boolean values or bit registers)
Analog Inputs - address range 3xxxxx (Word values or 16-bit registers)
Holding Registers - address range 4xxxxx (Word values or 16-bit registers)

Archie used decimal values since that appears to be the address format that AHMI controls accept.

For conversion of hex values to decimal, you can use online converters such as this: http://www.binaryhexconverter.com/hex-to-decimal-converter

thanks godra
it worked as this

0xxxx to  toggle the coil
1xxxx to read the coil value

174
Support Questions / Re: Delta plc with advance hmi Addressing problem
« on: October 10, 2016, 06:25:33 PM »
thank u man
u r the best

am really grateful

175
Support Questions / Re: Delta plc with advance hmi Addressing problem
« on: October 10, 2016, 05:20:56 PM »
thanks man

now i understand it

i started now to build my project


and thanks a lot u have been very helpful

176
Support Questions / Re: Delta plc with advance hmi Addressing problem
« on: October 10, 2016, 10:38:41 AM »
man it worked
u r the best

could u show me the steps how to do it ?
how did u know that the read is 4
and what is the stips to confert the address from d500 to 4597

with thanks

177
Support Questions / Re: Delta plc with advance hmi Addressing problem
« on: October 10, 2016, 04:50:01 AM »
thanks for ur replay

the thing is i didn't understand it
to be exact is still don`t know exactly what to write the address value


these in the attachment r the protocol for delta communication
 
could u tell me what the register "D500" will be; i mean the value that i should put in address value to read it?

178
Support Questions / Delta plc with advance hmi Addressing problem
« on: October 10, 2016, 12:50:39 AM »
hello
first i want u to know that am new in plc world and in vb programming

i tried to communicate with the plc throw the computer
so i started with dmt.dll the library of Delta automation
i built my first project it worked fine with serial com and local network
so i still want to build one that remotely control the plc or at least monitors it
the problem is in dmt library i can chose the ip but not the port
thats what made me look for anther modbus and brought me here

now i am trying to use advance hmi

i couldn't read or write any thing to or from the plc
the driver am using is ModbusTCPCom
the plc is delta dvp12se
i think my problem is with modbus addressing
for example i wanna read the address (d502)
when i write it in the address value  it says on the digital panel text ( invalid address ...)
so any one can tell me how to solve it
or show me how to transfer the address to the write way
with thanks
Issa Hirbawi

Pages: 1 ... 10 11 [12]