![background image](http://html1.mh-extra.com/html/icp-das-usa/isagraf-vp-23w7/isagraf-vp-23w7_user-manual_614285192.webp)
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
Ap-32
Appendix L How to Detect the Status of Dual Battery and the
Ethernet Port
NOTICE:
Please power off the Controller before replacing the battery
; it may cause permanent damage if the
battery accidently touches other metal electronic parts.
The ViewPAC equips a 512 KB SRAM with dual battery design to retain the data even in the case of total
power loss. This dual battery design allows for the replacement of one of the batteries without losing
power and thus not losing the data stored in the memory. (
Warning:
Please do not take out these two
batteries at the same time or the data will be lost during this period of non-power.
)
Use “R_MB_ADR” function to Detect the Status of Dual Battery
Use the Function “
R_MB_ADR
” and assign its parameter “ADR” as “
9992
” and “
9993
” to read the
batteries’ status. Show as the 1
st
and 2
nd
line of the LD program listed as below.
ADR number “9992” : the status of battery number 1.
ADR number “9993” : the status of battery number 2.
Use “R_MB_ADR” function to Detect the Status of Ethernet port
Use the Function “
R_MB_ADR
” and assign its parameter “ADR” as “
9987
” to read the status of the
Ethernet ports. Show as the 3
rd
line of the LD program listed as below.
ADR number “9987” : the status of LAN1.
Name
Type
Attrib.
ADR
Description
batery1
Integer
Internal
9992
Detect the status of battery 1.
batery2
Integer
Internal
9993
Detect the status of battery 2.
lan1
Binary
Internal
9987
Detect the status of LAN1.
After executing the program:
1.
The return values for parameters “batery1” & “batery2” status:
"99" : Power ok, no require to replace the battery at the moment.
"0" : Low power status; please replace the battery as soon as possible.
2.
The return values for parameters “lan1” status:
"1" : ok.
"0" : broken-line.
Содержание 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 ...