![background image](http://html1.mh-extra.com/html/icp-das-usa/isagraf-vp-23w7/isagraf-vp-23w7_user-manual_614285098.webp)
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
5-10
5.4.2.3 Displaying Dynamic Long Integer Data
Demo example: vphmi_03 and vphmi_05
If user want to display the dynamic long integer value (32-bit format), the below code can be used.
…
function refresh_data()
{
L11.innerText = get_long_val(11) ;
}
<body onLoad="init()">
…
<div style="position: absolute; width: 214px; height: 53px; z-index: 2; left: 102px; top: 79px">
<b id="L11"> xxx </b> </div>
…
</body>
5.4.2.4 Displaying Dynamic String Data
If user want to display the dynamic string value (max length is 255), the below code can be used.
…
function refresh_data()
{
S31.innerText = string_val[31] ;
}
…
<body onLoad="init()">
…
<div style="position: absolute; width: 214px; height: 53px; z-index: 2; left: 102px; top: 79px">
<b id="S31"> empty </b> </div>
…
</body>
The action of the Text object “L11” is defined here.
The declaration of Text object “L11” is defined here by the
“<b” tag and id=”L21” and “</b>” tag , the initial value of
this L11 is “xxx”
The action of the Text object “S31” is defined here.
The declaration of Text object “S31” is defined here by the “<b” tag
and id=”S31” and “</b>” tag, the initial value of this S31 is “empty”
The layout (or location) of the Text object “S31” is defined
here by the “<div” and “</div>” tags.
The layout (or location) of the Text object “L11” is defined here
by the “<div” and “</div>” tags.
Содержание ISaGRAF VP-23W7
Страница 44: ......
Страница 118: ......
Страница 134: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS 9 2 On line help of ICP DAS add on functions function blocks ...
Страница 176: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 16 Appendix C Hardware Interface Dimension ...
Страница 177: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 17 VP 23W7 23W6 Unit mm ...
Страница 178: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 18 VP 25W7 25W6 Unit mm ...
Страница 179: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 19 ...
Страница 180: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 20 VP 41x7 41x6 Unit mm ...
Страница 185: ...ISaGRAF WinCE ViewPAC User Manual V 1 6 1 2017 by ICP DAS Ap 25 ...