
4.2 PARAMETERS SETTING ..........................................................................................................................................4-4
4.2.1 Parameters setting screen ..............................................................................................................................4-4
4.3 MONITORING AND TEST .........................................................................................................................................4-6
4.3.1 Monitoring/Test screen....................................................................................................................................4-6
4.4 REGISTER UDEVICES............................................................................................................................................4-9
4.4.1 View variables .................................................................................................................................................4-9
4.4.2 Register U Devices..........................................................................................................................................4-9
4.5 REGISTRATION OF SPECIAL MODULE VARIABLE .....................................................................................................4-12
4.5.1 Global/Direct Variables screen......................................................................................................................4-12
4.5.2 Registration of the special module variables ................................................................................................4-12
Chapter 5 Internal Memory & I/O Signals ……………………………………… 5-1 ~ 5-3
5.1 INTERNAL MEMORY ...............................................................................................................................................5-1
5.1.1 Configuration of the internal memory..............................................................................................................5-1
5.1.2 Details & Data configuration............................................................................................................................5-2
5.2 I/O SIGNALS..........................................................................................................................................................5-3
Chapter 6 Global Constant & Global Variable ………………………………… 6-1 ~ 6-4
6.1 GLOBAL CONSTANT...............................................................................................................................................6-1
6.1.1 The configuration of Global Constant..............................................................................................................6-1
6.1.2 The Configuration and Contents of Data ........................................................................................................6-2
6.2 GLOBAL VARIABLE.................................................................................................................................................6-4
Chapter 7 Programming …………………………………………………………… 7-1 ~ 7-29
7.1 INSTRUCTION AND FUNCTION BLOCK......................................................................................................................7-1
7.1.1 Instruction of XGK series.................................................................................................................................7-1
7.1.2 Function Block of XGI/XGR.............................................................................................................................7-4
7.2 PROGRAM.............................................................................................................................................................7-7
7.2.1 Count mode setting .........................................................................................................................................7-7
7.2.2 Pulse input mode setting...............................................................................................................................7-10
7.2.3 Counter check ...............................................................................................................................................7-11
7.2.4 Preset value setting and enable preset.........................................................................................................7-12
7.2.5 Enable counter ..............................................................................................................................................7-13
7.2.6 Carry/borrow detection reset.........................................................................................................................7-13
7.2.7 Auxiliary mode setting and Enable auxiliary function....................................................................................7-14
7.2.8 Up/down count selection ...............................................................................................................................7-20
7.2.9 Use of external preset signal.........................................................................................................................7-20
7.2.10 Use of external auxiliary function signal.......................................................................................................7-21
7.2.11 Type of comparison and comparison value setting......................................................................................7-22
7.2.12 Enable comparison, Enable comparison output, Comparison agreement reset..........................................7-24
7.2.13 Comparison output status setting.................................................................................................................7-25
7.2.14 Input pulse active level setting......................................................................................................................7-26