![background image](http://html1.mh-extra.com/html/icp-das-usa/isagraf-vp-23w7/isagraf-vp-23w7_user-manual_614285190.webp)
ISaGRAF WinCE ViewPAC User Manual , V.1.6 , 1/2017 by ICP DAS
Ap-30
Appendix J Control Buttons On the Front Panel
ViewPAC has built some buttons on its front panel. These buttons is useful in some applications. To get
the state of these buttons, please use the “EEP_B_R” function to read them. For example, user may
write a ST program as below to read the state of “F1” , “F2” , “F3” , “F4” , F5” and “F6” buttons.
The “EEP_B_R( ADR_ )” definition for ViewPAC 's buttons:
ADR_ :
16#A00F1 (
F1
)
, 16#A00F2 (
F2
)
, 16#A00F3 (
F3
)
16#A00F4 (
F4
)
,16#A00F5 (
F5
)
, 16#A00F6 (
F6
)
16#A0030 (
0
)
, 16#A0031 (
1
)
, 16#A0032 (
2
)
16#A0033 (
3
)
, 16#A0034 (
4
)
, 16#A0035 (
5
)
16#A0036 (
6
)
, 16#A0037 (
7
)
, 16#A0038 (
8
)
16#A0039 (
9
)
16#A006E (
.
)
, 16#A000D (
Enter
)
16#A0008 (
BackSpace
)
, 16#A0010 (
Shift
)
,
16#A0025 (
Left
)
, 16#A0026 (
Up
)
16#A0027 (
Right
)
, 16#A0028 (
Down
)
(* “F1_btn” , “F2_btn”, ..., “F6_btn” are declared as Boolean / Internal variables
The following EEP_B_R( ) returns True if the related button is pressed.
The following EEP_B_R( ) returns False if the related button is released.. *)
(* True means pressed, False means released *)
F1_btn := EEP_B_R( 16#A00F1 ) ;
F2_btn := EEP_B_R( 16#A00F2 ) ;
F3_btn := EEP_B_R( 16#A00F3 ) ;
F4_btn := EEP_B_R( 16#A00F4 ) ;
F5_btn := EEP_B_R( 16#A00F5 ) ;
F6_btn := EEP_B_R( 16#A00F6 ) ;
Содержание 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 ...