hit counter script

LG MASTER-K Series User Manual page 76

Programmable logic controller
Table of Contents

Advertisement

Chapter 7. MK PROGRAMMING
Example 1
When the high speed counter module is mounted on the first expansion base and the data at address 5 of
the
Buffer Memory is read to the two words D15 and D16.
Register
Example 2
When the same data as the example 1 is read but a pulse relay is used.
Example 3
When the high speed counter module is mounted on the slot 4 of the main base and the 6-word data
from address 6 of the Buffer Memory are read to the D1 to D6.
CPU
D15
(Data)
D16
(Data)
Execution Condition
Execution Condition
M0008
CPU
D1
Data 1
D2
Data 2
D3
Data 3
D4
Data 4
D5
Data 5
D6
Data 6
Execution Condition
[Fig 7.3] 16-Bit Data Read Example
High Speed Counter Module
Buffer Memory
Read
(Data)
(Data)
G E T
8
5
GETP
8
2
High Speed Counter Module
Data 1
GET
Data 2
Data 3
Data 4
Read
Data 5
Data 6
G E T
4
7 - 2
(address)
5 Current count value of
CH0
6
D 0 0 1 5
2
D
M0008
5
D0015
10
11
12
13
14 Data of CH1
15
1 0
D 1
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Glofa gm seriesG3f-hscaG4f-hscaG6f-hsca

Table of Contents

Uploaded: cache9/manual/2166795/Lg-Master-K-Series.html%3Fpage%3D76.gz