ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
5-13
5.4.3 Post Data To The Controller
listing how to get and display data from the controller. This section focuses on
posting data to the controller, in other word to control the ViewPAC via the Internet Explorer.
To set a new value to the Boolean, word, long integer, float , timer and string variables in the ISaGRAF
project, we need “form” object appeared in the main.htm or other multi-pages. A “form” object looks
like as below.
<form name="
form_L21
"
method="post"
action="./main.dll
">
<input name="
BEGIN
" type="
hidden
">
<input name="L21" type="text" size="8" value="xxx">
<input name="
END
" type="
hidden
">
</form>
The “<input>” name to control the ViewPAC ’s data must follow below format. The number followed
behind the first letter should be in the range from 1 to 1024. This number point to the variable name in
the ISaGRAF project with the same Modbus Network Address No.
Note
:
The long integer, timer and float variable’s Network Address No. must occupy 2 No. in the ISaGRAF
project (refer to section 4.2 of “User’s Manual of ISaGRAF Embedded Controllers” or in the CD-ROM:
\napdos\isagraf\vp-25w7-23w7\english-manu\ ” User_Manual_I_8xx7.pdf”)
That means if you assign a Network Address No.= 11 to a Real type variable(or Timer or integer will have
32-bit value – larger than 32767 or smaller than -32768), the next No. 12 should not assigned to any
other variable in the ISaGRAF project. However you may assign No.=13 to one another variable.
name of this form
B
point to the ISaGRAF boolean data , for ex, B5 , B109
W point to the ISaGRAF word data (-32768 to +32767), for ex, W9 , W1001
L
point to the ISaGRAF long integer data (-2147483648 to +2147483647), for ex, L21. This “L”
Also point to the ISaGRAF timer data
F
point to the ISaGRAF real data, for ex, F13 , F235
S
point to the ISaGRAF message data , for ex, S18
method should be “post” ,
action should be “./main.dll”
Inside the form, the last “<input>”
must name as “END” (case sensitive)
and type as “hidden”
Inside the form, the
first “<input>” must
name as “BEGIN”
(case sensitive) and
type as “hidden”
All the other “<input>” appeared between
“BEGIN” & “END” are the data to post to
the controller.
Summary of Contents for ISaGRAF VP-23W7
Page 44: ......
Page 118: ......
Page 177: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 17 VP 23W7 23W6 Unit mm ...
Page 178: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 18 VP 25W7 25W6 Unit mm ...
Page 179: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 19 ...
Page 180: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 20 VP 41x7 41x6 Unit mm ...
Page 185: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 25 ...