EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1717

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20 SERIAL COMMUNICATION INSTRUCTIONS
20.13 Registering User Frames
1715
20
Applicable devices
*1 Index modification is not available.
*2 FX and FY cannot be used.
*3 RD cannot be used.
*4 FD cannot be used.
*5 T, ST, C, and FD cannot be used.
Control data
Processing details
User frames are registered or deleted for the module specified by (U).
If a user frame is registered
If a user frame is deleted
The completion status of the G(P).PUTE instruction can be checked with the completion device (d) and the completion
status indication device (d)+1.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U)
*1

*3
 
(s1) 
*4
 
(s2) 
*4
 
(d)
*2

*5
 
Operand: (s1)
Device Item Description Setting range Set by
+0 Registration/delete
specification
Specifies whether to register or delete the user frame specified by (s1)+2.
1: Registered
3: Deleted
1, 3 User
+1 Registration/delete
result
Used to store the result of registration or deletion with the G(P).PUTE instruction.
•0: Normal
Other than 0: Error (error code)
System
+2 Frame number Specifies the user frame number. 1000 to 1199 User
+3 Number of registered
bytes
1 to 80: Number of bytes of the user frame to be registered
To delete the user frame, specify a value from 1 to 80 as the dummy.
1 to 80 User
To register a user frame, specify 1 for the device of (s1)+0. The data in the device specified by (s2) and later will be registered according to the control data.
The registered data must be stored as follows in the device specified by (s2) and later. Each of the devices to store the registered data requires the data for
the following number of points from the device specified by (s2): (amount of registered data)/2.
To delete a user frame, specify "3" for the device of (s1)+0. The user frame with the frame number specified by (s1)+2 will be deleted.
Both the number of registered bytes specified by (s1)+3 and the registered data storage device are required for the G(P).PUTE instruction format although
they are not used by the G(P).PUTE instruction. Specify a value from 1 to 80 for (s1)+3. Specify a dummy device for (s2).
Completion device (d)
This device turns on during END processing of the scan where the G(P).PUTE instruction completes, and turns off during the next END processing.
Completion status indication device (d)+1
This device turns on or off depending on the completion status of the G(P).PUTE instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the G(P).PUTE instruction completes, and turns off during the
next END processing.
(s2)+0
b15 b8
A A
B
C
D
E
F
(s2)+1
C
(s2)+2
E
b7 b0
B
D
F
(s1)+3
User frame
CPU module
Registering
a user frame
Serial communication
module
……

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals