
Chapter 7. MK PROGRAMMING
7 - 1
Chapter 7. MK PROGRAMMING
This chapter explains the programming method for using the high speed counter module.
7.1 Buffer Memory Read / Write
The followings explain the read/write of the PLC CPU from/to the Buffer Memory.
7.1.1 Read from the Buffer Memory(GET,GETP)
The instruction given below are used to read data from the Buffer Memory of the high speed counter
module to the CPU. The data read can be stored to the CPU memory(F area is not excluded.).
Always executed when the execution condition
is in the On state. .
GET
Executed when the execution condition turns On.
GETP
[Table 7.1] The difference between GET and GETP
Format
[Fig 7.1] Read Instruction GET
[Fig 7.2] Method for Obtaining n1.
GET n
1
n
2
D n
3
Content
Number of
the slot
where the
special
module is
loaded
Head
address
of the
Buffer
Memory
where the
data is
stored.
No. of the
head
word of
the CPU
memory
area
where the
read data
is stored.
Number of
words of
the read
data.
(1~50)
Usable
memory
area
Integer
Integer
(Decimal
/ H e x )
M,P,K,L,
T , C , D
or #D
Integer
Main base Expansion base
Power
CPU
slot 0
slot 1
slot 2
slot 3
slot 4
slot 5
slot 6
slot 7
Power
slot 0
slot 1
slot 2
slot 3
slot 4
slot 5
slot 6
slot 7
(n
1
)
0
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15
Poin
t
n
1
is calculate d from 8 for the first expansion base board, from 16 for the second and from 24
for the third.
GET instruction
execution condition