Chapter 6 Command
6-1
Chapter 6 Command
Here describes the positioning command.
6.1 Contents of General Command
Command Command description Command condition
PUT
Internal memory write
(Level)
Base, memory address, save device leading address, data number to write at
one time
PUTP
Internal memory write
(Edge)
Base, memory address, save device leading address, data number to write at
one time
GET
Internal memory read
(Level)
Base, memory address, save device leading address, data number to write at
one time
GETP
Internal memory read
(Edge)
Base, memory address, save device leading address, data number to write at
one time
6.1.1
Internal Memory Read (GET, GETP Command)
Form Description Available area
n1
Base and slot No. installed with special module Constant
n2
Leading address of special module internal memory to read a data Constant
D
Leading address of device to save the data to read M, P, K, L, U, N, D, R
n3
Word number of data to read M, P, K, L, Constant
(1) Difference between GET Command and GETP Command
(a) GET Command
Always execute when operating condition is ON. (Level)
That is, when execute condition is ON, it operates continuously.
(b) GETP Command
Execute with operation start of execute condition. (Edge)
That is, when execute condition is ON, it operates only one time.
To operate again, execute condition should be off and on again.
The case is that read current position, current speed and step number from axis Y state information of
positioning module which installed in No.0 base, No.2 slot to PLC CPU M0000.
Set the number of data as 5 to read 5 Word from current position to step number.
Exam
le