Sign In
Upload
Manuals
Brands
Mitsubishi Electric Manuals
Controller
MELSEC iQ-FX5U
Mitsubishi Electric MELSEC iQ-FX5U Manuals
Manuals and User Guides for Mitsubishi Electric MELSEC iQ-FX5U. We have
2
Mitsubishi Electric MELSEC iQ-FX5U manuals available for free PDF download: Programming Manual, User Manual
Mitsubishi Electric MELSEC iQ-FX5U Programming Manual (1472 pages)
Instructions, Standard Functions/Function Blocks
Brand:
Mitsubishi Electric
| Category:
Controller
| Size: 12 MB
Table of Contents
Safety Precautions
3
Introduction
3
Table of Contents
4
Relevant Manuals
18
Terms
18
Generic Terms and Abbreviations
18
How to Read this Manual
19
Specification
20
Part 1 Overview
23
Chapter 1 Overview
23
Instruction Configuration
24
Data Specification Method
25
Device Data
25
Bit Data
28
16-Bit Data (Word Data)
29
32-Bit Data (Double Word Data)
31
Real Number Data (Floating-Point Data)
34
Character String Data
35
Data Range
36
Character Strings
36
Execution Condition
37
Acceleration of Instruction Processing Time
38
Chapter 2 Precautions on Programming
41
Errors Common to Instructions
41
Checking the Ranges of Instruction Runtime Devices and Labels
41
Operations Arising When the OUT, SET/RST, and PLS/PLF Instructions of the same Device Are Used
42
Handling General Flags
47
Standard Function/Function Block Return Values
49
Part 2 Instruction/Function List
51
Chapter 3 Cpu Module Instruction
52
Sequence Instruction
52
Basic Instruction
56
Application Instruction
71
Reading 1-Word/2-Word Data from Another Module (16-Bit Specification)
91
Reading 1-Word/2-Word Data from Another Module (32-Bit Specification)
91
Step Ladder Instructions
92
PID Control Instruction
92
SFC Program Instructions
93
Chapter 4 Module Specific Instruction
95
Network Common Instruction
95
Ethernet Instruction
95
CC-Link IE TSN Instructions
97
CC-Link IE Field Network Instruction
97
High-Speed Counter Instruction
98
External Device Communication Instruction
99
Positioning Instruction
100
BFM Device Read/ Write Instruction
101
Chapter 5 Standard Functions/Function Blocks
102
Standard Functions
102
Type Conversion Functions
102
Standard Functions of One Numeric Variable
107
Standard Arithmetic Functions
108
Standard Bit Shift Functions
109
Standard Bitwise Boolean Functions
109
Standard Selection Functions
110
Standard Comparison Functions
110
Standard Character String Functions
111
String Concatenation
111
Time Data Functions
112
Standard Function Blocks
113
Bistable Function Blocks
113
Edge Detection Function Blocks
113
Counter Function Blocks
113
Timer Function Blocks
114
Part 3 Cpu Module Instructions
115
Chapter 6 Sequence Instructions
116
Contact Instructions
116
Operation Start, Series Connection, Parallel Connection
116
Operation Error
118
Pulse Operation Start, Pulse Series Connection, Pulse Parallel Connection
119
Processing Details
120
Pulse NOT Operation Start, Pulse NOT Series Connection, Pulse NOT Parallel Connection
123
Association Instruction
125
Ladder Block Series/Parallel Connection
125
Storing/Reading/Clearing the Operation Result
127
Program Example
128
Inverting the Operation Result
130
Converting the Operation Result into a Pulse
131
Output Instructions
132
Out (Excluding the Timer, Counter and Annunciator)
132
Timer
134
Counter
137
Long Counter
139
Annunciator
141
Setting Devices (Excluding Annunciator)
143
Resetting Devices (Excluding Annunciator)
145
Setting Annunciator
147
Related Devices
148
Resetting Annunciator
149
Setting Annunciator (with Check Time)
151
Program Example
152
Resetting Annunciator (Smallest Number Reset)
153
Rising Edge Output
154
Falling Edge Output
156
Inverting the Bit Device Output
158
Inverting the Bit Device Output
159
Shift Instructions
161
Shifting Bit Devices
161
Shifting 16-Bit Data to the Right by N Bit(S)
163
Shifting 16-Bit Data to the Left by N Bit(S)
165
Shifting N-Bit Data to the Right by 1 Bit
167
Shifting N-Bit Data to the Left by 1 Bit
169
Shifting N-Word Data to the Right by 1 Word
171
Shifting N-Word Data to the Left by 1 Word
172
Shifting N-Bit(S) Data to the Right by (N) Bit(S)
173
Shifting N-Bit Data to the Left by N Bit(S)
175
Shifting N-Word Data to the Right by N Word(S)
177
Shifting N-Word Data to the Left by N Word(S)
179
Master Control Instruction
181
Setting/Resetting the Master Control
181
Termination Instructions
185
Ending the Main Routine Program
185
Ending the Sequence Program
188
Stop Instruction
190
Stopping the Sequence Program
190
Chapter 7 Basic Instructions
191
Comparison Operation Instructions
191
Comparing 16-Bit Binary Data
191
Applicable Devices
192
Specification
192
Comparing 32-Bit Binary Data
194
Comparison Output 16-Bit Binary Data
196
Comparison Output 32-Bit Binary Data
198
Comparing 16-Bit Binary Data Band
200
Comparing 32-Bit Binary Data Band
202
Comparing 16-Bit Binary Block Data
204
Comparing 32-Bit Binary Block Data
207
Arithmetic Operation Instructions
210
Adding 16-Bit Binary Data
210
Subtracting 16-Bit Binary Data
216
Adding 32-Bit Binary Data
222
Subtracting 32-Bit Binary Data
228
Multiplying 16-Bit Binary Data
234
Program Example
237
Dividing 16-Bit Binary Data
238
Multiplying 32-Bit Binary Data
242
Dividing 32-Bit Binary Data
246
Adding BCD 4-Digit Data
250
Subtracting BCD 4-Digit Data
252
Error Code
254
Adding BCD 8-Digit Data
255
Subtracting BCD 8-Digit Data
258
Multiplying BCD 4-Digit Data
261
Dividing BCD 4-Digit Data
263
Multiplying BCD 8-Digit Data
265
Dividing BCD 8-Digit Data
267
Adding 16-Bit Binary Block Data
269
Program Example
270
Subtracting 16-Bit Binary Block Data
271
Adding 32-Bit Binary Block Data
273
Subtracting 32-Bit Binary Block Data
275
Incrementing 16-Bit Binary Data
277
Decrementing 16-Bit Binary Data
279
Incrementing 32-Bit Binary Data
280
Decrementing 32-Bit Binary Data
281
Logical Operation Instructions
282
Performing an and Operation on 16-Bit Data
282
Performing an and Operation on 32-Bit Data
284
Performing an and Operation on 16-Bit Block Data
287
Performing an or Operation on 16-Bit Data
289
Performing an or Operation on 32-Bit Data
291
Performing an or Operation on 16-Bit Block Data
294
Performing an XOR Operation on 16-Bit Data
296
Performing an XOR Operation on 32-Bit Data
298
Performing an XOR Operation on 16-Bit Block Data
301
Performing an XNOR Operation on 16-Bit Data
303
Performing an XNOR Operation on 32-Bit Data
305
Performing an XNOR Operation on 16-Bit Block Data
308
Bit Processing Instructions
310
Setting a Bit in the Word Device
310
Resetting a Bit in the Word Device
311
Performing a 16-Bit Test
312
Performing a 32-Bit Test
314
Batch-Resetting Bit Devices
316
Batch-Resetting Devices
317
Program Example
319
Data Conversion Instructions
320
Converting Binary Data to BCD 4-Digit Data
320
Converting Binary Data to BCD 8-Digit Data
322
Converting BCD 4-Digit Data to Binary Data
324
Converting BCD 8-Digit Data to Binary Data
326
Converting Single-Precision Real Number to 16-Bit Signed Binary Data
328
Converting Single-Precision Real Number to 16-Bit Unsigned Binary Data
330
Converting Single-Precision Real Number to 32-Bit Signed Binary Data
332
Converting Single-Precision Real Number to 32-Bit Unsigned Binary Data
334
Converting 16-Bit Signed Binary Data to 16-Bit Unsigned Binary Data
336
Converting 16-Bit Signed Binary Data to 32-Bit Signed Binary Data
337
Converting 16-Bit Signed Binary Data to 32-Bit Unsigned Binary Data
338
Converting 16-Bit Unsigned Binary Data to 16-Bit Signed Binary Data
339
Converting 16-Bit Unsigned Binary Data to 32-Bit Signed Binary Data
340
Converting 16-Bit Unsigned Binary Data to 32-Bit Unsigned Binary Data
341
Converting 32-Bit Signed Binary Data to 16-Bit Signed Binary Data
342
Converting 32-Bit Signed Binary Data to 16-Bit Unsigned Binary Data
343
Converting 32-Bit Signed Binary Data to 32-Bit Unsigned Binary Data
344
Converting 32-Bit Unsigned Binary Data to 16-Bit Signed Binary Data
345
Converting 32-Bit Unsigned Binary Data to 16-Bit Unsigned Binary Data
346
Converting 32-Bit Unsigned Binary Data to 32-Bit Signed Binary Data
347
Converting 16-Bit Binary Data to Gray Code
348
Converting 32-Bit Binary Data to Gray Code
349
Converting Gray Code to 16-Bit Binary Data
351
Converting Gray Code to 32-Bit Binary Data
352
Converting Decimal ASCII to 16-Bit Binary Data
354
Program Example
356
Converting Decimal ASCII to 32-Bit Binary Data
358
Converting ASCII to HEX
362
Converting Character String to 16-Bit Binary Data
366
Converting Character String to 32-Bit Binary Data
369
Two's Complement of 16-Bit Binary Data (Sign Inversion)
372
Two's Complement of 32-Bit Binary Data (Sign Inversion)
374
Decoding from 8 to 256 Bits
375
Encoding from 256 to 8 Bits
377
Error Code
378
Seven-Segment Decoding
379
Seven Segment with Latch
381
Separating 4 Bits from 16-Bit Data
384
Connecting 4 Bits to 16-Bit Data
386
Separating the Specified Number of Bits
388
Connecting the Specified Number of Bits
390
Separating Data in Byte Units
392
Connecting Data in Byte Units
394
Digital Switch
397
Data Transfer Instructions
399
Transferring 16-Bit Data
399
Transferring 32-Bit Data
401
Inverting and Transferring 16-Bit Data
403
Inverting and Transferring 32-Bit Data
405
Digit Move
406
Extension Function
407
Inverting and Transferring 1-Bit Data
408
Transferring 16-Bit Block Data (65535 Points Maximum)
409
Transferring Identical 16-Bit Block Data (65535 Points Maximum)
411
Transferring Identical 32-Bit Block Data (65535 Points Maximum)
413
Exchanging 16-Bit Data
415
Exchanging 32-Bit Data
417
Exchanging the Upper and Lower Bytes of 16-Bit Data
419
Exchanging the Upper and Lower Bytes of 32-Bit Data
420
Transferring 1-Bit Data
421
Transferring Octal Bits (16-Bit Data)
422
Transferring Octal Bits (32-Bit Data)
424
Transferring N-Bit Data
426
Chapter 8 Application Instruction
428
Rotation Instruction
428
Rotating 16-Bit Data to the Right
428
Rotating 16-Bit Data to the Left
431
Rotating 32-Bit Data to the Right
434
Rotating 32-Bit Data to the Left
436
Program Branch Instruction
438
Pointer Branch
438
Jump to END
442
Program Execution Control Instruction
443
Disabling/Enabling Interrupt Programs
443
Disabling the Interrupt Program with Specified Priority or Lower
445
Interrupt Program Mask
449
Disabling/Enabling the Specified Interrupt Pointer
451
Returning from the Interrupt Program
453
Program Example
453
Resetting the Watchdog Timer
456
Structuring Instruction
457
FOR to NEXT
457
Forcibly Terminating the for to NEXT Instruction Loop
460
Calling a Subroutine Program
462
Returning from the Subroutine Program
467
Calling a Subroutine Program
468
Data Table Operation Instruction
470
Reading the Oldest Data from the Data Table
470
Reading the Newest Data from the Data Table
473
Writing Data to the Data Table
476
Inserting Data to the Data Table
478
Deleting Data from the Data Table
480
Reading/Writing Data Instructions
482
Execution Method
482
Reading Data from the Data Memory
483
Writing Data to the Data Memory
485
File Operation Instructions
488
Reading Data from the Specified File
488
Timing Chart
494
Writing Data to the Specified File
514
Applicable Devices
515
Specification
515
Processing Details
518
Timing Chart
520
Program Example
528
Operation Error
536
Deleting the Specified File
537
Processing Details
540
Timing Chart
540
Copying the Specified File
545
Specification
546
Moving the Specified File
555
Renaming the Specified File
565
Acquiring the Status of the Specified File
573
Error Codes Generated for File Operation Instructions
581
Error Code Description
581
Extended File Register Operation Instruction
582
Reading Extended File Register
582
Related Devices
584
Writing Extended File Register
585
Batch Initialization Function of Extended File Register
588
Error Code
590
Character String Operation Instruction
591
Comparing Character Strings
591
Concatenating Character Strings
594
Transferring Character Strings
598
Program Example
599
Transferring Unicode String Data
600
Converting 16-Bit Binary Data to Decimal ASCII
602
Operation Overview
603
Converting 32-Bit Binary Data to Decimal ASCII
607
Converting HEX Code Data to ASCII
613
Converting 16-Bit Binary Data to Character String
617
Converting 32-Bit Binary Data to Character String
620
Error Code
622
Converting Single-Precision Real Number to Character String
623
Converting Unicode Character String to Shift JIS Character String
630
Converting Shift JIS Character String to Unicode Character String (Without Byte Order Mark)
633
Converting Shift JIS Character String to Unicode (with Byte Order Mark)
636
Error Code
638
Detecting a Character String Length
639
Extracting Character String Data from the Right
641
Extracting Character String Data from the Left
644
Storing the Specified Number of Character Strings
647
Replacing the Specified Number of Character Strings
650
Searching Character String
654
Inserting Character String
657
Deleting Character String
659
Error Code
660
8.10 Real Number Instruction
661
Comparing Single-Precision Real Numbers
661
Single-Precision Real Number Comparison
663
Single-Precision Real Number Data Band Comparison
665
Adding Single-Precision Real Numbers
667
Subtracting Single-Precision Real Numbers
671
Multiplying Single-Precision Real Numbers
679
Dividing Single-Precision Real Numbers
681
Converting 16-Bit Signed Binary Data to Single-Precision Real Number
687
Converting 16-Bit Unsigned Binary Data to Single-Precision Real Number
688
Converting 32-Bit Signed Binary Data to Single-Precision Real Number
689
Converting 32-Bit Unsigned Binary Data to Single-Precision Real Number
690
Converting Character String to Single-Precision Real Number
691
Program Example
694
Converting Binary Floating Point to Decimal Floating Point
696
Converting Decimal Floating Point to Binary Floating Point
698
Inverting the Sign of Single-Precision Real Number
700
Transferring Single-Precision Real Number Data
702
Calculating the Sine of Single-Precision Real Number
704
Calculating the Cosine of Single-Precision Real Number
706
Calculating the Tangent of Single-Precision Real Number
708
Calculating the Arc Sine of Single-Precision Real Number
710
Calculating the Arc Cosine of Single-Precision Real Number
713
Calculating the Arc Tangent of Single-Precision Real Number
716
Converting Single-Precision Real Number Angle to Radian
718
Converting Single-Precision Real Number Radian to Angle
720
Calculating the Square Root of Single-Precision Real Number
722
Calculating the Exponent of Single-Precision Real Number
724
Calculating the Natural Logarithm of Single-Precision Real Number
726
Calculating the Exponentiation of Single-Precision Real Number
728
Calculating the Common Logarithm of Single-Precision Real Number
730
Searching the Maximum Value of Single-Precision Real Number
732
Searching the Minimum Value of Single-Precision Real Number
734
Generating Random Number
736
Random Number Instruction
736
Saving All Data of the Index Register
738
Returning All Data of the Index Register
741
Saving the Selected Data of the Index Register and Long Index Register
742
Returning the Selected Data of the Index Register and Long Index Register
744
Data Control Instruction
745
Upper and Lower Limit Control of 16-Bit Binary Data
745
Upper and Lower Limit Control of 32-Bit Binary Data
747
Dead Band Control of 16-Bit Binary Data
749
Dead Band Control of 32-Bit Binary Data
751
Zone Control of 16-Bit Binary Data
754
Zone Control of 32-Bit Binary Data
756
Scaling 16-Bit Binary Data (Point Coordinates)
758
Scaling 32-Bit Binary Data (Point Coordinates)
761
Scaling 16-Bit Binary Data (XY Coordinates)
764
Scaling 32-Bit Binary Data (XY Coordinates)
768
Teaching Timer
771
Special Timer Instruction
771
Special Function Timer
774
Control Data
774
Rotary Table Shortest Direction Control
778
Shortcut Control Instruction
778
Ramp Signal Instruction
781
Pulse Related Instruction
784
Measuring the Density of 16 Bit Binary Pulses
784
Measuring the Density of 32 Bit Binary Pulses
790
Bit Binary Pulse Output
795
Bit Binary Pulse Width Modulation
818
Error Code
824
Input Matrix
825
Initial State
829
IST Instruction Equivalent Circuit
832
Example of ist Instruction Introduction (Example of Workpiece Transfer Mechanism)
833
Program Example
836
Applicable Devices
840
Processing Details
841
Relative Method
844
Operation Example
845
Error Code
846
Check Code
847
Searching 16-Bit Data
850
Searching 32-Bit Data
852
Bit Check of 16-Bit Data
854
Bit Check of 32-Bit Data
856
Bit Judgment of 16-Bit Data
857
Bit Judgment of 32-Bit Data
859
Searching the Maximum Value of 16-Bit Data
861
Error Code
862
Searching the Maximum Value of 32-Bit Data
863
Searching the Minimum Value of 16-Bit Data
865
Searching the Minimum Value of 32-Bit Data
867
Sorting 16-Bit Data
872
Adding 16-Bit Data
878
Program Example
879
Adding 32-Bit Data
880
Calculating the Mean Value of 16-Bit Data
882
Calculating the Mean Value of 32-Bit Data
884
Calculating the Square Root of 16-Bit Data
886
Calculating the Square Root of 32-Bit Data
888
CRC Calculation
889
Reading the Indirect Address
892
Indirect Address Read Instruction
892
Advertisement
Mitsubishi Electric MELSEC iQ-FX5U User Manual (954 pages)
Communication
Brand:
Mitsubishi Electric
| Category:
Controller
| Size: 15 MB
Table of Contents
Safety Precautions
3
Introduction
8
Table of Contents
9
Relevant Manuals
22
Terms
22
Generic Terms and Abbreviations
22
Generic Term/Abbreviation
23
PART 1 Ethernet COMMUNICATION
25
Chapter 1 Outline
26
Socket Communication
26
Chapter 2 Specifications
28
Communication Specifications
28
Cpu Module
28
Ethernet Module
29
Connection Specifications
30
Ethernet Cable Connection
30
Chapter 3 List of Functions
31
Chapter 4 Connection with Melsoft Product and Got
33
Direct Connection with Engineering Tool
33
Setting Method
34
Precautions
39
Indirect Connection
39
Connection Via a Hub
40
Setting the Ethernet-Equipped Module
41
Setting Module Parameters
41
Engineering Tool Settings
43
Searching Ethernet-Equipped Modules on Network
46
Communication Via Router
48
Precautions
49
Chapter 5 Simple Cpu Communication Function
51
Connectable Devices
52
Utilization Examples
53
Specifications List
54
Device Type
55
Procedures for Use
56
Devices and Software to be Used
56
Setting Example 1: Connect Three Mitsubishi Electric Programmable Controllers
57
Operating Procedure
58
Setting the Ip Address
58
Checking the Communication Status
60
Setting Example 2: Connect Another Company's Device (KV-8000)
61
Checking the Simple CPU Communication Status
64
Ethernet Module
66
Specification Details
69
Device Setting
73
Latency Time
87
Program Examples of Communication on Request
87
When the Own Station Is a CPU Module
87
When the Own Station Is an Ethernet Module
89
Precautions
91
Redundant System
92
Chapter 6 Slmp Function
94
Specifications
95
Communication Specifications
95
Link Specifications
96
Setting Method
97
Ethernet Module
98
SLMP Commands
99
Data Communication Process
99
Precautions
100
CPU Module Processing Time of SLMP
102
Applicable Connections
104
Chapter 7 Predefined Protocol Support Function
104
Data Communication
105
Module Parameter Setting Procedure
110
Applicable Dedicated Instructions
110
Protocol Communication Type
110
Packet Elements
111
Execution Conditions of Predefined Protocol Communications
117
Example of Predefined Protocol Communications
118
Parameter Settings
118
Sending Side
118
Receiving Side
123
Predefined Protocol Support Function Instruction
125
Executing the Registered Protocols
125
Applicable Devices
125
Control Data
126
Setting Range
126
Processing Details
128
Operation Error
131
Precautions
132
Port Number
132
Chapter 8 Socket Communication Function
133
Port Numbers
133
Communication Using TCP
134
Program Example
135
Parameter Setting
136
Sample Program
138
Communication Using UDP
142
Program Example
143
Sending and Receiving Data
145
CLOSE Instruction
145
Socket Communication Function Instructions
146
Opening a Connection
147
Applicable Devices
147
Control Data
148
Processing Details
149
Operation Error
149
Disconnecting a Connection
156
Reading Received Data in the END Processing
162
Reading Received Data in the Processing
166
Sending Data
169
Specification
173
Reading Connection Information
176
Reading Socket Communication Receive Data
178
Precautions
180
Chapter 9 File Transfer Function (Ftp Server)
182
Data Communication Procedures
182
Password Setting
183
Files that Can be Transferred with FTP
186
FTP Command
186
Precautions
192
Communication Processing
192
Deleting Files
193
Chapter 10 File Transfer Function (Ftp Client)
194
File Transfer Specifications of File Transfer Function (FTP Client)
194
Transferable File
194
Procedure for Executing the File Transfer Function (FTP Client)
195
Setting in the External Device (FTP Server)
195
Setting in the CPU Module (FTP Client)
196
Executing a File Transfer Function Instruction
196
Program Example
197
Program Example to Specify Wild Cards
197
Logging Settings
198
Setting Value
198
Program Example to Transfer Files One by One
200
Own Node Settings
200
Example of Program for Obtaining Files from FTP Server
203
Precautions
206
Chapter 11 Time Setting Function (Sntp Client)
207
Setting Procedure
208
Communication Timeout
209
Chapter 12 Web Server Function
210
Javascript Objects
210
Common Information on Javascript Objects
210
Data Block (Wsdatblk)
213
Level Display (Wslevel)
215
Image Display (Wspicture)
219
Historical Graph Display (Wshstgrp)
220
Write Button (Wswrtbtn)
222
Logout Button (Wslogoutbtn)
223
CGI Object
224
Data Specified for CGI Object
224
Device Name
224
Device Size
225
Device Read CGI
226
Application Example
228
Device Write CGI
231
Error Message
235
Chapter 13 Security Function
236
IP Filter Function
236
Setting Method
237
IP Filter Settings
238
Remote Password
239
Communication Using Remote Password
239
Remote Password Setting
240
Writing to the CPU Module
241
Precautions
242
Detection of Unauthorized Access and Actions
243
Chapter 14 Ip Address Change Function
244
Overview of the IP Address Change Function
244
IP Address to be Set for the Ethernet-Equipped Module
245
Write Operation to IP Address Storage Area
246
IP Address Storage Area Write Procedure
246
Clear Operation to IP Address Storage Area
248
IP Address Storage Area Clear Procedure
248
Precautions
249
Part 2 Serial Communication
251
Chapter 15 List of Functions
252
Chapter 16 N:n Network
254
Outline of System
254
Procedures before Operation
255
System Configuration
255
Specifications
258
Communication Specifications
258
Link Specifications
259
Wiring
262
Wiring Procedure
262
Cable
262
Twisted-Pair Cable
262
Termination Resistor Setting
264
Connection Diagram
265
Grounding
266
Communication Setting
267
Programming
269
Communication Setting
269
Contents of Related Devices
270
Link Device
270
Communication Test
271
Creating Programs for the Master Station
273
Creating Programs for the Local Stations
275
Cautions on Program Creation
277
Related Devices
278
List of Related Devices
278
Details of Related Devices
284
Serial Communication Error
284
Monitoring Time Setting
288
Chapter 17 Parallel Link Function
291
Function Outline
291
Procedure before Operation
292
System Configuration
292
FX5U CPU Module
294
FX5UC CPU Module
294
Specifications
295
Communication Specifications
295
Link Specifications
295
High-Speed Parallel Link Mode
296
Wiring
297
Wiring Procedure
297
Cable
297
Twisted-Pair Cable
297
Termination Resistor Setting
299
Connection Diagram
300
Grounding
300
Communication Setting
301
Programming
303
Communication Settings
303
Contents of Related Devices
303
Communication Test
305
Creating Programs for the Master Station
306
Creating Programs for the Linked Station
307
Cautions on Program Creation
307
Related Devices
308
List of Related Devices
308
Details of Related Devices
309
Serial Communication Setting
310
Chapter 18 MC Protocol
312
Function Summary
312
Procedures before Operation
312
System Configuration
313
FX5U CPU Module
315
Specifications
316
Communication Specifications
316
Link Specifications
317
Wiring
319
Wiring Procedure
319
Selecting Connection Method
319
Cable
320
Cable Specifications
320
Termination Resistor Setting (RS-485)
322
Connection Diagram
323
Two-Pair Wiring
324
Grounding
324
Communication Setting
325
Fixed Setting
325
Basic Settings
326
MC Protocol Command
328
Command List
328
Applicable Device
328
Related Devices
329
List of Related Devices
329
Details of Related Devices
330
Serial Communication Error
330
Serial Communication Settings
332
Message System
333
Chapter 19 Inverter Communication
334
Function Outline
334
Procedure before Operation
334
System Configuration
335
FX5U CPU Module
337
FX5UC CPU Module
338
Specifications
339
Communication Specifications
339
Applicable Inverter
339
Inverter Instruction Codes and Parameters
340
Time Required for Inverter Communication Instructions
342
Calculation Method
343
Calculation Example
345
Wiring
347
Wiring Procedure
347
Connection Method
347
10BASE-T Cable
351
Connection Devices (RJ45 Connector and Distributor)
353
Termination Resistor Setting
354
Shielded Wiring
355
Connection Diagram
356
Grounding
361
Inverter Communication Settings
361
FREQROL-F800/A800/A800 Plus Series
362
FREQROL-E800 Series
363
FREQROL-F700P/A700 Series
365
FREQROL-F700PJ/E700/D700/E700EX Series
366
FREQROL-V500 Series
368
Programmable Controller Communication Settings
369
Programming
371
Common Items in Inverter Communication Instructions
371
Instruction Completion and Error Flag Operation
374
Program Example
378
Contents of Operation
378
Parameter Setting
378
Inverter Operation Monitoring Instruction
386
Applicable Devices
386
Processing Details
386
Operation Error
387
Inverter Operation Control Instruction
388
Inverter Parameter Read
390
Inverter Parameter Write
393
Inverter Parameter Block Write
396
Multiple Inverter Commands
399
Applicable Inverters
401
Second Parameter Specification Code
403
Related Devices
409
List of Related Devices
409
Details of Related Devices
410
Chapter 20 Non-Protocol Communication
416
Function Summary
416
Procedure before Operation
417
System Configuration
417
Specifications
420
Wiring
420
Wiring Procedure
420
Cable
420
Twisted-Pair Cable
420
Termination Resistor Setting
422
Connection Diagram
423
Communication Equipment
424
Grounding
425
Communication Settings
425
Basic Settings
426
Programming
428
Serial Data Transmission
428
Applicable Devices
428
Applicable Frames
429
Function and Operation
431
Send/Receive Data and Amount of Data
432
Bit Mode
432
Operation of Control Line (RS-232C)
441
Normal Mode
441
Modem Mode
442
Interlink Mode
443
Precautions for Program Creation
444
Communication Protocol Setting
444
Example of Printing Using RS2 Instruction
445
20.8 Caution on Write During RUN, When RS2 Instruction Is Driven
447
Related Devices
447
List of Related Devices
447
Details of Related Devices
449
Serial Communication Settings
452
Chapter 21 Predefined Protocol Support Function
457
Function Summary
457
Procedure before Operation
458
System Configuration
458
FX5U CPU Module
460
FX5UC CPU Module
460
Specifications
461
Communication Specifications
461
Predefined Protocol Specifications
461
Communication Type
462
Packet
462
Communication Settings
462
Protocol Setting
464
Adding Protocols
465
Configuring Detailed Setting of Protocols
466
Operations for Protocol Setting Data
468
Packet Setting
470
Header
471
Terminator
472
Length
473
Static Data
474
Non-Conversion Variable
475
Conversion Variable
478
Check Code
483
Non-Verified Reception
485
Programming
486
Predefined Protocol Support Instruction
486
Processing Details
488
Instruction Execution Timing
488
Monitor Data
492
Program Example
493
Related Devices
495
List of Related Devices
495
Special Relays
495
Details of Related Devices
496
Serial Communication Error
496
Part 3 Modbus/Tcp Communication
503
Chapter 22 Outline
504
Outline of Function
504
Procedure for Operation
505
Chapter 23 Specifications
506
Communication Specifications
506
Chapter 24 Modbus/Tcp Communication Specifications
508
MODBUS Protocol
508
Frame Specifications
508
List of Supported MODBUS Standard Functions
509
Chapter 25 Communication Setting
510
Setup Method for Port no
510
Setup Method for MODBUS/TCP Communication
511
Contents of Parameter Setting
512
Chapter 26 Function
514
Master Function
514
Connection Settings
514
Protocol Settings
515
Slave Function
516
Automatic Response
516
Related Devices
517
Details of Related Devices
517
Part 4 Modbus Serial Communication
519
Chapter 27 Outline
520
Outline of Function
520
Procedure for Operation
521
Chapter 28 Configuration
522
System Configuration
522
Chapter 29 Specifications
525
Communication Specifications
525
Link Time
526
Chapter 30 Modbus Communication Specifications
529
MODBUS Protocol
529
Frame Mode
530
RTU Mode
530
List of Supported MODBUS Standard Functions
530
Chapter 31 Wiring
531
Wiring Procedure
531
Selecting Connection
531
For RS-232C
531
For RS-485
531
Connecting Cables
532
Termination Resistor Setting
533
Connection Diagram
534
Connection Diagram for RS-232C
534
Connection Diagram for RS-485
534
One-Pair Wiring
534
Grounding
535
Chapter 32 Communication Setting
536
Setup Method for MODBUS Serial Communication
536
Using the CPU Module
536
Using an Extended Board
538
Using an Expansion Adapter
538
Contents of Parameter Setting
539
Available Devices
540
Chapter 33 Function
542
Master Function
542
Specification
546
Slave Function
548
Related Devices
548
List of Related Devices
549
Special Registers
550
Details of Related Devices
551
Chapter 34 Creating Programs
557
Creating Programs for the Master Station
557
Cautions on Program Creation
558
Part 5 Slmp
559
Chapter 35 Outline
560
Outline of SLMP
560
Features of SLMP
561
Access Via Network
562
Chapter 36 Slmp Data Communication
564
Type and Application of the Data Communication Frame
564
Allowable Access Range of each Data Communication Frame
565
SLMP Frame
565
Access Range
565
Concept of Control Procedure of SLMP
565
36.4 Access Timing of the Ethernet-Equipped Module Side
566
Transfer Time
567
Chapter 37 Message Format
568
Frame
568
Message Format and Control Procedure
568
Data Format
568
Application Data
569
Application Data Specification Items
574
Response Message
574
Error Information
581
Transfer Data in Character Area
581
When Word Device Memory Is Read or Written
583
Character Areas
586
Device Code
588
Frame
593
Message Format and Control Procedure
593
Application Data Specification Items
597
Request Message
597
Transfer Data in Character Area
599
When Word Device Memory Is Read or Written
601
Character Areas
604
Chapter 38 3E Frame Commands
608
List of Commands and Functions
608
Cpu Module
608
Device Access
616
Commands
616
Advertisement
Related Products
Mitsubishi Electric MELSEC iQ FX5UJ
Mitsubishi Electric MELSEC iQ-FX5
Mitsubishi Electric MELSEC iQ-FX5-ENET MQTT
Mitsubishi Electric MELSEC iQ-FX5-CCLGN-MS
Mitsubishi Electric MELSEC iQ-FX5S
Mitsubishi Electric MELSEC iQ-FX5UJ
Mitsubishi Electric MELSEC iQ-FX5UC
Mitsubishi Electric MELSEC iQ-R16MTCPU
Mitsubishi Electric MELSEC iQ-R-R120SFCPU
Mitsubishi Electric MELSEC iQ-RD55UP12-V
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