Post Data To The Controller - ICP DAS USA ISaGRAF WinCE ViewPAC User Manual

Table of Contents

Advertisement

5.4.3 Post Data To The Controller

The former
section 5.4.2
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.
name of this form
<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>
Inside the form, the last "<input>"
must name as "END" (case sensitive)
and type as "hidden"
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.
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
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.
listing how to get and display data from the controller. This section focuses on
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
method should be "post" ,
action should be "./main.dll"
All the other "<input>" appeared between
"BEGIN" & "END" are the data to post to
the controller.
Inside the form, the
first "<input>" must
name as "BEGIN"
(case sensitive) and
type as "hidden"
5-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vp-25w7Vp-23w7Vp-4137Vp-25w6Vp-23w6Vp-4136

Table of Contents