Chapter 5. dedicated instructions, For special modules – LG K7F-PIDA User Manual

Page 26

Advertising
background image

Chapter 5. DEDICATED INSTRUCTIONS FOR SPECIAL MODULES

5 - 1

Chapter 5. DEDICATED INSTRUCTIONS



FOR SPECIAL MODULES

(Read from /Write to Buffer memory)

The PID module is available only for local and occupies 16 I/O points.

5.1 Read from Buffer Memory

⋅⋅⋅⋅

⋅⋅⋅⋅

⋅⋅⋅⋅

GET, GETP

<Format> execution condition
for GET

Format

Descriptions

Available Data Type

n1

The slot No. where a special module is mounted

Integer

n2

Head address of the special module buffer memories from which
the data will be read.

Integer

D

Head address of the device to store the data read.

M,P,K,J,T,C,D,#D

n3

Number of data to be read .

Integer

<The difference between GET and GETP>

GET: Always executed if the execution condition turns on.( )

GETP : Executed if the execution condition is triggered. ( )

Example 1) In this example, the PID control module is mounted on the slot 3 in the base unit and the data of
buffer memory addresses 202 and 203 will be read to the CPU module addresses D202 and D203.

PID control module

(address) CPU module D area buffer memory (address)

D200

D200

D201

D201

D202

MV of loop 0

MV of loop 0

D202

D203

MV of loop 1

MV of loop 1

D203

D204

D204

<GETP> execution condition for GETP


<GET>
execution condition

for GET

execution condition

for GETP
<GETP>
M0000

GET n1 n2 D n3

GET 00003 00202 D0202 00002

D M0000

GETP 00003 00202 D0202 00002

Advertising
This manual is related to the following products: