Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1685

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
*1
(U)
(s1)
(s2)
*2
(d)
*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
Operand: (s1)
Device
Item
+0
Send channel
+1
Result of sending
+2
Amount of send data
*1 The amount of the data to be sent must be set in units as specified in the engineering tool. For byte specification, set the number of
bytes. For word specification, set the number of words.
Processing details
• By using the nonprocedural protocol of the module specified by (U), the data stored in the device specified by (s2) and later
is sent according to the control data in the device specified by (s1) and later.
CPU module
b15
...
b0
(s1)
CH: Channel
• The completion status of the G(P).OUTPUT instruction can be checked with the completion device (d) and the completion
status indication device (d)+1.
• Completion device (d)
This device turns on during END processing of the scan where the G(P).OUTPUT 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).OUTPUT 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).OUTPUT instruction completes, and turns off during the
next END processing.
Word
J\
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*3
*4
*4
*5
Description
Specifies the send channel.
• 1: Channel 1 (CH1 side)
• 2: Channel 2 (CH2 side)
Used to store the result of sending with the G(P).OUTPUT instruction.
• 0: Normal
• Other than 0: Error (error code)
Specifies the amount of the data to be sent.
Serial communication module
CH1
CH2
Double word
Indirect
specification
Z
LT, LST,
LZ
LC
*1
20 SERIAL COMMUNICATION INSTRUCTIONS
20.3 Sending Data Using the Nonprocedural Protocol
Constant
Others
(U)
K, H E
$
Setting range
Set by
1, 2
User
System
1 or more
User
1683
20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents