EasyManua.ls Logo

LS Industrial Systems XGF-HO2A - Page 71

LS Industrial Systems XGF-HO2A
131 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Programming
7-5
(2) Use of GET function block
(a) HSC module is equipped at slot 8 of basic base. While ‘Read1’ is on, it transmits data of ‘_F08_CH0_CNT_ MODE‘ to
‘Output data1’
XGI/XGR CPU module HSC module
Input variable (MADDR)
Output variable (DATA)
Global variable Constant value Data
Output data1
_F08_CH0_CNT_MODE 0 Data1
Remark
(1) Results of above two examples are same.
(2) For detail of Global variable, refer to XG5000 user manual.
(b) It transmits data at the rising edge of execution condition
(c) HSD module is equipped at slot 4 of extension base stage 2. While ‘Read2’ is on, it transmits data of ‘_F24_CH1_CP0 _MIN’
to ‘OutputData2’.
XGI/XGR CPU module HSC module
Input variable (MADDR)
Output variable (DATA)
Global constant Constant
value
Data
OutputData2
_F24_CH1_CP0_MIN 35 Data2
Read1
Read1
OutputData1
OutputData1
Read1
OutputData1
Read2
OutputData2

Table of Contents