20 SERIAL COMMUNICATION INSTRUCTIONS
20.15 Switching the Mode
1723
20
Precautions
• Stop the whole data communication with the external device before issuing the ZP.UINI instruction. If the ZP.UINI instruction
is issued while data communication is in progress with the external device, the following will occur.
• If connection is provided through a modem, cut off the line to the external device before issuing the ZP.UINI instruction. If
the ZP.UINI instruction is issued, the line will be cut off.
• If the communication protocol or transmission setting has been changed using the ZP.UINI instruction, the communication
protocol and transmission settings of the external device side must be matched with the new settings. In addition, if the
station number setting, or own station number, has been changed, the station number in the request message of the
external device must be modified to the new station number.
• The following table summarizes the processes that take place if another instruction is issued while the ZP.UINI instruction is
active or the ZP.UINI instruction is issued while another instruction is active with the same channel.
• Before the ZP.UINI instruction is executed, the setting change in the transmission settings must be kept set to "Permitted"
by using the parameter setting of the module. In addition, if the parameter is not yet set, the setting change in the
transmission settings will be assumed to be "Permitted" during operation.
• Simultaneous use of mode change with the ZP.UINI instruction and that with the mode change request signal (Yn2/Yn9)
must not be attempted. If it is attempted, an error will occur at an error code of 7FF5H.
• To use the current value of the communication protocol, transmission specifications, or station number as it is, acquire the
value from each of the status storage areas in buffer memory before setting it in the control data.
Operation error
• If the ZP.UINI instruction is issued during receiving
Receiving is interrupted, and the whole receive data stored so far is discarded.
• If the ZP.UINI instruction is issued during sending
When the ZP.UINI instruction is accepted, sending is interrupted.
Instruction to execute
concurrently
Possibility of
concurrent execution
Handling for concurrent execution
G(P).ONDEMAND
A dedicated instruction concurrent execution error (7FF0H) occurs in the second
instruction.
G(P).OUTPUT
G(P).PRR
G(P).BIDOUT
G(P).BIDIN
G.INPUT
ZP.CSET
G(P).PUTE
G(P).GETE
G(P).CPRTCL
Z.BUFRCVS
G(P).SPBUSY
ZP.UINI
The instruction is ignored and does not start processing until the active instruction
completes.
Address (decimal (hexadecimal))
Application
CH1
CH2
591(24FH)
Station number (instruction setting)
594(252H)
610(262H)
Communication protocol status
595(253H)
611(263H)
Transmission status
Error code
((s)+1)
Description
7000H to 7FFFH
MELSEC iQ-R Serial Communication Module User's Manual (Application)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......