Pute Instruction - Mitsubishi QCPU Structured Programming Manual

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

G_PUTE
5.2.12

PUTE instruction

G(P)_PUTE
Structured ladder
G_PUTE
EN
ENO
Un*
s1
s2
Input argument
EN:
Un*:
s1:
s2:
Output argument
ENO:
d:
Function
This instruction registers a user frame.
Control Data
Device
Item
Registration/deletion specification
[0]
S1
Registration/deletion result
[1]
S1
Frame No.
[2]
S1
Number of registered bytes
[3]
S1
5.2 Serial Communication and Modem Interface Instruction
5-74
5.2.12 PUTE instruction
ST
ENO:=
(EN, Un*, s1, s2, d);
G_PUTE
d
Executing condition
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
Variable that stores control data
Start number of the device that stores read registration data
Execution result
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
Internal device
Setting
*1
data
Bit
Word
S1
S2
d d
Specify whether to register the user frame of the
number specified by
1: Registered 3: Deleted
The instruction completion status is stored.
0
Other than 0
Specify the user frame number.
1 to 80: Number of bytes of the user frame to be
registered.
* Specify any number in the range from 1 to 80 as a
dummy when '3: Deleted' is selected.
P: Executing condition
instructions.
G_PUTE
GP_PUTE
:Bit
:ANY16
:Array of ANY16 [0..3]
:ANY16
:Bit
:Array of bit [0..1]
J
\
R, ZR
U
Bit
Word
*1: Local devices and file registers per program cannot be used as setting data.
Setting data
[2].
S1
: Normal completion
: Error completion (error code)
G_PUTE
:
indicates any of the following
Zn
Constant Others
\G
Setting range
Setting side
1, 3
User
System
1000 to 1199
User
1 to 80
User

Advertisement

Table of Contents
loading

Table of Contents