EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1724

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...
1722
20 SERIAL COMMUNICATION INSTRUCTIONS
20.15 Switching the Mode
Control data
Processing details
This instruction changes the communication protocol, transmission setting, or station number of each channel of the
module specified by (U).
The completion status of the ZP.UINI instruction can be checked with the completion device (d) and the completion status
indication device (d)+1.
The following figures show how the ZP.UINI instruction operates when its execution completes.
Operand: (s)
Device Item Description Setting range Set by
+0 For system Always specifies 0. 0 User
+1 Execution result Used to store the result of sending with the ZP.UINI instruction.
•0: Normal
Other than 0: Error (error code)
System
+2 Execution type Specify the execution type.
0: Change the settings according to the setting details indicated by (s)+3 and later.
1: Restores the setting details of the user parameters that have been set in the
engineering tool.
0, 1 User
+3 CH1 transmission
specifications setting
Sets the CH1 side transmission setting.
Check the current value of the buffer memory area (595 (253H)) to make the settings
identical.
0 to 4095
(0000H to
0FFFH)
User
+4 CH1 communication
protocol setting
Sets the CH1 side communication protocol.
Check the current value of the buffer memory area (594(252H)) to make the settings
identical.
0 to 9 User
+5 CH2 transmission
specifications setting
Sets the CH2 side transmission setting.
Check the current value of the buffer memory area (611(263H)) to make the settings
identical.
0 to 4095
(0000H to
0FFFH)
User
+6 CH2 communication
protocol setting
Sets the CH2 side communication protocol.
Check the current value of the buffer memory area (610(262H)) to make the settings
identical.
0 to 9 User
+7 Station number setting Sets the station number. 0 to 31 User
+8 to +12 For system Always specifies 0. 0 User
Completion device (d)
This device turns on during END processing of the scan where the ZP.UINI 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 ZP.UINI 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 ZP.UINI instruction completes, and turns off during the next
END processing.
0
OFF
OFF
ON
END0END0END0 END END0END0
OFF
OFF
OFF
OFF
ON
ON
Mode switching signal
(X6/XD)
Serial
communication
module
Set processing
Communications disabled
Sequence scan
ZP.UINI instruction
Completion device (d)
1 scan
Completed successfully
Completed
with an error
Execution of the instruction
Completion status
indication device (d)+1

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals