Chapter 7. Mk Programming; Buffer Memory Read / Write; Read From The Buffer Memory(Get,Getp) - LG MASTER-K Series User Manual

Programmable logic controller
Table of Contents

Advertisement

Chapter 7. MK PROGRAMMING

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. .
Executed when the execution condition turns On.
Format
(n
)
0
1
Point
n
is calculate d from 8 for the first expansion base board, from 16 for the second and from 24
1
for the third.
[Table 7.1] The difference between GET and GETP
GET instruction
execution condition
Number of
the slot
w h e r e t h e
Content
s p e c i a l
m o d u l e i s
loaded
U s a b l e
m e m o r y
Integer
area
[Fig 7.1] Read Instruction GET
Main base
1
2
3
4
5
[Fig 7.2] Method for Obtaining n1.
GET
n
n
D
1
2
N o . of the
Head
head
a d d r e s s
w o r d o f
of the
the CPU
Buffer
m e m o r y
M e m o r y
area
w h e r e t h e
w h e r e t h e
data is
read data
stored.
is stored.
Integer
M , P , K , L ,
(Decimal
T , C , D
/ H e x )
or #D
6
7
7 - 1
n
3
Number of
w o r d s o f
the read
data.
(1~50)
Integer
Expansion base
8
9
10
11
12
GET
GETP
13
14
15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Glofa gm seriesG3f-hscaG4f-hscaG6f-hsca

Table of Contents