![LS Industrial Systems XGF-HD2A Скачать руководство пользователя страница 63](http://html1.mh-extra.com/html/ls-industrial-systems/xgf-hd2a/xgf-hd2a_user-manual_1943810063.webp)
Chapter 6 Global Constant and Global Variable
6-1
Chapter 6 Global Constant and Global Variable
It is described to global constant and global variable for XGI/XGR series.
Remark
It is terminology for XGI/XGR series to Global constant(VAL_GLOBAL_CONST) and Global variable(VAL_GLOBAL).
In XGK series, global constant is equivalent to the internal memory, global variable is to input/output signal(U device).
6.1 Global Constant
CPU module of XGI/XGR series are sharing the global constant area for the data transmission and receiving. It is PUT_### for the
function block to transmit the data form XGI/XGR CPU module to the global constant area of the high speed counter module, the
receiving function block is GET_###. About PUT_###, GET_### function block, please refer to the ‘chapter 7 Programming’.
6.1.1 The configuration of Global Constant
1. Input data
Channel 0
Channel 1
Constant
Value
Contents
Data setting range
_Fxy_CH0_CNT_MODE 00
_Fxy_CH1_CNT_MODE 25
Count types
0 or 1
_Fxy_CH0_PLS_MODE 01
_Fxy_CH1_PLS_MODE 26
Pulse input types
0 ~ 7
_Fxy_CH0_PRESET 02
_Fxy_CH1_PRESET 27
Preset value
-2147483648 ~
2147483647
_Fxy_CH0_RING_MIN 04
_Fxy_CH1_RING_MIN 29
Ring count minimum value
-2147483648 ~
2147483647
_Fxy_CH0_RING_MAX 06
_Fxy_CH1_RING_MAX 31
Ring count maximum value
-2147483648 ~
2147483647
_Fxy_CH0_CP0_MODE 08
_Fxy_CH1_CP0_MODE 33
Type of comparison output 0
0 ~ 6
_Fxy_CH0_CP1_MODE 09
_Fxy_CH1_CP1_MODE 34
Type of comparison output 1
0 ~ 6
_Fxy_CH0_CP0_MIN 10
_Fxy_CH1_CP0_MIN 35
Comparison reference value of comparison output 0(single
comparison)/minimum value(section comparison)
-2147483648 ~
2147483647
_Fxy_CH0_CP0_MAX 12
_Fxy_CH1_CP0_MAX 37
Maximum value of comparison output 0 (section comparison )
-2147483648 ~
2147483647
_Fxy_CH0_CP1_MIN 14
_Fxy_CH1_CP1_MIN 39
Comparison reference value of comparison output 1(single
comparison)/minimum value(section comparison)
-2147483648 ~
2147483647
_Fxy_CH0_CP1_MAX 16
_Fxy_CH1_CP1_MAX 41
Maximum value of comparison output 1 (section comparison )
-2147483648 ~
2147483647
_Fxy_CH0_AUX_MODE 18
_Fxy_CH1_AUX_MODE 43
Type of additional function
0 ~ 6
_Fxy_CH0_PERIOD 19
_Fxy_CH1_PERIOD 44
Setting time of sampling count or of setting time “revolution per
unit time”
0 ~ 60000
_Fxy_CH0_REV_UNIT 20
_Fxy_CH1_REV_UNIT 45
Pulse per 1 rotation of “revolution per unit time”
0 ~ 60000
_Fxy_CH0_FREQ_MODE 21
_Fxy_CH1_FREQ_MODE 46
Frequency display unit of “input frequency measure”
0 ~ 3
Remark
(1) ‘Fxy’ : ‘x’ means the base number of the high speed counter module, ‘y’ means the slot number of it.
(2) Constant value can not be modified, because it is the address of input data area.
(3) Constant value is the same as the internal memory address of XGK series.
Содержание XGF-HD2A
Страница 56: ...Chapter 4 Operation Procedures and Monitoring 4 12 ...
Страница 59: ...Chapter 4 Operation Procedures and Monitoring 4 15 ...
Страница 90: ...Chapter 7 Program 7 24 b Scan program of XGI XGR series ...
Страница 127: ...Appendix 3 GM Function Block Conversion Program App3 20 e Auxiliary Function Operating ...