Sign In
Upload
Manuals
Brands
Mitsubishi Electric Manuals
Controller
MELSEC iQ-RJ71C24-R2
Mitsubishi Electric MELSEC iQ-RJ71C24-R2 Manuals
Manuals and User Guides for Mitsubishi Electric MELSEC iQ-RJ71C24-R2. We have
2
Mitsubishi Electric MELSEC iQ-RJ71C24-R2 manuals available for free PDF download: User Manual, Reference Manual
Mitsubishi Electric MELSEC iQ-RJ71C24-R2 User Manual (574 pages)
Serial Communication Module
Brand:
Mitsubishi Electric
| Category:
Controller
| Size: 15.22 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
11
Introduction
12
Table of Contents
13
Relevant Manuals
20
Terms
20
Part 1 Basic Functions
23
Chapter 1 Data Communication Using MC Protocol
24
Accessing to CPU Module Using MC Protocol
24
File Access Method
25
Data Communication
25
Formats and Codes
25
Frames
26
Parameter Settings for MC Protocol Communication
26
Applicability of Multiple CPU Systems
26
Applicability of Remote Password Function
27
Using MX Component
27
Chapter 2 Data Communication Using Predefined Protocol
28
Data Communication Procedure
29
Communication Type of Protocols
36
Packet
37
Packet Elements
37
Execution Condition of Predefined Protocol Communication
50
Chapter 3 Data Communication Using Nonprocedural Protocol
54
Receiving Data from Target Device
55
Receiving Methods
55
Receive Area and Receive Data Arrangement
59
Program for Data Reception
63
Reception Error Detection and Check Methods
67
Receive Data Clear
69
Receive End Data Quantity and Receive End Code Settings
76
Transmitting Data to Target Device
79
Sending Methods
79
Send Area and Send Data Arrangement
80
Program for Data Transmission
82
Transmission Error Detection and Check Methods
86
Considerations for Data Communication
87
Chapter 4 Data Communication Using Bidirectional Protocol
88
Receiving Data from Target Device
89
Receiving Methods
89
Receive Area, Receive Data Arrangement and Contents
90
Program for Data Reception
94
Reception Error Detection and Check Methods
97
Receive Data Clear
97
Transmitting Data to Target Device
98
Sending Methods
98
Send Area and Send Data Arrangement
99
Program for Data Transmission
101
Transmission Error Detection and Check Methods
105
Processing When Simultaneous Transmission Is Performed During Full-Duplex Communications
106
Processing When Simultaneous Transmissions Occur
106
Processing of Transmitted/Received Data When Simultaneous Transmissions Occur
107
Considerations for Data Communication
109
Chapter 5 Debug Support Function
111
Circuit Trace
111
Procedure for the Circuit Trace
111
Performing Circuit Trace
112
Circuit Trace Option Setting
113
Protocol Execution Log Storage Function (for Predefined Protocol Only)
115
Checking with Engineering Tool
116
Checking with the Buffer Memory
117
Part 2 Additional Functions
119
Chapter 6 Using the Programmable Controller Cpu Monitoring
121
Overview
121
Programmable Controller CPU Monitoring Function
122
Data Registration for Using the Programmable Controller CPU Monitoring Function
122
CPU Module Monitoring Information
123
Monitoring Timing of CPU Module
125
Timings of Transmitting Monitoring Results to the Target Device
126
Transmission Methods of Monitoring Results and Data Transmitted to the Target Device
129
Data Arrangement of Device Information and Programmable Controller CPU Status Information
132
Execution Order for Using the Programmable Controller CPU Monitoring Function
139
Settings for Using the Programmable Controller CPU Monitoring Function
140
Parameter Setting Items for the Programmable Controller CPU Monitoring Function
140
How to Register and Cancel the Programmable Controller CPU Monitoring Function
144
Considerations for Using the Programmable Controller CPU Monitoring Function
148
Chapter 7 Communications by the Modem Function
150
Overview
150
Features
151
Function List
153
System Configuration
154
System Configuration When Performing Data Communication with Target Device
154
Considerations for System Configurations
155
Specifications of Modem Function
157
Applicability of Remote Password Function
157
List of Input/Output Signals for the Modem Function
162
Buffer Memory
163
Considerations for Using the Modem Function
168
Startup of the Modem Function
174
Startup Procedure of the Modem Function
174
Initial Settings of Serial Communication Module
176
Register/Read/Delete Data for Initialization
179
Register/Read/Delete Data for Connection
183
Initialization of Modem/Ta (Terminal Adapter)
187
Line Connection
192
Data Communication
201
Line Disconnection
204
Sample Program
208
Program for Data Communication
208
Chapter 8 Receiving Data with an Interrupt Program
221
Settings for Receiving Data Using an Interrupt Program
221
Interrupt Program Startup Timing
221
Reception Control Method Using an Interrupt Program
222
Program Example
223
Considerations When Receiving Data with an Interrupt Program
225
Chapter 9 Changing Data Length Units to Byte Units (Word/Byte Units Setting)
227
Chapter 10 Changing Data Communication Monitoring Time
229
Reception Monitoring Time (Timer 0) Setting
230
C24 Operation by no Reception Monitoring Time (Timer 0)
230
Changing the No-Reception Monitoring Time (Timer 0)
231
Response Monitoring Time (Timer 1) Setting
233
C24 Operation by Response Monitoring Time (Timer 1)
233
Changing the Response Monitoring Time (Timer 1)
234
Send Monitoring Time (Timer 2) Setting
235
C24 Operation by Send Monitoring Time (Timer 2)
235
Changing the Send Monitoring Time (Timer 2)
236
Transmission Wait Time Setting
237
C24 Operation by Transmission Wait Time
237
Changing the Transmission Wait Time
237
Chapter 11 Data Communications Using DC Code Transmission Control
238
Control Contents of DTR/DSR (ER/DR) Signal Control
239
C24 DTR Control Contents and Free os Area Specification
239
C24 DSR Control
240
Control Contents of DC Code Control
241
DC1/DC3 Transmission Control, DC1/DC3 Reception Control
241
DC2/DC4 Transmission Control, DC2/DC4 Reception Control
243
Considerations for Using Transmission Control Functions
244
Chapter 12 Data Communications Using Half-Duplex Communications
245
Half-Duplex Communications
245
Data Transmission and Reception Timing
246
Changing the Communication Method
250
Connector Connections for Half-Duplex Communications
250
Considerations for Half-Duplex Communications
251
Chapter 13 Contents and Registration of User Frames for Data Communication
252
User Frame Types and Contents During Communication
252
User Frames to be Registered and Used by the User
252
Default Registration Frame (Read Only)
260
Transmission/Reception Processing Using User Frame Registration Data
261
Transmitting Data
261
Receiving Data
262
Considerations for Registering, Reading, and Deleting User Frames
264
Registering/Reading/Deleting User Frames
266
Chapter 14 On-Demand Data Communications Using User Frames
269
Data Communication Function Using User Frame
269
User Frame On-Demand Data Transmission and Buffer Memory Used
270
On-Demand Function Control Procedure During User Frame Use
272
Data Communication Using the ASCII Code
272
Data Communications Using the Binary Code
274
Example of On-Demand Data Transmission Program Using User Frames
276
Chapter 15 Data Communications Using User Frames
278
Procedure of Data Communication
279
Data Reception
280
Receive Data
280
Timing for Start/Completion of Data Reception
286
Reception Procedure
290
Setting of Receive User Frames
291
Program for Data Reception with User Frame
297
Application Program for Data Reception Using a Combination that Specifies the Start Frame
305
Application Program for Data Reception Using a Combination that Does Not Specify the Start Frame
312
Data Transmission
315
Send Data
315
Transmission Procedure
316
Settings of Send User Frames
317
Application Program for Data Transmission Using a Combination that Does Not Specify the Start
320
Frame
320
Chapter 16 Transparent Codes and Additional Codes
328
Handling Transparent Code and Additional Code Data
328
Registering Transparent Codes and Additional Codes
329
Handling Transparent and Additional Codes for Nonprocedural Protocol Data Communication
330
Data Communication Using Nonprocedural Protocol
333
Example of Data Reception
334
Example of Data Transmission
337
Handling Transparent and Additional Codes for Bidirectional Protocol Data Communication
341
Data Communication Using Bidirectional Protocol
344
Example of Data Reception
345
Example of Data Transmission
347
Chapter 17 Communicating with Ascii Code (Ascii-Bin Conversion)
349
ASCII-Binary Conversion
349
Settings for ASCII-BIN Conversion
349
ASCII-BIN Conversion for Data Communicated with Nonprocedural Protocol
350
Data Communication Using Nonprocedural Protocol
352
Example of Data Reception
353
Example of Data Transmission
357
ASCII-BIN Conversion for Data Communicated with Bidirectional Protocol
361
Data Communication Using Bidirectional Protocol
363
Example of Data Reception
364
Example of Data Transmission
366
Chapter 18 Data Communications between Target Device and Cpu Module in M:n Basis
368
Considerations on Data Communications
368
Arrangement for Interlock Among Target Devices
370
Maximum Communication Time Per Target Device Station
370
Message Structure When Communicating Data Among Target Devices
371
Examples of Procedure for Data Communications with CPU Module
373
Sequential Data Communications between Target Devices and the CPU Module
373
Data Communications between Target Devices and CPU Module by Designating a Master Station and Slave Stations
376
Chapter 19 Switching the Mode after Starting
379
Mode Switching Operation and Contents that Can be Changed
380
Settings that Can be Changed with Mode Switching
380
Operation for Mode Switching
380
Considerations for Mode Switching
381
I/O Signals for Handshake with CPU Module and Buffer Memory
382
Mode Switching Method by Program
385
How to Switch Mode from Target Device
387
Chapter 20 Using Send/Receive Data Monitoring Function
389
Send/Receive Data Monitoring Function
389
Overview
389
Send/Receive Data Monitoring Operation
390
Send/Receive Data Monitoring Function Settings
392
Buffer Memory for Send/Receive Data Monitoring Function
393
Send/Receive Data Monitoring Example
396
Chapter 21 Independent/Linked Operation of Interface
399
Setting and Data Flow of Independent Operation
399
Setting and Data Flow of Interlink Operation
400
Setting Example for MELSOFT Connection Via C24
402
Chapter 22 Parameter Registration to Cpu Module
403
Chapter 23 Rs-422/485 Interface Echo Back Enable/Prohibit Specification
405
Chapter 24 Erroneous Noise Signal Reception Prevention Function
407
Erroneous Noise Signal Reception Prevention Function
407
Setting for the Erroneous Noise Signal Reception Prevention Function
408
Chapter 25 Automatic Removal of Null Characters Included in Send Data
409
Automatic Removal of NULL Characters During Data Transmission
409
Setting for NULL Character Automatic Removal Function
409
NULL Character Removal to Send Data Using Nonprocedural Protocol
410
Program Example
412
Program Example of Data Communication Using the Nonprocedural Protocol
412
NULL Characters Removal for Send Data Using Bidirectional Protocol
417
Program Example
419
Program Example of Data Communication Using the Bidirectional Protocol
419
Part 3 Parameter Settings and Troubleshooting
423
Chapter 26 Parameter Setting
424
Parameter Setting Procedure
424
Module Parameters
425
Basic Settings
425
Application Settings
430
Interrupt Settings
435
Refresh Setting
436
Module Extended Parameter
439
User Frame Contents
439
Modem Initialization Data
440
Modem Connection Data
441
Chapter 27 Troubleshooting
442
Checking Module Status
442
Error Information
442
Module Information List
443
Intelligent Function Module Monitor
447
Error Information Clear
450
Individual Station Test
451
Loopback Test
455
How to Clear Programmable Controller CPU Information
457
Troubleshooting by Symptom
459
SD LED Does Not Flash Even after a Send Request was Made
461
RD LED Does Not Flash Even Though the Target Device Is Transmitting a Message
461
No Response Message Is Returned Even Though the Target Device Transmitted a Message and the RD LED Flashes
462
Read Request Signal Does Not Turn on Even Though the Target Device Transmitted a Message and the RD LED Flashes
463
The CPRTCL Instruction Execution Is Not Completed Although the RD LED Flashes
464
RUN LED Turns off
465
ERR LED Flashes
465
ERR LED Turns on
466
C ERR LED Turns on
467
Hardware Information Communication Error "SIO" Occurs
468
Hardware Information Communication Error "PRO." Occurs
469
Hardware Information Communication Error "P/S" Occurs
470
Hardware Information Communication Error "C/N" Occurs
470
Hardware Information Communication Error "NAK" Occurs
471
Communication Is Intermittent
471
Undecodable Data Are Transmitted or Received
472
Whether the Communication Error Is Caused on C24 or Target Device Is Unclear
473
Communication Is Not Established Via Modem
473
Communication Is Not Established with the ISDN Sub-Address When Using a Modem
474
Fixed Cycle Send Is Not Performed Normally
474
Condition Match Send Is Not Performed Normally
474
Data Cannot be Received by an Interrupt Program
474
Data Cannot be Written to Flash ROM
474
Error Code List
475
Event History List
493
Appendix
494
Appendix 1 Module Label
494
Appendix 2 Input/Output Signal List
495
Appendix 3 Buffer Memory
498
Buffer Memory List
500
Appendix 4 Dedicated Instructions
522
Dedicated Instruction List
522
Appendix 5 Operation Image and Data Structure of Predefined Protocol
523
Operation Image of each Communication Type of Protocol
523
Verification Operation of Receive Packet
528
Data Examples of Packet Elements
529
Appendix 6 Processing Time
545
Appendix 7 When Connecting the Module to a Remote Head Module
547
Restrictions
547
Communication Example
548
Appendix 8 Added and Changed Functions
566
Index
567
Revisions
570
Warranty
571
Trademarks
572
Advertisement
Mitsubishi Electric MELSEC iQ-RJ71C24-R2 Reference Manual (60 pages)
MODBUS and MODBUS/TCP
Brand:
Mitsubishi Electric
| Category:
Controller
| Size: 0.56 MB
Table of Contents
Conditions of Use for the Product
3
Safety Precautions
3
Introduction
4
Table of Contents
5
Generic Terms and Abbreviations
7
Relevant Manuals
7
Terms
7
Chapter 1 Frame Specifications
8
MODBUS Protocol Frame Specifications
8
RTU Mode
8
ASCII Mode
10
MODBUS/TCP Protocol Frame Specifications
12
Protocol Data Unit Formats Grouped by Function
13
Chapter 2 Modbus Standard Function List
15
Chapter 3 Modbus Standard Function Details
16
Read Coils (FC: 01H)
16
Read Discrete Inputs (FC: 02H)
17
Read Holding Registers (FC: 03H)
18
Read Input Registers (FC: 04H)
19
Write Single Coil (FC: 05H)
20
Write Single Register (FC: 06H)
21
Read Exception Status (FC: 07H)
22
Diagnostics (FC: 08H)
23
Return Query Data (Sub-Function Code: 00H)
24
Restart Communications Option (Sub-Function Code: 01H)
25
Return Diagnostic Register (Sub-Function Code: 02H)
26
Change ASCII Input Delimiter (Sub-Function Code: 03H)
27
Force Listen Only Mode (Sub-Function Code: 04H)
28
Clear Counters and Diagnostic Register (Sub-Function Code: 0AH)
29
Return Bus Message Count (Sub-Function Code: 0BH)
30
Return Bus Communication Error Count (Sub-Function Code: 0CH)
31
Return Bus Exception Error Count (Sub-Function Code: 0DH)
32
Return Slave Message Count (Sub-Function Code: 0EH)
33
Return Slave no Response Count (Sub-Function Code: 0FH)
34
Return Slave NAK Count (Sub-Function Code: 10H)
35
Return Slave Busy Count (Sub-Function Code: 11H)
36
Return Bus Character Overrun Count (Sub-Function Code: 12H)
37
Return IOP Overrun Error Count (Sub-Function Code: 13H)
38
Clear Overrun Counter and Flag (Sub-Function Code: 14H)
39
Get Communications Event Counter (FC: 0BH)
40
Get Communications Event Log (FC: 0CH)
41
Write Multiple Coils (FC: 0FH)
43
Write Multiple Registers (FC: 10H)
44
Report Slave ID (FC: 11H)
45
Read File Record (FC: 14H) (SC: 06H)
47
Write File Record (FC: 15H) (SC: 06H)
49
Mask Write Register (FC: 16H)
50
Read/Write Multiple Registers (FC: 17H)
51
Chapter 4 Exception Codes
52
Index
54
Revisions
56
Warranty
57
Trademarks
58
Advertisement
Related Products
Mitsubishi Electric MELSEC iQ-RJ71EN71
Mitsubishi Electric MELSEC iQ-RJ71GF11-T2
Mitsubishi Electric MELSEC iQ-RJ71GP21-SX
Mitsubishi Electric MELSEC iQ-RJ71GP21S-SX
Mitsubishi Electric MELSEC iQ-RJ71EIP91
Mitsubishi Electric MELSEC iQ-RJ71C24
Mitsubishi Electric MELSEC iQ-RJ71C24-R4
Mitsubishi Electric MELSEC iQ-RJ71PN93
Mitsubishi Electric MELSEC iQ-RJ71GB91
Mitsubishi Electric MELSEC iQ-R120CPU
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