Chapter 6 Instruction Details
XBC E-Type Main Unit
6-314
Ver. 1
6.46.3 PUT, PUTP
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
PUT(P)
sl
-
-
-
-
-
-
-
-
-
-
-
O
-
-
-
-
4~7
O
-
-
S
-
-
-
-
-
-
-
-
-
-
-
O
-
-
-
-
D
O O O
-
O
-
-
-
-
-
-
-
O O O O
N
O O O
-
O
-
-
-
-
-
-
O
-
-
-
-
Operand
Description
Data Size
sl
Slot number where special module is installed (Set to the Hexadecimal)
WORD
S1
Address in internal memory of special module
WORD
S2
Start number of Device or a Constant, saved data will be saved in special module.
WORD
N
Number of data to save
WORD
[Flag Setting]
Flag
Description
Device Number
PUT/GET
Error
If there is no special module installed on specified slot
If PUT/GET instruction is not completed correctly
F0015 ~ F0022
1) PUT
(1) This instruction is used to write the data in special module with memory.
(2) It writes N word data from device specified in S2, in specified special module’s memory (specified in S) in
sl (special module’s slot number).
(3) If there is no special module specified in sl (special module’s slot number), or PUT instruction is not
completed correctly, applicable position bit of PUT/GET Error Flag, F0015~F0022(WORD) will be set.
(4) The setting method of sl (slot number of special module) is to set the 2 places of Hexadecimal. If sl ‘h14’
is same as below program, first number ‘1’ is a base number and second ‘4’ means a slot number.
M00021
PUT h14 2 D00100 4
F0015
F0016
b15
b0
1
.
.
.
F0022
If there is no special module in
the Slot 0 of No.1 Base, or PUT
instruction is not completed
correctly.
PUT
means PUT
P sl
PUTP
sl
S2
N
S1
S2
N
S1
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...