Sign In
Upload
Manuals
Brands
Mitsubishi Electric Manuals
Controller
MELSEC iQ-R120PSFCPU
Mitsubishi Electric MELSEC iQ-R120PSFCPU Manuals
Manuals and User Guides for Mitsubishi Electric MELSEC iQ-R120PSFCPU. We have
2
Mitsubishi Electric MELSEC iQ-R120PSFCPU manuals available for free PDF download: User Manual
Mitsubishi Electric MELSEC iQ-R120PSFCPU User Manual (417 pages)
Ethernet
Brand:
Mitsubishi Electric
| Category:
Controller
| Size: 16.56 MB
Table of Contents
Design Precautions
3
Safety Precautions
3
Installation Precautions
6
Wiring Precautions
6
Startup and Maintenance Precautions
8
Disposal Precautions
9
Operating Precautions
9
Transportation Precautions
9
Conditions of Use for the Product
10
Introduction
10
Table of Contents
11
Relevant Manuals
15
Terms
16
Chapter 1 Functions
19
Connection with MELSOFT Product and GOT
19
Connection Via a Hub
19
Setting in the Ethernet-Equipped Module Side
19
Settings on the Engineering Tool Side
21
Searching Modules on the Network
23
Functions Incompatible with Connection Via a Hub
24
Direct Connection
26
Connection with LAN Line
27
Connections that Are Not Direct Connections
27
Functions Incompatible with Direct Connection
27
Settings Incompatible with Direct Connection
27
Conditions that Cannot Communicate with Direct Connection
28
Precautions
24
Remote Operation
24
When Module Does Not Appear after Search
24
SLMP Communications
29
Applications
29
Data Read/Write
29
File Read/Write
29
Communication Structure
30
Data Communication Procedures
30
Setting Procedure
31
Communications Using an Auto-Open UDP Port
31
Open/Close Timing
31
List of Valid Commands
32
SLMP Reference Manual
32
Communications Using the Predefined Protocol
34
Applicable Connections
34
Setting Protocols
34
Writing Protocols
34
Creating the Protocol Setting Data
35
Data Communication Procedures
35
Newly Creating the Protocol Setting Data
36
Adding Protocol
37
Protocol Detailed Setting
38
Packet Setting
39
Writing the Protocol Setting Data
39
Applicable Dedicated Instructions
41
For TCP/IP
42
For UDP/IP
42
Precautions for Passive Open
42
Protocol Communication Type
42
Packet Elements
43
Static Data
43
Length
44
Non-Conversion Variable
46
When "Fixed Length/Variable Length" Is "Fixed Length"
48
When "Fixed Length/Variable Length" Is "Variable Length"
48
Non-Verified Reception
49
Execution Conditions of Predefined Protocol Communications
50
When the System Is Powered on or Reset
50
When Executing UINI Instruction
51
When Protocol Setting Data Is Abnormal
51
When Protocol Setting Data Is Normal
51
Example of Predefined Protocol Communications
52
Parameter Settings
52
Sending Side
52
Receiving Side
57
Program Examples
59
Socket Communications
61
Setting Procedure
61
List of Dedicated Instructions
62
Applicable Connections
62
Communication Structure
63
Communications Using TCP/IP
64
TCP/IP Connection Operation
64
Active Open
64
Passive Open
64
Precautions for TCP/IP Communications
65
Conditions for Closing
65
TCP/IP Connection Elements
65
Reconnecting with same Connection
65
Checking the Receive Data Length
66
Precautions for Active Open
66
Communications Using UDP/IP
67
Precautions for UDP/IP Communications
67
Broadcast Communications
68
Port Number
69
Reading Received Data
69
Accessing a File During Communication
69
Module FB and Dedicated Instruction
69
Precautions
69
Communications Using the Fixed Buffer
70
Differences between the "Procedure Exist" and "No Procedure" Control Methods
70
Setting Procedure
70
Applicable Dedicated Instructions
71
Applicable Connections
71
Communication Structure
71
External Devices Capable of Data Exchange
72
Processing During Data Send/Receive
72
During Data Send
72
During Data Reception
72
Send Procedure
73
Procedure Exists
73
No Procedure
74
Receive Procedure
75
Receiving with Main Program (Procedure Exists)
75
Receiving with Main Program (no Procedure)
76
Reception with Interrupt Program (Procedure Exists)
77
Reception with Interrupt Program (no Procedure)
78
Pairing Open
79
Broadcast Communications
80
Precautions
80
Data Format
81
Header
81
Application Data
81
Subheader
83
Data Length Setting
83
Text (Command)
84
When Exchanging Data with Binary Codes
84
When Exchanging Data with ASCII Codes
84
End Code
85
Example of Communications Using the Fixed Buffer
86
1.6 Communications Using the Random Access Buffer
96
Setting Procedure
96
Procedure for Reading from External Device
97
Communication Structure
97
Procedure for Writing from External Device
98
Physical Address and Logical Address of Random Access Buffer
99
Precautions
99
Data Format
99
Start Address
102
Example of Command/Response Format
104
Writing to Buffer with Write Request from External Device
104
Reading from Buffer with Read Request from External Device
106
Example of Communications with Random Access Buffer
108
Communications Using MODBUS/TCP
109
Automatic Response Function
110
MODBUS Device Assignment Function
111
MODBUS Device Assignment Parameters
112
MODBUS Extended File Register Assignment
113
Applicable Devices
114
Reading of the Long Timer and Long Retentive Timer
115
Writing of the Long Timer and Long Retentive Timer
115
Default Assignment Parameters
116
List of MODBUS Standard Functions
117
Link Dedicated Instruction Communication
118
Applicable Dedicated Instructions
118
Data Communication Procedures
119
File Transfer Function (FTP Server)
120
Data Communication Procedures
121
Operations on External Device (FTP Client) Side
122
Logging into Ethernet-Equipped Module
123
Locking and Unlocking the Remote Password
123
Inputting the File Password
123
Files that Can be Transferred with FTP
123
FTP Command
124
FTP Command List
124
Subcommands Usable with Quote Command
125
Executing the STOP Command
125
Specifying an FTP Command
126
Drive Name
126
Folder Name, File Name, and Extension
126
Details of FTP Command
127
FTP Server Support Command
127
Ethernet-Equipped Module Dedicated Subcommand
130
Precautions for Designing System
134
FTP Client
134
Processing on CPU Module Side
134
Communication Processing
134
Writing Files
135
Deleting Files
135
FTP Password
135
Setting a Firewall on the FTP Client Side
136
Monitoring Timer
136
File Transfer Function (FTP Client)
137
File Transfer Specifications
137
Transferable Files
138
Procedure for Executing the File Transfer Function (FTP Client)
139
Setting an FTP Client
139
Setting an FTP Server
139
Checking the File Transfer Function (FTP Client) Status
140
Executing a File Transfer Function Instruction
140
Communication Error When Retrieving Transfer Files
141
Connection with the FTP Server
141
Deleting Unnecessary Files
141
Execution of the SD Memory Card Forced Disable Function
141
Precautions
141
SP.FTPPUT Instruction Immediately after System Switching
142
Confirming the Execution Results
143
Time Setting Execution Timing
143
Time Setting Function (SNTP Client)
143
Communication Timeout
144
Delay by Communication Time
144
When Using Multi-CPU System Configuration
144
Web Server Function
145
Javascript Objects
146
Common Information on Javascript Objects
146
Style Sheet
146
Parameter Settings of Javascript Objects
147
Refreshing Cycle
148
Message Display Language
148
Available Files
148
Data Block (Wsdatblk)
149
Level Display (Wslevel)
151
Figure Display (Wsfigure)
153
Image Display (Wspicture)
155
Historical Graph Display (Wshstgrp)
156
Write Button (Wswtrbtn)
158
Logoff Button (Wslogoutbtn)
159
CGI Object
160
Data Specified for CGI Object
160
Device Name
160
Device Size
161
Device Read CGI
162
Response Specifications
163
Application Example
164
Display of HTML
164
HTML Example
164
Javascript Example
165
Device Write CGI
168
Error Message
173
Display Example of Error Messages
173
List of Error Messages of the User Web Page
174
Security Function
175
IP Filter Function
175
Remote Password
176
Number of Settable Modules
177
Access Permit/Prohibit Processing Operation
179
Remote Password Check Operation
179
Access Permit Processing
179
Communication that Is Checked
179
Accessible Station
180
Set Connection
181
When Remote Password Is Set for UDP/IP Connection
181
TCP/IP Close Processing
181
Remote Password Valid Range
181
Simple CPU Communication Function (CPU Module (Built-In Ethernet Port Part))
183
Communication Pattern
184
Communication Setting and Execution Interval
184
Setting Procedure
184
Communication Destination (IP Address)
185
Communication Destination Setting
185
IP Address, Port Number, and Own Station Port Number
185
Module Type List
185
Devices that Can be Specified
186
Devices that Can be Specified on the Own Station
186
Number of Device Points
186
Target PLC No.
186
When the Communication Destination Is the MELSEC Iq-F
187
When the Communication Destination Is the MELSEC-Q
187
When the Communication Destination Is an SLMP-Compatible Device
188
When the Communication Destination Is the MELSEC-L
188
Operation During the Simple CPU Communication
189
Operation of the Communication Destination
189
Operation of the Own Station
189
Latency Time
190
Checking the Simple CPU Communication Status
191
Checking with the Buffer Memory
191
Checking with "Simple CPU Communication Diagnostics"
192
Device in the Communication Destination
193
Duplication of Own Station Port Numbers
193
Execution Interval Setting
193
Incomplete Data Reception and Timeout
193
Precautions
193
When the Communication Destination Is a Redundant System
194
Simple CPU Communication Function (RJ71EN71, Rnencpu (Network Part))
195
Comm Patn
196
Setting Procedure
196
Registration of Communication Destination
197
Udp/Tcp
198
Checking the Simple CPU Communication Status
209
Precautions
211
Setting of the Network and Station Numbers
212
Usable Connections
212
When Using the File Register (R, ZR)
212
IP Address Change Function
213
IP Address of the Ethernet-Equipped Module
214
Writing and Clearing the IP Address
214
Case of the CPU Module
214
Case of the RJ71EN71 or Rnencpu
215
Usage Methods
216
Write Operation
216
Operation at Normal Completion
217
Operation at Abnormal Completion
217
Cause of Error at Abnormal Completion
217
Clearing Operation
218
Checking the IP Address
219
Checking the Operating Status
219
Precautions
219
Write Processing and Clear Processing Execution Timing
220
Communications by Network Number/Station Number
220
Redundant System Function
221
System Configuration
221
System Switching Operation
222
System Switching Request to the Control System CPU Module
223
Moderate/Major Error and Hardware Failure
223
Communication Error Detection
223
ULP Timeout
224
Disconnection Detection
224
Redundant Group Setting
225
Redundant Module Group Settings
225
Port Group Setting
226
Communication Path Bypass Function
227
Both Systems Identical IP Address Setting Function
228
Availability of Control System IP Address for each Function
229
How to Use Dedicated Instructions
229
Functions Restricted in a Redundant System
231
Re-Initial Processing
231
Direct Connection with MELSOFT Products and a GOT
231
Communications Using the SLMP
231
Communication Using the Random Access Buffer
234
Communications Using a Dedicated Instruction
234
When the Control System IP Address Is Used
234
Processing When a Dedicated Instruction Abnormally Ends
234
System Configuration Example
236
Receiving Side (Redundant System) Settings
236
Chapter 2 Parameter Settings
243
Own Node Settings
244
Communications by Network No./Station No.
245
Enable/Disable Online Change
245
External Device Configuration
246
Existence Confirmation
248
Setting Parameters
243
Basic Settings
243
Application Settings
249
RJ71EN71, Rnencpu (Network Part)
249
CPU Module (Built-In Ethernet Port Part)
250
Communication Speed
252
Frame Settings
252
Jumbo Frame
252
Current Password
254
FTP Server Settings
254
FTP Timer Settings
254
Password Setting
254
DNS Settings
255
FTP Client Settings
255
Response Monitoring Timer
255
CPU Response Monitoring Timer
256
MODBUS/TCP Settings
256
Device Assignment
257
Simple CPU Communication Setting (RJ71EN71, Rnencpu (Network Part))
258
Execution Timing
261
Specified Time (Hour, Minute, Day of Week)
261
Time Setting
261
Timer Settings for Data Communication
262
Precautions for Settings
263
Setting Value for each Timer of the External Device Side
263
Number of Retries
264
Gateway Parameter Settings
265
IP Filter Settings
265
Security
265
Gateway Information
266
Gateway IP Address
266
Subnet Address
266
Network/Station No. <-> IP Information Setting
267
Setting System
268
Automatic Response System
269
IP Address Calculation Example
270
IP Address Calculation System
270
Table Conversion System
271
Conversion Table Registration Example
272
Combination System
274
Conversion Settings
274
Subnet Mask Pattern
274
Interrupt Settings
275
IP Packet Transfer Setting
275
Network Dynamic Routing
276
Module Operation Mode
277
Redundant System Settings
278
System B IP Address
279
Simple CPU Communication Setting (CPU Module (Built-In Ethernet Port Part))
280
Chapter 3 Troubleshooting
282
Checking with LED
282
When the ERROR LED or ERR LED Turns on or Is Flashing
282
When the RUN LED or READY LED Turns off
282
When Data Cannot be Received with the SD/RD LED off
283
When the L er LED Turns on
283
When the SD/RD LED Does Not Turn on at Data Sending
283
Checking the Module Status
284
Error Information
284
Module Information List
285
Module Communication Test
286
Checking the Status and Result of Module Communication Test
287
Error Number When the Test Abnormally Ended
287
Checking the Network Status
288
Ethernet Diagnostics
288
Status of each Connection
290
Status of each Protocol
291
Connection Status
292
PING Test
293
Action for Abnormal End
293
Communication Status Test
294
Simple CPU Communication Diagnostics
296
Communications Cannot be Performed with the External Device
297
Troubleshooting by Symptom
297
Direct Connection to the Engineering Tool Is Not Possible
299
Communications Using the SLMP Cannot be Performed
300
CPU Module Search on the Network Cannot be Performed
300
Communications Using the Predefined Protocol Cannot be Performed
301
Communications Using the Random Access Buffer Cannot be Performed
303
A Response Message Cannot be Sent to the MODBUS/TCP Master Device
304
Communication Fails at MODBUS/TCP Connection
304
Communications Using MODBUS/TCP Cannot be Performed
304
A Dedicated Instruction Is Not Completed
305
Remote Password Does Not Work
306
The Access Cannot be Allowed/Denied Correctly by the IP Filter
306
Communications Using the Built-In Ethernet Port Are Slow
307
When the File Transfer Function (FTP Client) Is Used
307
When the Simple CPU Communication Function Is Used
308
The Update by Reading and Writing the Device Data Is Slow
309
System Switching Cannot be Performed Normally
310
When the Redundant System Function Is Used
310
Communication Fails at OPS Connection
311
List of Error Codes
312
List of Parameter Numbers
329
System Parameter
329
Event List
331
End Codes Returned to an External Device During Data Communications
333
Appendices
335
Appendix 1 Module Label
335
List of I/O Signals
336
When Network Type Is "Ethernet"
336
Input Signals
336
Instance Name
335
Structure of the Module Label
335
Appendix 2 I/O Signals
336
When the Network Type Is "Q Compatible Ethernet"
337
List of Buffer Memory Addresses
338
Appendix 3 Buffer Memory
338
Buffer Memory Addresses Usable Only with RJ71EN71
350
When Using the RJ71EN71
350
Buffer Memory Addresses Not Supported by the RJ71EN71
353
Details of Buffer Memory Addresses (RJ71EN71, Rnencpu (Network Part))
357
Own Node IP Address (Un\G4 to Un\G5)
357
Own Node Setting Status Storage Area
357
Subnet Mask (Un\G14 to Un\G15)
357
Connection Status Storage Area
358
ICMP Packet
358
Status for each Protocol
358
TCP Packet
358
Area for Sending/Receiving Instructions
359
Hub Connection Status Area
359
IP Address Duplication Status Storage Area
359
LED Status
359
Forced Connection Invalidation Setting Area
360
Remote Password Lock Status Storage Area
360
Remote Password Lock Status System Port
360
Connection No.1
361
Predefined Protocol Support Function Execution Status Check Area
361
IP Packet Transfer Function Area
362
Time Setting Function (SNTP) Area
362
Time Setting Function Execution Time
362
Time Setting Function Operation Result
362
Area for both Systems Identical IP Address Setting Function
363
Communication Path Determination Status
363
Dynamic Routing Function Area
363
Remote Password Function Monitoring Area
363
IP Address Change Function Area
364
IP Address Storage Area Write Error
364
IP Address Storage Area Write Request
364
IP Address Storage Area Writing Error Cause
364
Area for Communication Using a Fixed Buffer
365
IP Address Storage Area Clear Error Cause
365
Network Type Information Area
365
Random Access Buffer Area
365
Error Log Area for MODBUS/TCP Function
366
Execution Status Flag for each Setting Number
367
Preparation Completion for each Setting Number
367
Simple CPU Communication Area
367
Ethernet PORT1/2 Common Information
369
Open Completion Signal
369
Open Request Signal
369
Socket/Fixed Buffer Reception Status Signal
369
Number of Registered Predefined Protocols
370
Predefined Protocol Setting Data Check Area
370
Predefined Protocol Support Function Check Area
370
Receive Buffer Status Storage Area
370
Send/Receive Area for Predefined Protocol Support Function
371
User Setting Area for MODBUS/TCP Function
371
Details of Buffer Memory Addresses (CPU Module (Built-In Ethernet Port Part))
372
FTP Client Latest Error Code
373
FTP Server Latest Error Code
373
MELSOFT Direct Connection Latest Error Code
373
Instructions for Predefined Protocol Communications
376
Open/Close Instructions
376
Appendix 4 Dedicated Instruction
376
File Transfer Function Instruction
377
Instruction for SLMP Communications
377
Instructions for Communications Using the Fixed Buffer
377
Socket Communications Instructions
377
Link Dedicated Instructions
378
Other Dedicated Instructions
378
Precautions for Dedicated Instructions
379
Precautions for Link Dedicated Instructions
379
Establishing a Connection
380
TCP/IP Communications, UDP/IP Communications
380
When the Ethernet-Equipped Module Is Passive Open
380
Appendix 5 TCP/IP Communications, UDP/IP Communications
380
Communication Flow
381
Active Open Procedure
382
Open/Close Processing for Connection No.1
382
Passive Open Procedure
383
When "Do Not Open by Program" Is Set
383
When "Open by Program" Is Set
384
Open Procedure
385
UDP/IP Communications
385
Appendix 6 Communications with Different Networks
387
When the Networks Consist of MELSEC Iq-R Series and Other Series
388
When the Networks Consist of Only MELSEC Iq-R Series
388
When the Networks Contain a Redundant System
389
Appendix 7 Processing Time
390
Minimum Processing Time of Fixed Buffer Communications
390
Calculation Formula
391
Processing Time of Communications Using MODBUS/TCP
391
System Switching Time When a Redundant System Is Used
392
Timing Chart
393
Performance List of Simple CPU Communication Function
394
Module Parameter
395
Restricted Functions and Specifications
395
Appendix 8 When Connecting the Module to a Remote Head Module
395
Appendix 9 Port Numbers Used by Ethernet-Equipped Module
396
Operation Image of each Communication Type of Protocol
397
For "Send Only" Communication Type
397
Appendix 10Operation Image and Data Structure of Predefined Protocol
397
For "Receive Only" Communication Type
398
When the Instruction Completed with an Error
399
For "Send & Receive" Communication Type
400
When the Instruction Completed Successfully
400
Verification Operation of Receive Packet
402
When Multiple Receive Packets (Expected Packets) Are Specified
402
When Received Data Are Matched with a Receive Packet
402
Example of Packet Element Data
403
Calculating Range
404
Data Flow
404
When Receiving Data Whose Length Is an Odd Number
405
External Device Receiving Process
406
Appendix 11 Example of External Device Program
406
Appendix 12How to Turn off ERR LED
407
Method Using a Dedicated Instruction
407
Method Using I/O Signals
407
Appendix 13Added and Enhanced Functions
408
Index
410
Revisions
412
Warranty
413
Trademarks
414
Advertisement
Mitsubishi Electric MELSEC iQ-R120PSFCPU User Manual (110 pages)
Brand:
Mitsubishi Electric
| Category:
Controller
| Size: 15.7 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
11
Compliance with Emc and Low Voltage Directives
12
Introduction
12
Table of Contents
13
Relevant Manuals
15
Terms
16
Chapter 1 Part Names
19
Rj71En71
19
Available Combination of Network
20
Network Used and LED Indication
21
CPU Module
25
Available Combination of Network
26
Network Used and LED Indication
27
Rj71Gp21(S)-Sx
28
Rj71Gf11-T2
30
Chapter 2 Specifications
32
Performance Specifications of Ethernet
32
Performance Specifications of CC-Link IE Controller Network
33
Performance Specifications of CC-Link IE Field Network
34
Hardware Specifications
36
Chapter 3 Function List
37
Function List of Ethernet
37
Function List of CC-Link IE Controller Network
39
Function List of CC-Link IE Field Network
42
Chapter 4 Procedures before Operation
46
Chapter 5 System Configuration
48
Ethernet Configuration
49
CC-Link IE Controller Network Configuration
50
When Optical Fiber Cables Are Used
50
When Ethernet Cables Are Used
51
Precautions When Ethernet Cables Are Used
53
CC-Link IE Field Network Configuration
56
Precautions
59
Precautions for System Configuration
62
Chapter 6 Wiring
63
Ethernet Wiring
63
Wiring of CC-Link IE Controller Network
65
Optical Fiber Cable
65
External Power Supply
66
Ethernet Cables
67
Wiring of CC-Link IE Field Network
69
Chapter 7 Communication Examples
71
Communication Examples of Ethernet
71
System Configuration Example
71
Sending Side
71
Receiving Side
73
Program Example
75
Communication Examples of CC-Link IE Controller Network
81
System Configuration Example
81
Setting in the Control Station
82
Setting in the Normal Stations
85
Checking the Network Status
87
Program Example
88
Communication Examples of CC-Link IE Field Network
92
System Configuration Example
92
Setting in the Master Station
94
Setting in the Local Station
97
Checking the Network Status
99
Program Example
100
Appendix
102
Appendix 1 External Dimensions
102
Index
104
Revisions
106
Warranty
107
Trademarks
108
Advertisement
Related Products
Mitsubishi Electric MELSEC iQ-R120ENCPU
Mitsubishi Electric MELSEC iQ-R120CPU
Mitsubishi Electric MELSEC iQ-R120PCPU
Mitsubishi Electric MELSEC iQ-R120SFCPU
Mitsubishi Electric MELSEC iQ-R16MTCPU
Mitsubishi Electric MELSEC iQ-R16ENCPU
Mitsubishi Electric MELSEC iQ-R16CPU
Mitsubishi Electric MELSEC iQ-R16PSFCPU
Mitsubishi Electric MELSEC iQ-R16PCPU
Mitsubishi Electric MELSEC iQ-R16SFCPU
Mitsubishi Electric Categories
Air Conditioner
Controller
Projector
Inverter
Heat Pump
More Mitsubishi Electric Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL