Chapter 7 Programming
7-1
Chapter 7 Programming
Here describes how to program by using instruction (XGK series) or function block (XGI/XGR) at scan program of XG5000
7.1 Instruction and Function Block
Here describes instruction and function block to read and write data of HSC module at XGT CPU module.
Remark
There is difference on terminology used in XGK series and XGI/XGR series. The following table indicates the relation of
terminology used in HSC module.
XGK series
XGI/XGR series
Instruction Function
Block
Internal memory
Global constant
I/O signal (U device)
Global variable
Device Variable
F area
Flag
7.1.1 Instruction of XGK series
1. GET/GETP instruction
It is an instruction used to read the details of High Speed counter module’s internal memory to PLC CPU. The
read data can be saved on PLC CPU memory (except F area).
(1) Operation of GET/GETP instruction
GET
Always executed with execution condition On
Level
GETP
Executed with execution condition of operation start
Edge
(2) Configuration of GET/GETP Instruction
Type
Description
Area Available
Type
n1
Slot No. the special module is installed on
Integer
Hexadecimal is
recommended
n2
Start address of special module’s operation parameters setting area to
read data
Integer
n3
Device’s start address with saved data to read
M, P, K, L, T, C, D, #D
n4
Number of words data to read
Integer
Содержание 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 ...