Mitsubishi Electric FX3U-232-BD User Manual

Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
Table of Contents
FX SERIES PROGRAMMABLE CONTROLLERS
USER'S MANUAL
Data Communication Edition
  N:N Network
 Parallel Link
 Computer Link
 Inverter Communication
 Non-Protocol Communication
 Programming Communication
 Remote Maintenance
RS-232C Interface
FX
-232-BD
3U
FX
-232ADP(-MB)
3U
FX
-232-BD
3G
FX
-232-BD
2N
FX
-232ADP
2NC
RS-485 Interface
FX
-485-BD
3U
FX
-485ADP(-MB)
3U
FX
-485-BD
3G
FX
-485-BD-RJ
3G
FX
-485-BD
2N
RS-485/232C Converter
FX-485PC-IF
RS-422 Interface
FX
-422-BD
3U
FX
-422-BD
3G
USB Interface
FX
-USB-BD
3U
Ethernet
FX
-ENET-ADP
3U
FX
-232-BD
1N
FX
-232ADP
0N
FX-232ADP
FX
-232IF
2N
FX
-485ADP
2NC
FX
-485-BD
1N
FX
-485ADP
0N
FX-485ADP
FX
-422-BD
2N
FX
-422-BD
1N
Table of Contents
loading

Summary of Contents for Mitsubishi Electric FX3U-232-BD

  • Page 1   N:N Network  Parallel Link  Computer Link  Inverter Communication  Non-Protocol Communication  Programming Communication  Remote Maintenance FX SERIES PROGRAMMABLE CONTROLLERS USER'S MANUAL Data Communication Edition RS-232C Interface -232-BD -232-BD -232ADP(-MB) -232ADP -232-BD FX-232ADP -232-BD -232IF -232ADP RS-485 Interface...
  • Page 3 Safety Precaution (Read these precautions before use.) Before installation, operation, maintenance or inspection of this product, thoroughly read through and understand this manual and all of the associated manuals. Also, take care to handle the module properly and safely. This manual classifies the safety precautions into two categories: Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
  • Page 4 • Do not disassemble or modify the PLC. Doing so may cause fire, equipment failures, or malfunctions. For repair, contact your local Mitsubishi Electric representative. • Turn off the power to the PLC before connecting or disconnecting any extension cable.
  • Page 5 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 6 • Since the examples within this manual, technical bulletin, catalog, etc. are used as reference; please use it after confirming the function and safety of the equipment and system. Mitsubishi Electric will not accept responsibility for actual use of the product based on these illustrative examples.
  • Page 7: Table Of Contents

    FX Series PLC User's Manual - Data Communication Edition Table of Contents Table of Contents SAFETY PRECAUTIONS ....................(1) A.Common Items 1. Introduction 1.1 Communication Types .........................A-1 1.2 Outline and Features of Communication Types................A-3 1.2.1 CC-Link Network ..........................A-3 1.2.2 Ethernet communication.......................A-6 1.2.3 N:N Network ..........................A-7 1.2.4 Parallel Link ..........................A-8 1.2.5 Computer Link ..........................A-9...
  • Page 8 FX Series PLC User's Manual - Data Communication Edition Table of Contents 3. Outline of Communication Setting in the FX Series A-65 3.1 Setting Method ...........................A-65 3.2 Communication Setting Using Parameter Method (GX Works2) ..........A-67 3.2.1 Operating procedure........................A-67 3.2.2 Correspondence between parameter setting and each communication type......A-68 3.3 Communication Setting in Parameter Method (FXGP/WIN) ............A-69 3.3.1 Operating procedure........................A-69 3.3.2 Correspondence between parameter setting and each communication type......A-71...
  • Page 9 FX Series PLC User's Manual - Data Communication Edition Table of Contents B. N:N Network 1. Outline 1.1 Outline of System.........................B-3 1.2 Procedures Before Operation ......................B-4 1.3 Communication Type Applicability in PLC ...................B-5 1.3.1 Applicable versions........................B-5 1.3.2 Version check ..........................B-5 1.3.3 How to look at the manufacturer's serial number .................B-5 1.3.4 Products whose production was stopped ..................B-5 1.4 Programming Tool Applicability....................B-6...
  • Page 10 FX Series PLC User's Manual - Data Communication Edition Table of Contents 7. Creating Programs B-33 7.1 Checking Contents of Related Devices..................B-33 7.2 Creating Programs for Master Station (Station No. 0) ...............B-35 7.3 Creating Programs for Slave Station (Station No. "n")...............B-38 7.4 Cautions on Program Creation....................B-40 8.
  • Page 11 FX Series PLC User's Manual - Data Communication Edition Table of Contents C. Parallel Link 1. Outline 1.1 Outline of System........................C-3 1.2 Procedures Before Operation ..................... C-4 1.3 Communication Type Applicability in PLC .................. C-5 1.3.1 Applicable versions........................C-5 1.3.2 Version check ..........................
  • Page 12 FX Series PLC User's Manual - Data Communication Edition Table of Contents 6. Test Run (Communication Test) C-35 6.1 Test Procedure.......................... C-35 6.2 Creating Programs for the Communication Test............... C-36 6.2.1 For FX (FX), FX , FX , FX , FX , FX , FX , FX...
  • Page 13 FX Series PLC User's Manual - Data Communication Edition Table of Contents D. Computer Link 1. Outline 1.1 Outline of System........................D-3 1.2 Procedures Before Operation ..................... D-4 1.3 Communication Type Applicability in PLC .................. D-5 1.3.1 Applicable versions........................D-5 1.3.2 Version check ..........................
  • Page 14 FX Series PLC User's Manual - Data Communication Edition Table of Contents 5. Communication Setting in FX Programmable Controller D-40 5.1 Communication Setting Methods ....................D-40 5.2 Communication Setting Using Parameter Method (GX Works2) ..........D-41 5.2.1 Operating procedure........................D-41 5.3 Communication Settings Using Parameter Method (FXGP/WIN) ..........
  • Page 15 FX Series PLC User's Manual - Data Communication Edition Table of Contents 8. Troubleshooting D-86 8.1 Checking FX PLC Version Applicability ..................D-86 8.2 Checking Communication Status Based on LED Indication ............. D-86 8.3 Checking Installation and Wiring....................D-86 8.4 Checking Sequence Program ....................D-86 8.5 Checking Error Codes.......................
  • Page 16 1.4.2 For non-applicable versions (setting an alternative model) ............E-7 2. Specifications 2.1 Communication Specifications (Reference) .................E-8 2.2 Connectable Mitsubishi Electric General-purpose Inverters ............E-8 2.3 Link Specifications ........................E-9 2.3.1 When monitoring inverter operations (PLC  inverter)..............E-9 2.3.2 When controlling inverter operations (PLC  inverter) ..............E-9 2.3.3 Parameters (PLC ...
  • Page 17 FX Series PLC User's Manual - Data Communication Edition Table of Contents 5. Communication Setting in Inverter E-48 5.1 Communication Port and Applicable Parameters ..............E-48 5.2 S500 Series (When Connected to RS-485 Port)................E-50 5.2.1 Contents of parameter setting ....................E-50 5.2.2 Parameter setting method (reference)..................E-51 5.3 E500 Series (When Connected to PU Port)................E-53 5.3.1 Contents of parameter setting ....................E-53 5.3.2 Parameter setting method (reference)..................E-54...
  • Page 18 FX Series PLC User's Manual - Data Communication Edition Table of Contents 7.7 Second Parameter Specification Codes ..................E-85 7.7.1 S500 Series ..........................E-85 7.7.2 E500 Series ..........................E-85 7.7.3 A500 Series ..........................E-86 8. Practical Program Examples (FX , FX E-87 8.1 Practical Example 1 ........................E-87 8.1.1 System configuration example ....................E-87 8.1.2 Contents of operation .........................E-87 8.1.3 Program example ........................E-88...
  • Page 19 FX Series PLC User's Manual - Data Communication Edition Table of Contents 10. Practical Program Examples (FX , FX , FX , FX , FX E-119 10.1 Practical Example 1 .......................E-119 10.1.1 System configuration example ....................E-119 10.1.2 Contents of operation ......................E-119 10.1.3 Program example ........................E-120 10.2 Practical Example 2 .......................E-125 10.2.1 System configuration example ....................E-125...
  • Page 20 FX Series PLC User's Manual - Data Communication Edition Table of Contents F.Non-Protocol Communication (RS/RS2 Instruction) 1. Outline 1.1 Outline of System.........................F-3 1.2 Procedures Before Operation ......................F-7 1.3 Communication Type Applicability in PLC ...................F-8 1.3.1 Applicable versions........................F-8 1.3.2 Version check ..........................F-8 1.3.3 How to look at the manufacturer's serial number .................F-8 1.3.4 Products whose production was stopped ..................F-8 1.4 Programming Tool Applicability....................F-9...
  • Page 21 FX Series PLC User's Manual - Data Communication Edition Table of Contents 6. Creating Programs (RS Instruction) F-45 6.1 Checking Contents of Related Devices..................F-45 6.2 How to Use RS Instruction ......................F-46 6.2.1 Applicable frames ........................F-46 6.2.2 Function and operation.......................F-47 6.2.3 Send/receive data and amount of data..................F-48 6.2.4 Operation when data is sent.......................F-50 6.2.5 Operation when data is received ....................F-50 6.3 Operation of Control Line ......................F-52...
  • Page 22 FX Series PLC User's Manual - Data Communication Edition Table of Contents 11. Troubleshooting F-87 11.1 Checking FX PLC Version Applicability ...................F-87 11.2 Checking Communication Status Based on LED Indication ............F-87 11.3 Checking Installation ........................F-87 11.4 Checking Sequence Program ....................F-88 11.4.1 Checking communication port settings (in FX , FX , FX...
  • Page 23 FX Series PLC User's Manual - Data Communication Edition Table of Contents G.Non-Protocol Communication (FX -232IF) 1. Outline 1.1 Features ............................G-3 1.2 Procedures Before Operation ..................... G-4 1.3 Communication Type Applicability in PLC .................. G-5 1.3.1 Applicable versions........................G-5 1.3.2 Products whose production was stopped ..................
  • Page 24 FX Series PLC User's Manual - Data Communication Edition Table of Contents 5. Creating Programs G-14 5.1 Outline of Communication between FX PLC and 232IF ............G-14 5.1.1 For FROM and TO instructions ....................G-14 5.1.2 For direct specification of buffer memory (U\G) ..............G-14 5.2 FROM and TO Instructions .......................
  • Page 25 FX Series PLC User's Manual - Data Communication Edition Table of Contents H.Programming Communication 1. Outline 1.1 Outline of System........................H-3 1.2 Procedures Before Operation ..................... H-4 1.3 Communication Type Applicability in PLC .................. H-5 1.3.1 Applicable PLC ..........................H-5 1.3.2 Products whose production was stopped ..................
  • Page 26 FX Series PLC User's Manual - Data Communication Edition Table of Contents 6. Connection Setting for Personal Computer H-41 6.1 Connection Setting (GX Works2) ....................H-41 6.1.1 Setting RS-232C or USB, communication port, and transmission speed........H-42 6.1.2 Setting for using GOT transparent function ................H-44 6.1.3 Setting communication time check and number of retries............
  • Page 27 FX Series PLC User's Manual - Data Communication Edition Table of Contents I.Remote Maintenance 1. Outline 1.1 Outline of System.......................... I-3 1.1.1 Maintenance for programs in PLC....................I-3 1.1.2 File transfer between personal computers (supported only by FXGP/WIN)........I-4 1.2 Procedures Before Operation ....................... I-5 1.3 Communication Type Applicability in PLC ..................
  • Page 28 FX Series PLC User's Manual - Data Communication Edition Table of Contents 7. Connecting Line I-46 7.1 Preparing for Connection of PLC ....................I-46 7.2 Line Connection Procedure......................I-47 7.2.1 For GX Works2..........................I-47 7.2.2 For FXGP/WIN ..........................I-51 8. Troubleshooting I-54 8.1 Checking FX PLC Applicability....................
  • Page 29: Introduction

    1.2.5 Protocols in a computer support computer link protocol formats 1 and 4. Application Data acquisition and centralized control. Function Communicates with and controls Mitsubishi Electric inverter FREQROL. Inverter 1.2.6 Operation monitoring, writing of control values, referencing and communication Application changing parameters, etc.
  • Page 30 FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.1 Communication Types Reference I/O link subsection CC-Link/LT Function Constructs a CC-Link/LT system whose master station is an FX PLC. (built in 1.2.11 -32MT- Application Wire-conserving network inside control panel and unit. LT(-2)) Constructs an AnyWireASLINK system whose master station is an FX Function...
  • Page 31: Outline And Features Of Communication Types

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types Outline and Features of Communication Types This section outlines the communication types supported by FX PLCs. 1.2.1 CC-Link Network For details, refer to the FX -16CCL-M USER’S MANUAL.
  • Page 32 FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 3) When the master station is an FX -16CCL-M Master station FXCPU -16CCL-M Terminal resistor Terminal resistor Sensor, solenoid valve, Remote Inverter, Remote I/O...
  • Page 33 FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 3. Communication targets Equipment operating in accordance with the CC-Link standard 4. Function Master station allows connection of remote device station, remote I/O station (inverters, AC servos, sensors, solenoid valves, etc.) supporting the CC-Link network to achieve data link.
  • Page 34: Ethernet Communication

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.2 Ethernet communication For details, refer to FX -ENET-ADP User’s Manual. 1. Outline Network Range (Only within LAN) Router SNTP server -ENET-ADP Local station...
  • Page 35: N:n Network

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.3 N:N Network Refer to the "N:N Network" section. 1. Outline  FX CPU FX CPU FX CPU Station Station Station No.
  • Page 36: Parallel Link

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.4 Parallel Link Refer to the "Parallel Link" section. 1. Outline FX CPU FX CPU Master Slave station station Terminal resistor Terminal resistor...
  • Page 37: Computer Link

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.5 Computer Link Refer to the "Computer Link" section. 1. Outline 1) 1-to-N connection (RS-485) A computer link FXCPU FXCPU ACPU Terminal RS-232C...
  • Page 38: Inverter Communication

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.6 Inverter Communication Refer to the "Inverter Communication" section. 1. Outline FXCPU  Terminal Terminal resistor resistor Inverter Inverter Inverter ...
  • Page 39: Non-Protocol Communication

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.7 Non-protocol Communication Refer to the "Non-protocol Communication (RS/RS2 instruction)" section. Refer to the "Non-protocol Communication (FX -232IF)" section. 1. Outline FXCPU 500 m (1640' 5") maximum...
  • Page 40: Modbus Communication

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.8 MODBUS Communication For details, refer to FX User's Manual - MODBUS Serial Communication Edition. 1. Outline 1) In the case of the RS-485 FXCPU FXCPU FXCPU...
  • Page 41: Programming Communication

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.9 Programming Communication Refer to the "Programming Communication" section. 1. Outline 1) Standard built-in port in accordance with RS422 (programming tool or personal computer) Programming tool Cable RS-422...
  • Page 42 FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 5) Communication equipment operating in accordance with USB (personal computer) Programming tool FXCPU Cable Personal computer 6) Ethernet adapter (personal computer) Programming tool FXCPU Cable...
  • Page 43 FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 2. Applicable PLCs :Applicable (If applicable versions of main units are limited, they are described inside ( ).) —:Not applicable (FX), FX , FX Standard built-in port in...
  • Page 44: Remote Maintenance

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.10 Remote Maintenance Refer to the "Remote Maintenance" section. 1. Outline 1) Remote access (GX Works2, GX Developer or FXGP/WIN) Programming tool Line (such as general subscriber's...
  • Page 45: Cc-Link/Lt Network

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.11 CC-Link/LT Network For FX -32MT-LT(-2) built-in CC-Link/LT master, refer to FX Hardware Edition. For the FX -64CL-M, refer to FX -64CL-M USER’S MANUAL (Detailed Volume).
  • Page 46: Anywireaslink

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.12 AnyWireASLINK For details, refer to the FX -128ASL-M User's Manual. 1. Outline AnyWireASLINK Terminating FXCPU unit master Slave module Slave module Slave...
  • Page 47: As-I System

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.13 AS-i system For details, refer to the FX -32ASI-M User's Manual. 1. Outline AS-i flat cable AS-i FXCPU master Slave Repeater AS-i power...
  • Page 48: Internet Mail Sending

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.14 Internet Mail Sending For the detains, refer to the FX-232DOPA USERS MANUAL. (Only Japanese manual is available for this product.) 1.
  • Page 49: Short Mail Sending

    FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types 1.2.15 Short Mail Sending For details, refer to the FX PLC PROGRAMMING MANUAL. (Only the Japanese Manual is available.) 1. Outline Line (such as general subscriber's NTT DoCoMo...
  • Page 50 FX Series PLC User's Manual - Data Communication Edition 1 Introduction Common Items 1.2 Outline and Features of Communication Types MEMO A-22...
  • Page 51: Communication Types And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.1 Relationship between Equipment and Communication Types Communication Types and Communication Equipment This chapter explains which communication types are supported by serial ports of communication equipment and connectors of networks.
  • Page 52: Communication Equipment Applicability Map

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Communication Equipment Applicability Map The table below shows the communication types applicable in each FX Series and includes the supporting communication equipment.
  • Page 53 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Ethernet General-purpose Mail Wire-reducing network Sequence program communication communication sending Non-protocol CC-Link/ AnyWire AS-i MELSEC- Remote Internet mail Ethernet Programming communication...
  • Page 54 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Data Link Communication Communication equipment specifications Parallel Computer Inverter MODBUS CC-Link Network link link communication communication MODBUS Product Manual name (Obtain manuals if necessary.) ...
  • Page 55 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Ethernet General-purpose Mail Wire-reducing network Sequence program communication communication sending Non-protocol CC-Link/ AnyWire AS-i MELSEC- Remote Internet mail Ethernet Programming communication...
  • Page 56 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map 2.2.2 -32MT-LT(-2) PLCs Data Link Communication Communication equipment specifications Parallel Computer Inverter MODBUS CC-Link Network link link communication communication MODBUS Product...
  • Page 57 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Ethernet General-purpose Mail Wire-reducing network Sequence program communication communication sending Non-protocol CC-Link/ AnyWire AS-i MELSEC- Remote Internet mail Ethernet Programming communication...
  • Page 58 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map 2.2.3 and FX PLCs Data Link Communication Communication equipment specifications Parallel Computer Inverter MODBUS CC-Link Network link link communication communication MODBUS...
  • Page 59 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Ethernet General-purpose Mail Wire-reducing network Sequence program communication communication sending Non-protocol CC-Link/ AnyWire AS-i MELSEC- Remote Internet mail Ethernet Programming communication...
  • Page 60 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map 2.2.4 Data Link Communication Communication equipment specifications Parallel Computer Inverter MODBUS CC-Link Network link link communication communication MODBUS Product Manual name (Obtain manuals if necessary.) ...
  • Page 61 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map Ethernet General-purpose Wire-reducing network Sequence program Mail sending communication communication Non-protocol MELSEC-I/O Remote Internet mail Ethernet CC-Link/LT AS-i system Programming communication LINK...
  • Page 62 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map 2.2.5 and FX PLCs Link Communication Communication equipment specifications Parallel Computer Inverter CC-Link Network link link communication Product Manual name (Obtain manuals if necessary.) ...
  • Page 63 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map General-purpose I/O link Sequence program Mail sending communication Non-protocol CC-Link/ AS-i MELSEC-I/O Remote Internet mail Short mail Programming communication system LINK...
  • Page 64 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map 2.2.6 , FX , and FX PLCs Link Communication Communication equipment specifications Parallel Computer Inverter CC-Link Network link link communication Product...
  • Page 65 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map General-purpose I/O link Sequence program Mail sending communication Non-protocol MELSEC-I/O Remote Internet mail CC-Link/LT AS-i system Programming communication LINK maintenance sending...
  • Page 66: Fx 0N Plcs

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map 2.2.7 PLCs Link Communication Communication equipment specifications Parallel Computer Inverter CC-Link Network link link communication Product Manual name (Obtain manuals if necessary.)  This manual manual -232ADP...
  • Page 67 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.2 Communication Equipment Applicability Map General-purpose I/O link Sequence program Mail sending communication Non-protocol MELSEC-I/O Remote Internet mail CC-Link/LT AS-i system Programming communication LINK maintenance sending...
  • Page 68: Combination Of Communication Equipment (Block Diagram)

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Combination of Communication Equipment (Block Diagram) The block diagram below shows combinations of optional communication equipment applicable in each FX Series. 2.3.1 How to look at combination pages FX Series name...
  • Page 69 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.2 For FX Series Series For special function units/blocks refer to the next page. , and indicate the mounting position.
  • Page 70 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 3U Series , and indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type and communication expansion boards...
  • Page 71: 232Adp *1

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.3 For FX (D, DS, DSS) Series (D, DS, DSS) Series For special function units/blocks , refer to the next page. indicate the mounting position.
  • Page 72 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) (D, DS, DSS) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type , refer to the previous page.
  • Page 73 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.4 For FX -32MT-LT(-2) -32MT-LT(-2) For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) Either FX 232ADP(-MB),...
  • Page 74 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) -32MT-LT(-2) indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type and communication expansion boards...
  • Page 75 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.5 For FX Series 1. FX Series (14-point, 24-point type) For special function units/blocks , refer to the this section 3. indicate the mounting position.
  • Page 76 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2. FX Series (40-point, 60-point type) For special function units/blocks , refer to the this section 3. and indicate the mounting position.
  • Page 77 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 3. FX Series (Special unit/special block diagram) indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual. For special adapters with communication type communication expansion board , refer to this section 1,2.
  • Page 78 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.6 For FX Series Series For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) Either FX 232ADP(-MB),...
  • Page 79 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type , refer to the previous page.
  • Page 80 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.7 For FX Series Series For special function units/blocks are not connectable. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European...
  • Page 81 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.8 For FX Series Series For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European...
  • Page 82 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type , communication expansion board...
  • Page 83 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.9 For FX Series Series For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European terminal block...
  • Page 84 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type and function extension memory boards...
  • Page 85: 485Adp

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.10 For FX Series Series For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European...
  • Page 86 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type and communication expansion boards...
  • Page 87 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.11 For FX Series Series For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European terminal block...
  • Page 88: Fx 1Nc

    FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type , refer to the previous page.
  • Page 89 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.12 For FX Series Series special units/blocks are not connectable. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European terminal block...
  • Page 90 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.13 For FX Series Series For special function units/blocks , refer to the next page. indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 European terminal block...
  • Page 91 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) For special adapters with communication type , refer to the previous page.
  • Page 92 FX Series PLC User's Manual - Data Communication Edition 2 Communication Types and Communication Equipment Common Items 2.3 Combination of Communication Equipment (Block Diagram) 2.3.14 For FX (FX) and FX Series (reference) (FX),FX Series indicate the mounting position. (For the mounting procedure, refer to the respective communication equipment manual.) RS-485 M3.5 terminal block Computer link...
  • Page 93: Outline Of Communication Setting In The Fx Series

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.1 Setting Method Outline of Communication Setting in the FX Series This chapter describes which communication parameters can be changed for the following communication types, and provides methods on how to change them.
  • Page 94 FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.1 Setting Method 4. Time at which the settings become valid 1) Specifying the settings using parameters in the programming tool: When the PLC power is turned ON, the contents of the parameters are automatically transferred to the PLC.
  • Page 95: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.2 Communication Setting Using Parameter Method (GX Works2) Communication Setting Using Parameter Method (GX Works2) Communication settings may be changed by the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 96: Correspondence Between Parameter Setting And Each Communication Type

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.2 Communication Setting Using Parameter Method (GX Works2) 3.2.2 Correspondence between parameter setting and each communication type The table below shows the communication types and set items which can be set using parameters: Set item Contents Remarks...
  • Page 97: Communication Setting In Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.3 Communication Setting in Parameter Method (FXGP/WIN) Communication Setting in Parameter Method (FXGP/WIN) Communication settings may be changed by the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 98 FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.3 Communication Setting in Parameter Method (FXGP/WIN) 2. When there are already parameter settings There is communication setting. Confirm the setting contents. When using programming communication, parallel link, N:N Network or remote maintenance, click the [Clear] button.
  • Page 99: Correspondence Between Parameter Setting And Each Communication Type

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.3 Communication Setting in Parameter Method (FXGP/WIN) 3.3.2 Correspondence between parameter setting and each communication type The table below shows the communication types and items which can be set using parameters: Set item Contents Remarks...
  • Page 100: Extension Of Ports (For Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.4 Extension of Ports (For FX3G, FX3GC, FX3U, FX3UC) Extension of Ports (For FX , FX , FX , FX In FX , FX , FX...
  • Page 101 FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.4 Extension of Ports (For FX3G, FX3GC, FX3U, FX3UC) • When using two communication expansion board Communication Communication expansion board expansion board (ch1) (ch2)
  • Page 102 FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.4 Extension of Ports (For FX3G, FX3GC, FX3U, FX3UC) 3.4.2 Extension of Port (For FX , FX PLC) When a communication expansion board and communication special adapter are used, the board is handled as ch 1 and the adapter is handled as ch 2.
  • Page 103: Limitation When Ch1 And Ch2 Are Used At The Same Time

    FX Series PLC User's Manual - Data Communication Edition 3 Outline of Communication Setting in the FX Series Common Items 3.4 Extension of Ports (For FX3G, FX3GC, FX3U, FX3UC) 3.4.3 Limitation when ch1 and ch2 are used at the same time When using ch1 and ch2 at the same time, available communication type combinations are limited.
  • Page 104: Version Number

    FX Series PLC User's Manual - Data Communication Edition 4 Version Number Common Items 4.1 Manufacturer's serial number check method Version Number Manufacturer's serial number check method The year and month of production of the PLC main unit can be checked on the nameplate, and "LOT" indicated on the front of the product.
  • Page 105: Checking The Front Of The Product

    FX Series PLC User's Manual - Data Communication Edition 4 Version Number Common Items 4.2 Version check 4.1.2 Checking the front of the product The year and month of production of the PLC main unit can be checked from the manufacturer's serial number "LOT"...
  • Page 106: Introduction Of Manuals (Type, Reading Method And Acquisition Method)

    FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.1 Rank and Use Method of This Manual Introduction of Manuals (Type, Reading Method and Acquisition Method) This chapter specifies the manuals related to PLC main units for each communication type. Rank and Use Method of This Manual When communication equipment is connected, an FX PLC can offer various communication options.
  • Page 107: Introduction Of Related Manuals

    FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.2 Introduction of Related Manuals Introduction of Related Manuals This section shows major manuals required to use the communication types in this manual. Manuals for PLC main units and manuals for communication equipment are classified separately.
  • Page 108 FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.2 Introduction of Related Manuals Included/separate Manual name Manual number Contents document Series  For detailed explanation, refer to the FX Series User's Manual - Hardware Edition.
  • Page 109 FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.2 Introduction of Related Manuals Included/separate Manual name Manual number Contents document Manuals for programming Explains basic instructions and applied Programming Manual - Basic &...
  • Page 110: Communication Equipment (Option)

    FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.2 Introduction of Related Manuals 5.2.3 Communication equipment (option) The table below specifies the manuals for communication equipment operating in accordance with RS-232C, RS-422, RS-485 or USB and for the Ethernet adapter.
  • Page 111 FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.2 Introduction of Related Manuals Included/separate Manual name Manual number Contents document Describes the contents of the RS-422 communication -422-BD JY992D84101 Included...
  • Page 112: Related Options For Communication

    FX Series PLC User's Manual - Data Communication Edition 5 Introduction of Manuals (Type, Reading Method and Acquisition Method) Common Items 5.2 Introduction of Related Manuals 5.2.4 Related options for communication The table below specifies the manuals for products required to use communication equipment (options) above in the system configuration.
  • Page 113: Abbreviations, Generic Names And Terms Used In This Manual

    FX Series PLC User's Manual - Data Communication Edition 6 Abbreviations, Generic Names and Terms Used in This Manual Common Items 5.2 Introduction of Related Manuals Abbreviations, Generic Names and Terms Used in This Manual The table below shows abbreviations, generic names and terms used in this manual. 1.
  • Page 114 FX Series PLC User's Manual - Data Communication Edition 6 Abbreviations, Generic Names and Terms Used in This Manual Common Items 5.2 Introduction of Related Manuals Abbreviation/ Name generic name Series Generic name of FX Series PLCs Generic name of FX Series PLC main units PLC or main unit Only Japanese manual is available for this product.
  • Page 115 FX Series PLC User's Manual - Data Communication Edition 6 Abbreviations, Generic Names and Terms Used in This Manual Common Items 5.2 Introduction of Related Manuals Abbreviation/ Name generic name CF card special adapter Generic name of CF card special adapter CF-ADP -CF-ADP Communication special...
  • Page 116 6. Others Abbreviation/ Name generic name Inverters Generic name of Mitsubishi Electric F800, A800, F700, A700, E700, D700, V500, FREQROL inverter F500, A500, E500, and S500 Series inverters Communication Generic name of communication equipment operating in accordance with RS-232C, communication equipment operating in accordance with RS-422, communication...
  • Page 117 FX Series PLC User's Manual - Data Communication Edition 6 Abbreviations, Generic Names and Terms Used in This Manual Common Items 5.2 Introduction of Related Manuals Abbreviation/ Name generic name Personal computers Personal computers supporting Windows in which GX Works2, GX Developer or Personal computer FXGP/WIN is installed Refer to the manual for each software product for supported Windows versions.
  • Page 118 FX Series PLC User's Manual - Data Communication Edition 6 Abbreviations, Generic Names and Terms Used in This Manual Common Items 5.2 Introduction of Related Manuals MEMO A-90...
  • Page 119 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 120 FX Series PLC User's Manual - Data Communication Edition N:N Network...
  • Page 121: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline N:N Network 1.1 Outline of System Outline This chapter explains the N:N Network. Outline of System The N:N Network allows connection of up to eight FX PLCs via mutually linked devices through communication in accordance with RS-485.
  • Page 122: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline N:N Network 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the N:N Network setting procedures up until data link: N:N Network Refer to Chapter 1. Outline of system Outline •...
  • Page 123: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline N:N Network 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable versions The communication type is applicable in the following versions. :Applicable (If applicable versions of main units are limited, they are described inside ( ).) —:Not applicable Applicability (applicable version) Remarks...
  • Page 124: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline N:N Network 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable for each FX Series from the following version: 1. English versions Product name Model name Applicable version...
  • Page 125 FX Series PLC User's Manual - Data Communication Edition 1 Outline N:N Network 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks GOT-F900 Series display units F940WGOT-TWD-E F940WGOT-TWD-E (Ver. 1.00 or later) F940GOT-*WD-E F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later) F940GOT-*BD-H-E F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver.
  • Page 126: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline N:N Network 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks , FX and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J SW5 A or later FX-PCS/WIN SW0PC-FXGP/WIN Ver.
  • Page 127: Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications N:N Network 2.1 Communication Specifications (Reference) Specifications This chapter explains the communication specifications and performance. Communication Specifications (Reference) Communication is executed according to the (fixed) specifications shown in the table below. Specification items such as baud rate cannot be changed.
  • Page 128: Link Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications N:N Network 2.2 Link Specifications Link Specifications 2.2.1 Link patterns and number of link points in each FX Series The number of occupied link points varies depending on the number of slave stations used. For example, when three slave stations are connected in "Pattern 1", M1000 to M1223 and D0 to D33 are occupied, and unoccupied devices can be used as general devices for control.
  • Page 129: Link Time

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications N:N Network 2.2 Link Specifications 2.2.2 Link time The link time indicates the cycle time in which link devices are updated. The link time varies depending on the number of linked units (master station and slave stations) and the number of linked devices as shown in the table below.
  • Page 130: System Configuration And Equipment Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection N:N Network 3.1 System Configuration System Configuration and Equipment Selection This chapter explains the configuration of the communication equipment operating in accordance with RS- 485 and the system selection required by FX PLCs. System Configuration This section outlines the system configuration required to use the N:N Network.
  • Page 131: Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection N:N Network 3.2 Applicable FX PLC and Communication Equipment Applicable FX PLC and Communication Equipment Select a (optional) communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the external dimensions are different between the units shown in "FX -485ADP/...
  • Page 132 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection N:N Network 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -485-BD -485-BD-RJ (European terminal block) (RJ45 connector) 500 m (1640' 5")
  • Page 133 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection N:N Network 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 50 m (164' 0") -485-BD -485-BD-RJ...
  • Page 134 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection N:N Network 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 500 m (1640' 5") --BD -485ADP(-MB)
  • Page 135 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection N:N Network 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 500 m (1640' 5") -485ADP(-MB) (European terminal block)
  • Page 136: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.1 Wiring Procedure Wiring This chapter explains the wiring. WIRING PRECAUTIONS • Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
  • Page 137: Selecting Cables And Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.2 Selecting Cables and Terminal Resistors Selecting Cables and Terminal Resistors Select cables using the procedure described below. 4.2.1 Twisted pair cable Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS- 485.
  • Page 138: Connecting Cables

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.2 Selecting Cables and Terminal Resistors 4.2.3 Connecting cables 1. European type terminal block The FX -485-BD-RJ terminal block is used for grounding. The other options use shielded twisted pair cables for connecting communication equipment operating in accordance with RS-485.
  • Page 139 FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.2 Selecting Cables and Terminal Resistors • Tool Select a When tightening a terminal on the European terminal block, use a small screwdriver with a commercial straight shape screwdriver whose tip is shown in the figure to straight tip.
  • Page 140: Connecting Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.2 Selecting Cables and Terminal Resistors 4.2.4 Connecting terminal resistors Make sure to provide a terminal resistor at the end of each line. Brown Precision In the case of one-pair wiring, connect a terminal resistor to the RDA-RDB signal terminal of the communication equipment.
  • Page 141: Connection Diagram

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.3 Connection Diagram Connection Diagram Use one-pair wiring for an N:N Network. -485-BD -485-BD -485-BD -485-BD -485-BD -485-BD -485-BD -485-BD -485ADP(-MB) -485ADP -485ADP(-MB) -485ADP (TXD+) (TXD+) (TXD+) (TXD+) Terminal Terminal...
  • Page 142 FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.3 Connection Diagram • FX -485-BD-RJ -485-BD-RJ Distributor (BMJ-8) Distributor (BMJ-8) -485-BD-RJ Terminal Terminal resistor resistor Connector metal frame Connector metal frame 5 4 3 6 1 2 7 8 5 4 3 6 1 2 7 8 Class-D Class-D...
  • Page 143: Grounding

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring N:N Network 4.4 Grounding Grounding Grounding should be performed as stated below. • The grounding resistance should be 100 or less. • Independent grounding should be performed for best results. When independent grounding can not be performed, perform "shared grounding"...
  • Page 144: Communication Setting (Initialization) In Fx Programmable Controller

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller N:N Network 5.1 Check Procedure Communication Setting (Initialization) in FX Programmable Controller The communication setting is not required in FX PLCs for the N:N network. Using the following procedure, verify that the communication setting is not specified for another communication type and verify that the setting is correct.
  • Page 145: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller N:N Network 5.2 Communication Setting Using Parameter Method (GX Works2) Communication Setting Using Parameter Method (GX Works2) Communication setting may be changed using the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 146: Communication Settings Using Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller N:N Network 5.3 Communication Settings Using Parameter Method (FXGP/WIN) Communication Settings Using Parameter Method (FXGP/WIN) Communication setting may be changed using the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 147: Test Run (Communication Test)

    FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) N:N Network 6.1 Test Procedure Test Run (Communication Test) This chapter explains the communication test procedures for the N:N Network. It is recommended to first wire the master station and slave stations, initialize communication settings in the FX PLCs, and then execute the communication test using the following procedure to confirm proper operation.
  • Page 148 FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) N:N Network 6.1 Test Procedure Confirming the link of slave stations Set the PLC inputs (X000 to X003) to ON or OFF in each slave station, and confirm that the outputs (Y004 to Y007, Y010 to Y013, Y014 to Y017...
  • Page 149: Creating Programs For The Communication Testing

    FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) N:N Network 6.2 Creating Programs for the Communication Testing Creating Programs for the Communication Testing Create the programs shown below for the master station and each slave station. (In the communication test, set the refresh range to pattern 0.) 6.2.1 Creating a program for the master station...
  • Page 150: Creating A Program For Each Slave Station

    FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) N:N Network 6.2 Creating Programs for the Communication Testing 6.2.2 Creating a program for each slave station Create the program shown below for the communication test. (This program is not required during actual operation.) Determine the station number of each slave station, and then transfer a program corresponding to the station number to each slave station.
  • Page 151: Creating Programs

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.1 Checking Contents of Related Devices Creating Programs This chapter explains how to set the N:N Network and how to create programs. In N:N Network, pattern 0, 1 or 2 can be set according to the refresh range value. The number of used devices varies depending on the pattern.
  • Page 152 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.1 Checking Contents of Related Devices 2. Devices for determining errors in the N:N Network These devices are used for determining errors in the N:N Network. Use them to output link errors to the outside and interlock sequence programs.
  • Page 153: Creating Programs For Master Station (Station No. 0)

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.2 Creating Programs for Master Station (Station No. 0) Creating Programs for Master Station (Station No. 0) Create programs for the master station. Arbitrarily create programs for reading and writing link devices. Program for setting the N:N Network Make sure to start the program for setting the N:N Network Parameter setting...
  • Page 154 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.2 Creating Programs for Master Station (Station No. 0) Program for indicating link errors Station No. 1 Data transfer sequence error This program is required to indicate the N:N Network status. M8184 Y000 When a link error occurs in the station No.
  • Page 155 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.2 Creating Programs for Master Station (Station No. 0) Station No. 2 Data transfer sequence error M8185 M1128 The information from M1128 (link device) is read to M1. M1129 Y012 The information from M1129 (link device) is read to Y012.
  • Page 156: Creating Programs For Slave Station (Station No. "N")

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.3 Creating Programs for Slave Station (Station No. "n") Creating Programs for Slave Station (Station No. "n") Create programs for the slave stations. Arbitrarily create programs for reading and writing link devices. Program for setting the N:N Network Make sure to start the program for setting the N:N Network Parameter setting...
  • Page 157 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.3 Creating Programs for Slave Station (Station No. "n") Program for reading link devices (slave station  master or slave station) This program is required to read information from the master station or another slave station to a slave station.
  • Page 158: Cautions On Program Creation

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs N:N Network 7.4 Cautions on Program Creation Cautions on Program Creation 1. Effect on the operation cycle When the N:N Network is used, the operation cycle in each PLC becomes longer by about 10% regardless of the number of linked stations and adopted communication patterns.
  • Page 159: Practical Program Examples

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) Practical Program Examples This chapter shows practical programs. Practical Example 1 (Pattern 2) This program example adopts pattern 2 which uses the maximum number of link devices. When an FX or FX PLC is included, however, only pattern 0 is applicable.
  • Page 160: Setting Contents

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) 8.1.3 Setting contents The program examples shown later adopt the following communication parameters: System device Master station Station No. 1 Station No.
  • Page 161 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) 3. Operation program RUN monitor M8000 Operation [1] K1X000 K1M1000 Data transfer sequence error in slave station No. 1 M8184 Operation [2] K1M1064...
  • Page 162: Setting Program For Slave Station (No. 1)

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) 8.1.5 Setting program for slave station (No. 1) For the slave station setting program, refer to the program shown below. The program shown below consists of three blocks, "parameter setting program", "error indication program"...
  • Page 163 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) 3. Operation program Counter reset X001 Master station Data transfer sequence error M8183 Operation [1] K1M1000 K1Y010 Operation [2] K1X000 K1M1064 Data transfer...
  • Page 164: Setting Program For Slave Station (No. 2)

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) 8.1.6 Setting program for slave station (No. 2) For the slave station setting program, refer to the program shown below. The program shown below consists of three blocks, "parameter setting program", "error indication program"...
  • Page 165 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples N:N Network 8.1 Practical Example 1 (Pattern 2) 3. Operation program Counter reset X001 Master station Data transfer sequence error M8183 Operation [1] K1M1000 K1Y010 Data transfer sequence error in slave station No.
  • Page 166: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting N:N Network 9.1 Checking FX PLC Version Applicability Troubleshooting This chapter explains troubleshooting. Checking FX PLC Version Applicability Verify that the FX Series PLC main unit is an applicable version. For the version applicability check, refer to Section 1.3.
  • Page 167 FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting N:N Network 9.4 Checking Sequence Program 3. Ethernet port setting (in FX , FX , FX , FX and FX PLCs) Verify that the same channel is not used in the Ethernet port setting. Do not set the channel used in N:N network. After changing the setting, make sure to reboot the PLC's power.
  • Page 168: Checking Setting Contents And Errors

    FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting N:N Network 9.5 Checking Setting Contents and Errors Checking Setting Contents and Errors 1. Checking the setting contents Verify that the N:N Network is set correctly. Each FX PLC has devices for checking the setting. Verify that the correct contents are stored in the devices shown in the table below.
  • Page 169: Checking Data Transfer Sequence Errors

    FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting N:N Network 9.6 Checking Absence/Presence of Data Transfer Errors 9.6.2 Checking data transfer sequence errors When a link error occurs in the master station or slave station, the data transfer sequence error flag turns ON. The data transfer sequence error flag varies depending on the FX Series and station number.
  • Page 170 FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting N:N Network 9.6 Checking Absence/Presence of Data Transfer Errors Station Station Error in which which Error name Contents of error Check point code error detected occurred error An unexpected slave station responded Station number Station number to the sending request by the master...
  • Page 171 FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting N:N Network 9.6 Checking Absence/Presence of Data Transfer Errors MEMO Apx.A B-53...
  • Page 172: Related Data

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.1 Related Device List 10. Related Data 10.1 Related Device List 10.1.1 For FX , FX , FX , FX , FX , FX , FX , FX and FX PLCs...
  • Page 173 FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.1 Related Device List Master Slave station Slave station Slave station Slave station Slave station Slave station Slave station station No. 1 No. 2 No. 3 No.
  • Page 174 FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.1 Related Device List 2. Word devices (data registers) Device Initial Detec- Name Description number value tion Devices for checking Corresponding station D8173 Provided to check the station number. —...
  • Page 175 FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.1 Related Device List Master Slave station Slave station Slave station Slave station Slave station Slave station Slave station station No. 1 No. 2 No. 3 No.
  • Page 176 FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.1 Related Device List 10.1.2 For FX and FX PLCs 1. Bit devices Device Initial Detec- Name Description number value tion Devices for communication setting M8038 Parameter setting Communication parameter setting flag —...
  • Page 177 FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.1 Related Device List Master Slave station Slave station Slave station Slave station Slave station Slave station Slave station station No. 1 No. 2 No. 3 No.
  • Page 178: Details Of Related Devices

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2 Details of Related Devices The devices described below are used in the N:N Network. 10.2.1 Parameter setting [M8038] This device works as the communication parameter setting flag. 1.
  • Page 179: Data Transfer Sequence Error [M8138 To M8190] [M504 To M511]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2.4 Data transfer sequence error [M8138 to M8190] [M504 to M511] These devices turn ON when a data transfer sequence error occurs in the master station or a slave station. 1.
  • Page 180: Corresponding Station Number Settings Status [D8173]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2.7 Corresponding station number settings status [D8173] This device is used to check the station’s own station number settings status. 1. Stations requiring program setting Setting is required for the master station and slave stations to check the setting status.
  • Page 181: Slave Station Quantity Setting [D8177]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2.11 Slave station quantity setting [D8177] Set a value ranging from 1 to 7 to the special data register D8177 (initial value: 7). 1.
  • Page 182: Number Of Retries [D8179]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 4. Cautions on use 1) Cautions on using FX and FX PLCs When FX and/or FX PLCs are included in the system, make sure to set the refresh range to pattern If any other pattern is selected, data transfer error will occur in all FX and FX PLCs included in the...
  • Page 183: Maximum Link Scan Time [D8202] [D202]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2.16 Maximum link scan time [D8202] [D202] This device stores the maximum value of the network cycle in the N:N Network (unit: 10 ms). 1.
  • Page 184: Data Transfer Error Code [D8211 To D8218] [D211 To D218]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2.18 Data transfer error code [D8211 to D8218] [D211 to D218] These devices store the error code in the master station and slave stations. 1.
  • Page 185: Operation Mode Display [D8419 And D8439]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices 10.2.19 Operation mode display [D8419 and D8439] These devices store the communication type being used. (in the FX , FX , FX , FX and FX 1.
  • Page 186 FX Series PLC User's Manual - Data Communication Edition 10 Related Data N:N Network 10.2 Details of Related Devices MEMO B-68...
  • Page 187 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 188 FX Series PLC User's Manual - Data Communication Edition Parallel Link...
  • Page 189: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Parallel Link 1.1 Outline of System Outline This chapter explains the parallel link. Outline of System The parallel link allows connection between two FX PLCs of the same series to mutually link devices. 1) According to the number of devices to be linked, either pattern can be selected between the regular mode and the high speed mode.
  • Page 190: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Parallel Link 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the Parallel Link setting procedures up until data link: Parallel link Refer to Chapter 1. Outline Outline of system •...
  • Page 191: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Parallel Link 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable versions The communication types are applicable in the following versions.  : Applicable (If applicable versions of main units are limited, they are described inside ( ).) —: Not applicable Applicability (applicable version) Remarks...
  • Page 192: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Parallel Link 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable of main units for each FX Series from the following version: 1.
  • Page 193 FX Series PLC User's Manual - Data Communication Edition 1 Outline Parallel Link 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks GOT-F900 Series display units F940WGOT-TWD-E F940WGOT-TWD-E (Ver. 1.00 or later) F940GOT-*WD-E F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later) F940GOT-*BD-H-E F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver.
  • Page 194: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Parallel Link 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks , FX and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J SW5 A or later FX-PCS/WIN SW0PC-FXGP/WIN Ver.
  • Page 195: Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Parallel Link 2.1 Communication Specifications (Reference) Specifications This chapter explains the communication specifications and performance of the parallel link. Communication Specifications (Reference) The parallel link is executed using the (fixed) communication specifications shown in the table below. Specification items such as baud rate cannot be changed.
  • Page 196: Link Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Parallel Link 2.2 Link Specifications Link Specifications 2.2.1 PLC communication type applicability status  : Applicable (If applicable versions of main units are limited, they are described inside ( ).) —: Not applicable Regular parallel link mode applicability High speed parallel link mode applicability...
  • Page 197: Link Device Numbers And Number Of Points

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Parallel Link 2.3 Link Device Numbers and Number of Points Link Device Numbers and Number of Points 2.3.1 For FX , FX and FX Series Regular parallel link mode High speed parallel link mode Mode Bit device (M)
  • Page 198 FX Series PLC User's Manual - Data Communication Edition 2 Specifications Parallel Link 2.3 Link Device Numbers and Number of Points 2.3.2 For FX (FX), FX , FX , FX , FX , FX , FX , FX , FX and FX Series Regular parallel link mode...
  • Page 199: System Configuration And Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.1 System Configuration System Configuration and Selection This chapter explains the configuration of communication equipment operating in accordance with RS-485 and the system selection required by FX PLCs. System Configuration This section outlines the system configuration required to use the parallel link.
  • Page 200: Configuration Of Each Group

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.2 Configuration of Each Group Configuration of Each Group indicate the communication equipment combination patterns. 1. Group 1 (FX and FX PLCs) Total extension Communication equipment operating FX PLC Important point in selection...
  • Page 201 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.2 Configuration of Each Group 2. Group 2 (FX and FX PLCs) Total extension Communication equipment operating FX PLC Important point in selection in accordance with RS-485 distance This is the communication board 50 m...
  • Page 202 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.2 Configuration of Each Group 4. Group 4 (FX and FX PLCs) Total extension Communication equipment operating FX PLC Important point in selection distance in accordance with RS-485 This is the communication board 50 m...
  • Page 203 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.2 Configuration of Each Group 6. Group 6 (FX PLC) Total extension Communication equipment operating FX PLC Important point in selection in accordance with RS-485 distance This is the communication board 50 m...
  • Page 204: Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.3 Applicable FX PLC and Communication Equipment Applicable FX PLC and Communication Equipment Select a (optional) communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the external dimensions are different between the units shown in "FX -485ADP/...
  • Page 205 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.3 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -485-BD -485-BD-RJ (European terminal block) (RJ45 connector) 500 m (1640' 5")
  • Page 206 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.3 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 50 m (164' 0") -485-BD -485-BD-RJ...
  • Page 207 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.3 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 500 m (1640' 5") --BD -485ADP(-MB)
  • Page 208 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.3 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 500 m (1640' 5") -485ADP(-MB) (European terminal block)
  • Page 209 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Parallel Link 3.3 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -40AP (for optical fiber) (FX) 10 m (32' 9")
  • Page 210: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.1 Wiring Procedure Wiring This chapter explains the wiring. WIRING PRECAUTIONS • Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
  • Page 211: Selecting Cables And Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.2 Selecting Cables and Terminal Resistors Selecting Cables and Terminal Resistors Select cables using the procedure described below. 4.2.1 Twisted pair cable Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS- 485.
  • Page 212: Connecting Cables

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.2 Selecting Cables and Terminal Resistors 4.2.3 Connecting cables 1. European type terminal block The FX -485-BD-RJ terminal block is used for grounding. The other options use shielded twisted pair cables for connecting communication equipment operating in accordance with RS-485.
  • Page 213: Optical Fiber Cable

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.2 Selecting Cables and Terminal Resistors • Tool Select a When tightening a terminal on the European terminal block, use a small screwdriver with a commercial straight shape screwdriver whose tip is shown in the figure to straight tip.
  • Page 214: Connecting Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.2 Selecting Cables and Terminal Resistors 4.2.5 Connecting terminal resistors In the case of one-pair wiring, connect a terminal resistor to the RDA-RDB signal Brown Precision terminal of the communication equipment. In the case of two-pair wiring, connect a terminal resistor to the RDA-RDB signal terminal and SDA-SDB terminal of the communication equipment.
  • Page 215: Connection Diagram

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.3 Connection Diagram Connection Diagram 4.3.1 For FX , FX , FX , FX and FX PLCs 1. In the case of one-pair wiring -485-BD, -485-BD -485-BD, -485-BD -485-BD-RJ -485-BD-RJ...
  • Page 216 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.3 Connection Diagram 3. Switching of 1 pair / 2 paired wiring (FX -485-BD-RJ) The FX -485-BD-RJ has a built-in wiring circuit switch. Set the wiring circuit switch to 1 pair / 2 pair. Wiring circuit switch 4.3.2...
  • Page 217: Grounding

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Parallel Link 4.4 Grounding 2. In the case of two-pair wiring -485-BD -485-BD -485ADP -485-BD -485ADP -485ADP -485-BD -485ADP (TXD+) (TXD+) (TXD+) (TXD+) (TXD+) (TXD+) (TXD-) (TXD-) (TXD-) (TXD-) (TXD-) (TXD-) (RXD+)
  • Page 218: Communication Setting (Initialization) In Fx Programmable Controller

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller Parallel Link 5.1 Check Procedure Communication Setting (Initialization) in FX Programmable Controller The communication setting is not required in FX PLCs for parallel link. If the communication setting is already provided for another communication type or for checking the existing communication setting, perform the following procedure.
  • Page 219: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller Parallel Link 5.2 Communication Setting Using Parameter Method (GX Works2) Communication Setting Using Parameter Method (GX Works2) Communication settings may be changed using the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 220: Communication Setting Using Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller Parallel Link 5.3 Communication Setting Using Parameter Method (FXGP/WIN) Communication Setting Using Parameter Method (FXGP/WIN) Communication settings may be changed using the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 221: Test Run (Communication Test)

    FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) Parallel Link 6.1 Test Procedure Test Run (Communication Test) This chapter explains the communication test procedures for the parallel link. It is recommended to wire the master station and slave station, initialize communication settings in the FX PLCs, and then execute the communication test using the following procedure to confirm the proper operation.
  • Page 222: Creating Programs For The Communication Test

    FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) Parallel Link 6.2 Creating Programs for the Communication Test Confirming the link of the slave station Set the PLC inputs (X000 to X003) to ON or OFF in the slave station, and confirm that the outputs (Y000 to Y003) turn ON or OFF in the master station.
  • Page 223 FX Series PLC User's Manual - Data Communication Edition 6 Test Run (Communication Test) Parallel Link 6.2 Creating Programs for the Communication Test 2. Program for communication test (for the slave station) Create the program shown below for the communication test. (This program is not required during actual operation.) M8000 M8071...
  • Page 224: Creating Programs

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.1 Regular Parallel Link Mode Creating Programs The parallel link has two modes, regular parallel link mode and high speed parallel link mode. Program settings and the number of device to be used are different in each mode. When connecting FX PLCs in the parallel link, use the same mode in both PLCs.
  • Page 225 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.1 Regular Parallel Link Mode 3. Link devices 1) Sending devices for the master station These devices are used for sending the information from the master station to the slave station. To prevent malfunctions, do not change the setting of these devices in the slave station.
  • Page 226: Creating Programs For Master Station

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.1 Regular Parallel Link Mode 7.1.2 Creating programs for master station Create programs for the master station. RUN monitor Master station setting Program for setting the master station M8000 M8070 M8070 is set to ON to set a PLC as the master station.
  • Page 227: Creating Programs For Slave Station

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.1 Regular Parallel Link Mode 7.1.3 Creating programs for slave station Create programs for the slave station. RUN monitor Slave station setting Program for setting the slave station M8000 M8071 M8071 is set to ON to set a PLC as the slave station.
  • Page 228: High Speed Parallel Link Mode

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.2 High Speed Parallel Link Mode High Speed Parallel Link Mode This section explains the program setting method in the high speed parallel link mode. 7.2.1 Checking contents of related devices The tables below show devices used in the parallel link.
  • Page 229 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.2 High Speed Parallel Link Mode 2) Sending devices for the slave station These devices are used for sending the information from the slave station to the master station. To prevent malfunctions, do not change the setting of these devices in the master station.
  • Page 230: Creating Programs For Master Station

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.2 High Speed Parallel Link Mode 7.2.2 Creating programs for master station Create programs for the master station. RUN monitor Master station setting Program for setting the master station M8000 M8070 M8070 is set to ON to set a PLC as the master station.
  • Page 231: Creating Programs For Slave Station

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.2 High Speed Parallel Link Mode 7.2.3 Creating programs for slave station Create programs for the slave station. RUN monitor Slave station setting Program for setting the slave station M8000 M8071 M8071 is set to ON to set a PLC as the slave station.
  • Page 232: Cautions On Program Creation

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs Parallel Link 7.3 Cautions on Program Creation Cautions on Program Creation 1. Program for reading link devices 1) Do not change the contents of link devices for the other station. 2) When a link error occurs, the link device information remains the same as the status just before the error.
  • Page 233: Practical Program Examples

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples Parallel Link 8.1 Practical Example 1 (Regular Parallel Link Mode) Practical Program Examples This chapter shows practical programs examples. Practical Example 1 (Regular Parallel Link Mode) When many link devices are required, use the regular parallel link mode. 8.1.1 System configuration example The example below shows a system configuration in which two FX...
  • Page 234: Program For Master Station

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples Parallel Link 8.1 Practical Example 1 (Regular Parallel Link Mode) 8.1.3 Program for master station For the master station, refer to the program shown below. RUN monitor M8000 M8070 RUN monitor...
  • Page 235: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting Parallel Link 9.1 Checking FX PLC Version Applicability Troubleshooting This chapter explains troubleshooting. Checking FX PLC Version Applicability Verify that the FX PLC main unit is an applicable version. For the version applicability check, refer to Section 1.3.
  • Page 236 FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting Parallel Link 9.4 Checking Sequence Program 3. Ethernet port setting (in FX , FX , FX , FX and FX PLCs) Verify that the same channel is not used in the Ethernet port setting. Do not set the channel used in parallel link. After changing the setting, make sure to reboot the PLC's power.
  • Page 237: Checking Absence/Presence Of Errors

    FX Series PLC User's Manual - Data Communication Edition 9 Troubleshooting Parallel Link 9.5 Checking Absence/Presence of Errors Checking Absence/Presence of Errors Verify that errors have not occurred in the master station and slave station. Errors can be checked using the flags shown below.
  • Page 238: Related Data

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data Parallel Link 10.1 Related Device List 10. Related Data 10.1 Related Device List 1. Bit devices Device Initial Detec- Name Description number value tion Devices for communication setting Parallel link master ...
  • Page 239: Details Of Related Devices

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data Parallel Link 10.2 Details of Related Devices 10.2 Details of Related Devices The devices described below are used in parallel link. 10.2.1 Parallel link master station declare [M8070] When this device is set to ON, the PLC is handled as the master station in the parallel link.
  • Page 240: Parallel Link On [M8072]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data Parallel Link 10.2 Details of Related Devices 10.2.5 Parallel link ON [M8072] This device is provided to verify that the parallel link is being executed. 1. Applicable stations The master and slave station may check parallel link status.
  • Page 241: Serial Communication Error Code [D8063 And D8438]

    FX Series PLC User's Manual - Data Communication Edition 10 Related Data Parallel Link 10.2 Details of Related Devices 10.2.9 Serial communication error code [D8063 and D8438] These devices store the serial communication error code. (D8438 is available only in the FX , FX , FX and FX...
  • Page 242 FX Series PLC User's Manual - Data Communication Edition 10 Related Data Parallel Link 10.2 Details of Related Devices MEMO C-56...
  • Page 243 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 244 FX Series PLC User's Manual - Data Communication Edition Computer Link...
  • Page 245: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Computer Link 1.1 Outline of System Outline This chapter explains computer link. Outline of System Computer link allows connection of up to sixteen FX PLCs and A PLCs to a personal computer working as the master station to link data.
  • Page 246: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Computer Link 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the Computer Link setting procedures up until data link. Computer link Refer to Chapter 1. Outline of system Outline •...
  • Page 247: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Computer Link 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable versions The communication type is applicable in the following versions. : Applicable (If applicable versions of main units are limited, they are described inside ( ).) —: Not applicable Applicability (applicable version) Remarks...
  • Page 248: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Computer Link 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable for each FX Series from the following version shown: 1. English versions Product name Model name Applicable version...
  • Page 249 FX Series PLC User's Manual - Data Communication Edition 1 Outline Computer Link 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks GOT-F900 Series display units F940WGOT-TWD-E F940WGOT-TWD-E (Ver. 1.00 or later) F940GOT-*WD-E F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later) F940GOT-*BD-H-E F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver.
  • Page 250: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Computer Link 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks , FX and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J SW5 A or later FX-PCS/WIN SW0PC-FXGP/WIN Ver.
  • Page 251: Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Computer Link 2.1 Communication Specifications (Reference) Specifications This chapter explains the communication specifications and performance. Communication Specifications (Reference) Communication is executed within the specifications shown in the table below. The baud rate, etc. can be changed in the parameter settings of a programming tool or in a sequence program.
  • Page 252: Link Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Computer Link 2.2 Link Specifications Link Specifications 2.2.1 Applicable commands and number of device points Number of points processed in Command one-time update (FX), Name Contents of processing Sym- ASCII , FX , FX...
  • Page 253: Applicable Device Ranges

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Computer Link 2.2 Link Specifications 2.2.2 Applicable device ranges The tables below show devices and device number ranges applicable for the device memory access. • Construct each of the BR, BW, BT, WR, WW, and WT commands in five characters. Device Device number = 5 characters...
  • Page 254 FX Series PLC User's Manual - Data Communication Edition 2 Specifications Computer Link 2.2 Link Specifications 2. Word devices Available Device Device number range (character) number commands Device expression (FX), Decimal/ Octal TN000 TN000 TN000 TN000 to Timer TN000 to TN255 —...
  • Page 255: Link Time

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Computer Link 2.2 Link Specifications 2.2.3 Link time 1. Data transfer Data transfer Data transfer Interval time 2. Data transfer time + 4  Number Time to read continuous word devices (timers, counters or data registers) in one station = (21 ) ...
  • Page 256: System Configuration And Equipment Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.1 System Configuration System Configuration and Equipment Selection This chapter explains the system configuration and communication equipment selection operating in accordance with RS-485 or RS-232C required by FX PLCs. System Configuration This section outlines the system configuration required to use computer link.
  • Page 257: Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Applicable FX PLC and Communication Equipment Select a (optional) communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the external dimensions are different between the units shown in "FX -485ADP/...
  • Page 258 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 15 m (49' 2") -232-BD (9-pin D-Sub, male) 15 m (49' 2") -CNV-BD...
  • Page 259 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232-BD (9-pin D-Sub, male)
  • Page 260 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232-BD (9-pin D-Sub, male)
  • Page 261 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232ADP(-MB) (9-pin D-Sub, male)
  • Page 262 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232-BD (9-pin D-Sub, male)
  • Page 263: For Communication In Accordance With Rs-485

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment 3.2.2 For communication in accordance with RS-485 Total extension FX Series Communication equipment (option) Check distance 500 m (1640' 5") -485ADP...
  • Page 264 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -485-BD -485-BD-RJ (European terminal block) (RJ45 connector) 500 m (1640' 5")
  • Page 265 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 50 m (164' 0") -485-BD -485-BD-RJ...
  • Page 266 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 500 m (1640' 5") --BD -485ADP(-MB)
  • Page 267 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 500 m (1640' 5") -485ADP(-MB) (European terminal block)
  • Page 268 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Equipment Selection Computer Link 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 500 m (1640' 5") FX-485ADP (Terminal block) 500 m (1640' 5") FX-485ADP...
  • Page 269: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 3.2 Applicable FX PLC and Communication Equipment Wiring This chapter explains the wiring. WIRING PRECAUTIONS • Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
  • Page 270: Wiring Procedure

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.1 Wiring Procedure Wiring Procedure Selecting the connection method Select the wiring method suitable to the application. For details, refer to Section 4.2. Preparing for wiring Prepare cables and terminal resistors required for wiring. For details, refer to Section 4.3.
  • Page 271: Selecting Connection Method

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.2 Selecting Connection Method Selecting Connection Method When using computer link, communication can be achieved in accordance with RS-232C or RS-485 (422). In FX , FX , FX and FX PLCs, computer link is applicable in up to two channels at the same time.
  • Page 272: Selecting Cables And Terminal Resistors (Rs-485)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.3 Selecting Cables and Terminal Resistors (RS-485) Selecting Cables and Terminal Resistors (RS-485) Select cables using the procedure described below. 4.3.1 Twisted pair cable Use shielded twisted pair cables for connecting communication equipment operating in accordance with RS- 485.
  • Page 273: Connecting Cables

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.3 Selecting Cables and Terminal Resistors (RS-485) 4.3.3 Connecting cables 1. European type terminal block The FX -485-BD-RJ terminal block is used for grounding. The other options use shielded twisted pair cables for connecting communication equipment operating in accordance with RS-485.
  • Page 274 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.3 Selecting Cables and Terminal Resistors (RS-485) • Tool Select a When tightening a terminal on the European terminal block, use a small screwdriver with a commercial straight shape screwdriver whose tip is shown in the figure to straight tip.
  • Page 275: Connecting Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.3 Selecting Cables and Terminal Resistors (RS-485) 4.3.4 Connecting terminal resistors Make sure to provide a terminal resistor at the end of each line. Brown Precision In the case of one-pair wiring, connect a terminal resistor to the RDA-RDB signal terminal of the communication equipment.
  • Page 276: Connection Diagram For Rs-232C

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.4 Connection Diagram for RS-232C Connection Diagram for RS-232C Representative wiring examples are shown in this section. When pin numbers in the external equipment are different, wire the pins as shown below. 4.4.1 Connection diagram between FX PLC and personal computer External equipment operating in accordance...
  • Page 277: Connection Diagram For Rs-485 And Rs-422

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.5 Connection Diagram for RS-485 and RS-422 Connection Diagram for RS-485 and RS-422 4.5.1 One-pair wiring -485-BD Communication -485-BD equipment operating -485-BD in accordance with -485-BD RS-485 -485ADP -485ADP(-MB) -485ADP...
  • Page 278 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.5 Connection Diagram for RS-485 and RS-422 • FX -485-BD-RJ Communication equipment operating in accordance with RS-485 Distributor (BMJ-8) Distributor (BMJ-8) -485-BD-RJ (TXD+) Terminal resistor (TXD-) 110Ω (RXD+) Terminal (RXD-)
  • Page 279: Two-Pair Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.5 Connection Diagram for RS-485 and RS-422 4.5.2 Two-pair wiring -485-BD Communication -485-BD equipment operating -485-BD in accordance with -485-BD RS-485/RS-422 -485ADP -485ADP(-MB) -485ADP (TXD+) (TXD+) (TXD+) (TXD+) (TXD-) (TXD-)
  • Page 280 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.5 Connection Diagram for RS-485 and RS-422 • FX -485-BD-RJ Communication equipment operating in accordance with RS-485/RS-422 Distributor (BMJ-8) Distributor (BMJ-8) -485-BD-RJ (TXD+) (TXD-) (RXD+) Terminal (RXD-) resistor Terminal Terminal...
  • Page 281: Grounding

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Computer Link 4.6 Grounding 4.5.3 Switching of 1 pair / 2 paired wiring (FX -485-BD-RJ) The FX -485-BD-RJ has a built-in wiring circuit switch. Set the wiring circuit switch to 1 pair / 2 pair. Wiring circuit switch Grounding...
  • Page 282: Communication Setting In Fx Programmable Controller

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Computer Link 5.1 Communication Setting Methods Communication Setting in FX Programmable Controller This chapter explains the communication setting method types and setting methods for computer link. Communication Setting Methods This section explains the communication setting methods and setting procedures in FX PLCs.
  • Page 283: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Computer Link 5.2 Communication Setting Using Parameter Method (GX Works2) 4. Time at which the settings become valid 1) When specifying the setting using parameters: When the PLC power is turned ON, the parameters set using the parameter setting window in the sequence programming software are automatically transferred to the PLC.
  • Page 284 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Computer Link 5.2 Communication Setting Using Parameter Method (GX Works2) Setting the serial communication (parameters) Click the [PLC System(2)] tab on the dialog box. Setting the serial communication (parameters) Select a channel and check the box labeled "Operate Communication Setting"...
  • Page 285: Communication Settings Using Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Computer Link 5.3 Communication Settings Using Parameter Method (FXGP/WIN) Communication Settings Using Parameter Method (FXGP/WIN) Communication settings may be changed by the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 286 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Computer Link 5.3 Communication Settings Using Parameter Method (FXGP/WIN) 2. When there are already parameter settings The existing communication setting contents are displayed. Adjusting serial setting (parameter) Execute the communication setting as shown below.
  • Page 287: Control Procedures And Setting Methods

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.1 Data Flow by Link Control Procedures and Setting Methods Data Flow by Link The figures below show images of data flow achieved when data is read from or written to a PLC CPU and the status is controlled.
  • Page 288: Important Points In Computer Link

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.2 Important Points in Computer Link Important Points in Computer Link This section explains important points to be understood before creating programs for computer link. 6.2.1 Operations of PLC caused by data transfer The PLC operations and scan time using computer link are as described below.
  • Page 289: How To Understand Control Procedure

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.3 How to Understand Control Procedure How to Understand Control Procedure This section explains how to understand the transfer data shown in the later description of each function. 1.
  • Page 290: Control Procedure Format 1

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.4 Basic Formats of Dedicated Protocol 6.4.1 Control procedure format 1 The table below shows the control procedure for format 1. Description Control procedure (protocol) Transfer order Character area A...
  • Page 291: Control Procedure Format 4

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.4 Basic Formats of Dedicated Protocol 6.4.2 Control procedure format 4 The table below shows the control procedure for format 4. Description Control procedure (protocol) Transfer order Character area A...
  • Page 292: Contents Of Set Items In Each Control Procedure (Protocol)

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.4 Basic Formats of Dedicated Protocol 6.4.3 Contents of set items in each control procedure (protocol) This subsection explains the contents of the data used in each control procedure. 1.
  • Page 293 FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.4 Basic Formats of Dedicated Protocol 3. PLC number The PLC number is used to identify a PLC to be accessed when computer link is combined with the MELSECNET (II) or MELSECNET/B in A Series PLCs.
  • Page 294 FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.4 Basic Formats of Dedicated Protocol 6. Sum check code The sum check code indicates a two-digit ASCII code converted from the least significant byte (8-bit) of the sum check target data added as hexadecimal data.
  • Page 295: Time-Out Time Setting

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.4 Basic Formats of Dedicated Protocol 6.4.4 Time-out time setting When the receiving of data from the computer is interrupted and is not restarted within the preset time (time- out time setting), the PLC regards the situation as a timeout error and initializes the transfer sequence.
  • Page 296: Transfer Sequence Time Chart And Communication Time

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.5 Transfer Sequence Time Chart and Communication Time Transfer Sequence Time Chart and Communication Time This section explains the communication time chart between the computer and the PLC. As shown in the figures below, communication between the computer and the PLC is always executed after "END".
  • Page 297: Transfer Time In Transfer Sequence

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.5 Transfer Sequence Time Chart and Communication Time 6.5.3 Transfer time in transfer sequence This subsection explains how to calculate the approximate time after the computer starts data transfer and the PLC gives a response until all communication is completed.
  • Page 298: Transfer Data In Character Area

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.6 Transfer Data in Character Area Transfer Data in Character Area This section explains the transfer data in the character area sent and received between the computer and a PLC using each command.
  • Page 299: When Word Device Memory Is Read Or Written

    FX Series PLC User's Manual - Data Communication Edition 6 Control Procedures and Setting Methods Computer Link 6.6 Transfer Data in Character Area 6.6.2 When word device memory is read or written In the case of word device memory, one word is expressed in 4-bit units in turn from the most significant bit in hexadecimal.
  • Page 300: Commands

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 6.6 Transfer Data in Character Area Commands This chapter explains specification methods and specification examples of commands in dedicated protocols used in computer link communication type. For control procedures in dedicated protocols, refer to "6. Control Procedures and Setting Methods". The table below shows a reference section for each command.
  • Page 301: Br Command [Reads Device Memory In 1-Bit Units]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.1 BR Command [Reads Device Memory in 1-Bit Units] BR Command [Reads Device Memory in 1-Bit Units] This section explains the control procedure specification method and specification example when the bit device memory is read all at once.
  • Page 302: Wr Command [Reads Device Memory In 1-Word Units]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.2 WR Command [Reads Device Memory in 1-Word Units] WR Command [Reads Device Memory in 1-Word Units] This section explains the control procedure specification method and specification examples when the word device memory is read all at once or when the bit device memory is read (in 16-point units) all at once.
  • Page 303 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.2 WR Command [Reads Device Memory in 1-Word Units] Point The WR command handles data in 1-word units. When reading thirty-two devices from X040 to X077, specify the number of device points as "02"...
  • Page 304: Qr Command [Reads Device Memory In 1-Word Units]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.3 QR Command [Reads Device Memory in 1-Word Units] QR Command [Reads Device Memory in 1-Word Units] This section explains the control procedure specification method and specification examples when the word device memory is read all at once or when the bit device memory is read (in 16-point units) all at once.
  • Page 305 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.3 QR Command [Reads Device Memory in 1-Word Units] Example 2: When reading the contents of two devices from R30000 to R30001 in the PLC whose station number is 5 (while the message waiting time is set to 0 ms) 0 5 F F Q R 0 R 0 3 0 0...
  • Page 306: Bw Command [Writes Device Memory In 1-Bit Units]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.4 BW Command [Writes Device Memory in 1-Bit Units] BW Command [Writes Device Memory in 1-Bit Units] This section explains the control procedure specification method and shows a specification example when the bit device memory is written all at once.
  • Page 307: Ww Command [Writes Device Memory In 1-Word Units]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.5 WW Command [Writes Device Memory in 1-Word Units] WW Command [Writes Device Memory in 1-Word Units] This section explains the control procedure specification method and shows a specification examples when the word device memory is written all at once or when the bit device memory is written (in 16-point units) all at once.
  • Page 308 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.5 WW Command [Writes Device Memory in 1-Word Units] Example 2: When writing data to two devices D0 and D1 in the PLC whose station number is 0 (while the message waiting time is set to 0 ms) 0 0 F F W W 0 D 0 0 0 0...
  • Page 309: Qw Command [Writes Device Memory In 1-Word Units]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.6 QW Command [Writes Device Memory in 1-Word Units] QW Command [Writes Device Memory in 1-Word Units] This section explains the control procedure specification method and shows a specification examples when the word device memory is written all at once or when the bit device memory is written (in 16-point units) all at once.
  • Page 310 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.6 QW Command [Writes Device Memory in 1-Word Units] Example 2: When writing data to two devices from R30000 to R30001 in the PLC whose station number is 5 (while the message waiting time is set to 0 ms) 0 5 F F Q W 0 R 0 3 0 0 0 0...
  • Page 311: Bt Command [Tests Device Memory In 1-Bit Units (By Writing Arbitrarily)]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.7 BT Command [Tests Device Memory in 1-Bit Units (by Writing Arbitrarily)] BT Command [Tests Device Memory in 1-Bit Units (by Writing Arbitrarily)] This section explains the control procedure specification method and shows a specification example when the bit device memory is specified arbitrarily and written all at once.
  • Page 312: Wt Command [Tests Device Memory In 1-Word Units (By Writing Arbitrarily)]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.8 WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)] WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)] This section explains the control procedure specification method and shows a specification example when the word device memory and bit device memory (in 16-point units) are specified arbitrarily and written all at once.
  • Page 313 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.8 WT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)] 2. Specification example When writing data for setting the current value of D500 to "1234H", Y100 to Y117 to "BCA9H" and the current value of C100 to "64H"...
  • Page 314: Qt Command [Tests Device Memory In 1-Word Units (By Writing Arbitrarily)]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.9 QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)] QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)] This section explains the control procedure specification method and shows a specification example when the word device memory and bit device memory (in 16-point units) are specified arbitrarily and written all at once.
  • Page 315: Rr/Rs Command [Remotely Sets Plc To Run/Stop Mode]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.10 RR/RS Command [Remotely Sets PLC to RUN/STOP Mode] 7.10 RR/RS Command [Remotely Sets PLC to RUN/STOP Mode] This section explains the control procedure specification method and shows a specification example when the computer remotely sets the PLC mode to RUN or STOP.
  • Page 316: Remote Control Specification Method And Specification Examples

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.10 RR/RS Command [Remotely Sets PLC to RUN/STOP Mode] 7.10.3 Remote control specification method and specification examples This subsection explains the control procedure specification method and specification examples when remote RUN or STOP mode control is executed.
  • Page 317: Pc Command [Reads Plc Model Name]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.11 PC Command [Reads PLC Model Name] 7.11 PC Command [Reads PLC Model Name] This section explains the control procedure specification method and specification example when the model name of a PLC linked to the computer is read.
  • Page 318 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.11 PC Command [Reads PLC Model Name] 2. Specification example When reading the model name of the PLC whose station number is 15 (while the message waiting time is set to 0 ms) This range is regarded as the sum check target.
  • Page 319: Gw Command [Offers Global Function]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.12 GW Command [Offers Global Function] 7.12 GW Command [Offers Global Function] The global function executed in the computer sets a special auxiliary relay to ON or OFF in all PLCs linked to the computer in the multi-drop link method.
  • Page 320: On-Demand Function

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 7.13 On-demand Function When there is data to be sent from a PLC to the computer, the on-demand function can specify the data register area storing the data to be sent, and let the PLC start sending. When data is sent between the computer and a PLC, only the computer can start data transmission.
  • Page 321 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 2. When ch2 is used in FX , FX , FX and FX PLCs Device Name Description Remains ON while the on-demand function is being executed. On-demand send M8427 ON: On-demand data is being sent.
  • Page 322: Control Procedures In On-Demand Function

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 7.13.2 Control procedures in on-demand function This subsection explains the control procedures for the on-demand function. When using ch2 in an FX , FX , FX or FX Series PLC, exchange special auxiliary relays (M) and...
  • Page 323 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 2) Control procedure in the computer Receiving of on-demand data Judges whether receive data is To the on-demand data, the PLC adds "FE" as the PLC ..
  • Page 324: On-Demand Function Specification Method And Specification Examples

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 7.13.3 On-demand function specification method and specification examples This subsection explains the on-demand function specification method and specification examples. When using ch2 in an FX , FX , FX or FX...
  • Page 325 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 2. Specification example 1 When sending the data stored in the data registers D100 and D101 by a trigger from a sequence program (when the station number is 0 and the data unit to be sent is set to "word") The PLC number "FE"...
  • Page 326 FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.13 On-demand Function 3. Specification example 2 When sending the data stored in the data registers D100 and D101 by a trigger from a sequence program (when the station number is 0 and the data unit to be sent is set to "byte") The PLC number "FE"...
  • Page 327: Tt Command [Loop-Back Test]

    FX Series PLC User's Manual - Data Communication Edition 7 Commands Computer Link 7.14 TT Command [Loop-back Test] 7.14 TT Command [Loop-back Test] The loop-back test function checks whether or not communication between the computer and a PLC is normal. This section explains the control procedure specification method and specification example when the loop- back test function is used.
  • Page 328: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Computer Link 8.1 Checking FX PLC Version Applicability Troubleshooting This chapter explains troubleshooting. Checking FX PLC Version Applicability Verify that the FX PLC main unit is an applicable version. For the version applicability check, refer to Section 1.3.
  • Page 329 FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Computer Link 8.4 Checking Sequence Program 4. Presence of VRRD and VRSC instructions 1) Except FX , FX and FX PLCs Verify that the VRRD and VRSC instructions are not used in the program. If these instructions are used, delete them, reboot the PLC’s power.
  • Page 330: Checking Error Codes

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Computer Link 8.5 Checking Error Codes Checking Error Codes 8.5.1 Error codes when NAK is sent The table below shows error codes and contents of errors when NAK is sent in communication between the computer and a PLC.
  • Page 331: Error Codes In Plc

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Computer Link 8.5 Checking Error Codes 8.5.2 Error codes in PLC When an error is included in a message sent from the computer to a PLC, an error occurs in the PLC. When such an error occurs, the serial communication error flag turns ON.
  • Page 332: Related Data

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.1 Related Device List Related Data Related Device List 1. Bit devices Device Name Description Turns ON when an error occurs in serial communication using M8063 Serial communication error 1 ch 1.
  • Page 333 FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.1 Related Device List 2. Word devices Device Name Description Serial communication error Stores the error code when an error occurs in serial D8063 code 1 communication (for ch 1).
  • Page 334: Details Of Related Devices

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.2 Details of Related Devices Details of Related Devices The devices described below are used for computer link. 9.2.1 Serial communication error [M8063 and M8438] These devices turn ON when an error occurs during serial communication. 1.
  • Page 335: On-Demand Error Flag [M8128 And M8428]

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.2 Details of Related Devices 9.2.5 On-demand error flag [M8128 and M8428] These devices turn ON when an error is included in a specified value for data sending used with the on- demand function.
  • Page 336: Communication Format Setting [D8120 And D8420]

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.2 Details of Related Devices 2. Cautions on use Error codes are not cleared even after communication recovers its normal status. Serial communication errors are cleared in FX , FX , FX , FX...
  • Page 337: Station Number Settings [D8121 And D8421]

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.2 Details of Related Devices • Contents of D8420 Contents Bit No. Name 0 (bit = OFF) 1 (bit = ON) Data length 7-bit 8-bit b2, b1 (0, 0): Not provided Parity (0, 1): Odd...
  • Page 338: On-Demand Data Head Device Number Specification [D8127 And D8427]

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.2 Details of Related Devices 9.2.10 On-demand data head device number specification [D8127 and D8427] These devices set the head data register device number containing the data to be sent using the on-demand function in a sequence program.
  • Page 339: Time-Out Time Setting [D8129 And D8429]

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.2 Details of Related Devices 9.2.12 Time-out time setting [D8129 and D8429] These devices set the evaluation time for error when receiving of data from the computer is interrupted. 1.
  • Page 340: Communication Setting Method Using Sequence Program

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.3 Communication Setting Method Using Sequence Program Communication Setting Method Using Sequence Program When adjusting the communication setting using a sequence program, transfer values to D8120 (communication format), D8121 (station number settings) and D8129 (time-out time setting), and then turn the power ON.
  • Page 341: Ascii Code Table

    FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.4 ASCII Code Table ASCII Code Table The ASCII codes A1 to DF indicate Japanese characters. \ (ASCII CODE:5C) symbol is displayed as " " in Japanese. Apx.A D-99...
  • Page 342 FX Series PLC User's Manual - Data Communication Edition 9 Related Data Computer Link 9.4 ASCII Code Table MEMO D-100...
  • Page 343 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 344 FX Series PLC User's Manual - Data Communication Edition Inverter Communication...
  • Page 345: Outline

    RS-485 . 1) Mitsubishi Electric general-purpose inverters FREQROL F800, A800, F700, A700, E700, D700, V500, F500, A500, E500 and S500 (containing the communication type) Series can be linked.
  • Page 346: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Inverter Communication 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the Inverter Communication setting and sequence programs creation procedures up until data link: Inverter Communication Refer to Chapter 1 Outline Outline of system...
  • Page 347: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Inverter Communication 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 For applicable versions The communication types are applicable for the following versions. : Applicable —: Not applicable Applicability Remarks Series...
  • Page 348: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Inverter Communication 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable for each FX Series from the version shown: 1. English versions Product name Model name Applicable version...
  • Page 349: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Inverter Communication 1.4 Programming Tool Applicability 2. Japanese versions Product name Model name Applicable version Remarks and FX PLCs The IVMC instruction is supported in GX Works2 SWDNC-GXW2-J Ver. 1.07H or later Ver.
  • Page 350: Specifications

    Stop bit 1-bit and FX Series PLC Ver. 2.41 or later, and FX , FX , FX Series PLC is applicable. Connectable Mitsubishi Electric General-purpose Inverters Series Built-in PU connector FR-A5NR (option) Remarks Only models containing the RS-485 FREQROL-S500 —...
  • Page 351: Link Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.3 Link Specifications Link Specifications The tables below show applicable parameters and operation commands. When monitoring inverter operations (PLC  inverter) 2.3.1 Applicable inverter Instruction code Read contents F800, A800, F700, (hexadecimal) V500, F500, A500...
  • Page 352: Execution Times In Inverter Communication Instructions

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.4 Execution Times in Inverter Communication Instructions Execution Times in Inverter Communication Instructions 2.4.1 Outline The period of time after one inverter communication instruction is driven until communication with the inverter is completed (M8029 turns ON) is regarded as the required time for the inverter communication instruction as shown in the figure below.
  • Page 353 FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.4 Execution Times in Inverter Communication Instructions Some inverter communication instructions execute several times of sending/receiving in a single instruction. The following table shows the number of times of sending/receiving in each communication instruction. Inverter communication instruction Number of times of sending/receiving in per instruction IVDR...
  • Page 354: Calculation Method

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.4 Execution Times in Inverter Communication Instructions 2.4.2 Calculation method Calculate the required time "T " for inverter communication instruction in units of "ms" as follows. "INT(n)" in the calculation formula indicates an integer obtained by truncating decimal places of "n". 1.
  • Page 355 FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.4 Execution Times in Inverter Communication Instructions Refer to the following table for the number of sent/received characters. Inverter First Second Third Parameter/ communication instruction code Sending Receiving Total Sending Receiving Total Sending Receiving Total instruction Change of the 2nd parameter is...
  • Page 356: Calculation Example

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.4 Execution Times in Inverter Communication Instructions 2.4.3 Calculation example This is a calculation example for the following communication settings and scan time when communicating with an inverter. Communication speed = 19200[bps] Length of 1 character = 10[bit] Scan time = 10[ms]...
  • Page 357 FX Series PLC User's Manual - Data Communication Edition 2 Specifications Inverter Communication 2.4 Execution Times in Inverter Communication Instructions 3. Calculation example 3 Calculation of required time when Pr. 10 to Pr. 14 [ = 5] are written by the IVBWR instruction = 512[ms] = 1[ms], T = 1[ms]...
  • Page 358: System Configuration And Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.1 System Configuration System Configuration and Selection This chapter explains the system configuration and communication equipment selection operating in accordance with RS-485 required by FX PLCs. System Configuration This section outlines the system configuration required to use inverter communication.
  • Page 359 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.1 System Configuration Total extension Communication equipment operating FX PLC Important point in selection distance in accordance with RS-485 Attach the expansion board to the Expansion Communication 500 m...
  • Page 360: Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.2 Applicable FX PLC and Communication Equipment Applicable FX PLC and Communication Equipment Select a (optional) communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the external dimensions are different between the units shown in "FX -485ADP/...
  • Page 361 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.2 Applicable FX PLC and Communication Equipment Total FX Series Communication equipment (option) extension Check distance When using channel 1 (ch 1) 50 m (164' 0") -485-BD -485-BD-RJ...
  • Page 362 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.2 Applicable FX PLC and Communication Equipment Total FX Series Communication equipment (option) extension Check distance When using channel 1 (ch 1) RD A 50 m RD B SD A...
  • Page 363 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.2 Applicable FX PLC and Communication Equipment Total FX Series Communication equipment (option) extension Check distance When using channel 1 (ch 1) 500 m (1640' 5") -485ADP(-MB) (European terminal block)
  • Page 364 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Inverter Communication 3.2 Applicable FX PLC and Communication Equipment Total FX Series Communication equipment (option) extension Check distance When using channel 1 (ch 1) RD A 50 m RD B SD A...
  • Page 365: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 3.2 Applicable FX PLC and Communication Equipment Wiring This chapter explains the wiring. WIRING PRECAUTIONS • Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
  • Page 366: Wiring Procedure

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.1 Wiring Procedure Wiring Procedure Confirming the connection method Confirm the inverter connection method. For details, refer to Section 4.2. Preparing for wiring Prepare cables, distributors and terminal resistors required for wiring. For connection cables, refer to Section 4.3.
  • Page 367: Selecting Cables And Connection Devices

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.2 Selecting Cables and Connection Devices Selecting Cables and Connection Devices When connecting equipment operating in accordance with RS-485, use the following connection method with 10BASE-T or shielded twisted pair cables. Terminal resistor Non-stranded cable PU connector...
  • Page 368: A500, F500 And V500 Series (Fr-A5Nr)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.2 Selecting Cables and Connection Devices 4.2.2 A500, F500 and V500 Series (FR-A5NR) 1. In the case of 1-to-1 connection When a distributor is not used FR-A5NR Terminal Twisted pair cable resistor...
  • Page 369: F800, A800, F700 And A700 Series (Built-In Rs-485 Terminal)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.2 Selecting Cables and Connection Devices 4.2.3 F800, A800, F700 and A700 Series (built-in RS-485 terminal) 1. In the case of 1-to-1 connection Set the terminal resistor switch in the inverter to "100 ". Built-in RS-485 terminal Twisted pair cable...
  • Page 370: E700 Series (Fr-E7Tr)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.2 Selecting Cables and Connection Devices 4.2.4 E700 Series (FR-E7TR) 1. In the case of 1-to-1 connection When a distributor is not used FR-E7TR Twisted pair cable Terminal resistor 2.
  • Page 371: Connection Cables

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.3 Connection Cables Connection Cables 4.3.1 10BASE-T cable 10BASE-T cables used in LAN wiring for a personal computer can be connected. 1. Selection procedure when purchasing 1) Cable type : 10BASE-T cable (Category 3 or 5) 2) Connection specifications : Straight type...
  • Page 372: Connecting Cables

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.3 Connection Cables 4.3.3 Connecting cables 1. European type terminal block The FX -485-BD-RJ terminal block is used for grounding. The other options use shielded twisted pair cables for connecting communication equipment operating in accordance with RS-485.
  • Page 373: Connection Devices (Rj45 Connector And Distributor)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.4 Connection Devices (RJ45 Connector and Distributor) • Tool Select a When tightening a terminal on the European terminal block, use a small screwdriver with a commercial straight shape screwdriver whose tip is shown in the figure to straight tip.
  • Page 374: Connecting Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.5 Connecting Terminal Resistors Connecting Terminal Resistors Connect a terminal resistor to both the communication equipment of the FX PLC and the RDA-RDB signal terminal in the last inverter. For details on connection, refer to each wiring diagram.
  • Page 375: Wiring A Shielding Wire (Class-D Grounding)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.6 Wiring a Shielding Wire (Class-D grounding) • FX -485-BD-RJ Terminal resistor selector switch 4. Connecting a terminal resistor to the inverter Communication may be affected by noise echo depending on the transmission speed and transmission distance.
  • Page 376: Connector In Inverter

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.7 Connector in Inverter Connector in Inverter 1. In the case of PU port connector Pin No. Signal name Remarks When seen from inverter front Not used (receptacle side) Modular jack Not used...
  • Page 377 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.7 Connector in Inverter 4. In the case of built-in RS-485 terminal F800, A800, F700 and A700 Series inverters are equipped with a built-in RS-485 terminal. Terminal symbol Connect them to the communication equipment operating in accordance with RS-485 of the PLC.
  • Page 378: Connection Diagram

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram Connection Diagram 4.8.1 For S500, E500, A500, F500 , V500 and D700 Series (PU connector) 1. When one inverter is connected Terminal resistor: 110  •...
  • Page 379 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 2. When two or more (up to eight) inverters are connected Terminal resistor: 110  • FX -485-BD, FX -485-BD and Connect a terminal resistor of -485ADP(-MB): 100 , 1/2 W (not supplied) to Set the built-in selector switch.
  • Page 380: For A500, F500 And V500 Series (Fr-A5Nr)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 4.8.2 For A500, F500 and V500 Series (FR-A5NR) 1. When one inverter is connected Terminal resistor: 110  • FX -485-BD, FX -485-BD and -485ADP(-MB): Set the built-in selector switch.
  • Page 381: For E700 Series (Pu Connector)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 4.8.3 For E700 Series (PU connector) 1. When one inverter is connected (4-wire type) Terminal resistor: 110  • FX -485-BD, FX -485-BD, FX -485ADP(-MB): Set the built-in selector switch.
  • Page 382 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 2. When two or more (up to eight) inverters are connected (4-wire type) Terminal resistor: 110  Connect a terminal resistor of  • FX -485-BD, FX -485-BD, FX -485ADP(-MB):...
  • Page 383 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 3. When one inverter is connected (2-wire type) Terminal resistor: 110  • FX -485-BD, FX -485-BD, FX -485ADP(-MB): Set the built-in selector switch. Distributor Connect a terminal resistor of 100 , 1/2 W...
  • Page 384 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 4. When two or more (up to eight) inverters are connected (2-wire type) Terminal resistor: 110  Connect a terminal resistor of  • FX -485-BD, FX -485-BD, FX -485ADP(-MB):...
  • Page 385: For E700 Series (Fr-E7Tr)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 4.8.4 For E700 Series (FR-E7TR) 1. When one inverter is connected (4-wire type) Terminal resistor: 110  • FX -485-BD, FX -485-BD, FX -485ADP(-MB): Set the built-in selector switch.
  • Page 386 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram When adopting branches, perform the wiring as shown below: (4-wire type) When connecting a 100  terminal resistor, set the switch to the "100  " side. For crossover wiring of a shielded cable using the terminal SG, set the terminal 2/SG selector switch to the right side (ON) to change over the terminal 2 to the terminal SG.
  • Page 387 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 3. When one inverter is connected (2-wire type) Terminal resistor: 110  • FX -485-BD, FX -485-BD, FX -485ADP(-MB): Set the built-in selector switch. Twisted pair cable (0.3mm or more)
  • Page 388: For F800, A800, F700 And A700 Series (Built-In Rs-485 Terminal)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.8 Connection Diagram 4.8.5 For F800, A800, F700 and A700 Series (built-in RS-485 terminal) 1. When one inverter is connected Terminal resistor: 110 - FX -485-BD, FX -485-BD, FX -485ADP(-MB): Set the built-in selector switch.
  • Page 389: Grounding

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Inverter Communication 4.9 Grounding 4.8.6 Switching of 1 pair / 2 paired wiring (FX -485-BD-RJ) The FX -485-BD-RJ has a built-in wiring circuit switch. Set the wiring circuit switch to 1 pair / 2 pair. Wiring circuit switch Grounding...
  • Page 390: Communication Setting In Inverter

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.1 Communication Port and Applicable Parameters Communication Setting in Inverter Before connecting an inverter to a PLC, set parameters related to communication in the inverter parameter unit (PU) in advance using the procedure described in this chapter.
  • Page 391 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.1 Communication Port and Applicable Parameters Inverter connection Parameters applicable in Reference Model Model classification destination inverter section S500 Series Only models with built-in RS-485 port RS-485 port Pr79, n1 to n12 E500 Series Models with built-in PU port PU port...
  • Page 392: S500 Series (When Connected To Rs-485 Port)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.2 S500 Series (When Connected to RS-485 Port) S500 Series (When Connected to RS-485 Port) 5.2.1 Contents of parameter setting 1. Contents of communication setting (essential items) The table below shows parameters which should be set in all cases.
  • Page 393: Parameter Setting Method (Reference)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.2 S500 Series (When Connected to RS-485 Port) 5.2.2 Parameter setting method (reference) This subsection explains the parameter setting method using the operation panel. For details on the operation panel, refer to the respective inverter manual.
  • Page 394 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.2 S500 Series (When Connected to RS-485 Port) Setting the set value of "n2" to "192" ("192" indicates the baud rate of 19200 bps.) Turn the setting dial to display "n2".
  • Page 395: E500 Series (When Connected To Pu Port)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.3 E500 Series (When Connected to PU Port) E500 Series (When Connected to PU Port) 5.3.1 Contents of parameter setting 1. Contents of communication setting (essential items) The table below shows parameters which should be set in all cases.
  • Page 396: Parameter Setting Method (Reference)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.3 E500 Series (When Connected to PU Port) 5.3.2 Parameter setting method (reference) This subsection explains the parameter setting method using the operation panel. For details on the operation panel, refer to the respective inverter manual.
  • Page 397 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.3 E500 Series (When Connected to PU Port) • Method to set each digit of the parameter number a) Press the SET key to flash the most significant digit. Set a numeric value using the UP and DOWN keys.
  • Page 398: V500, F500 And A500 Series (Connection To Pu Port)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.4 V500, F500 and A500 Series (Connection to PU Port) V500, F500 and A500 Series (Connection to PU Port) 5.4.1 Contents of parameter setting 1.
  • Page 399: Parameter Setting Method (Reference)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.4 V500, F500 and A500 Series (Connection to PU Port) 5.4.2 Parameter setting method (reference) This subsection explains the parameter setting method using the operation panel. For details on the operation panel, refer to the respective inverter manual.
  • Page 400 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.4 V500, F500 and A500 Series (Connection to PU Port) b) Press the SET key to flash the middle digit. Set a numeric value using the UP and DOWN keys. c) Press the SET key to flash the least significant digit.
  • Page 401: V500, F500 And A500 Series (Connection To Fr-A5Nr)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.5 V500, F500 and A500 Series (Connection to FR-A5NR) V500, F500 and A500 Series (Connection to FR-A5NR) 5.5.1 Contents of parameter setting 1. Contents of communication setting (essential items) The table below shows parameters which should be set in all cases.
  • Page 402: E700, D700 Series (When Pu Port, Fr-E7Tr Is Connected)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.6 E700, D700 Series (when PU port, FR-E7TR is connected) E700, D700 Series (when PU port, FR-E7TR is connected) 5.6.1 Contents of parameter setting 1.
  • Page 403 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.6 E700, D700 Series (when PU port, FR-E7TR is connected) 3. Others (which should be set if necessary) The table below shows parameters to be considered when using various system configuration and inverters. For the method of use, refer to the respective inverter manual.
  • Page 404: Parameter Setting Method (Reference)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.6 E700, D700 Series (when PU port, FR-E7TR is connected) 5.6.2 Parameter setting method (reference) This subsection explains the parameter setting method using the operation panel. For details on the operation panel, refer to the respective inverter manual.
  • Page 405 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.6 E700, D700 Series (when PU port, FR-E7TR is connected) Press the SET key to determine the set value. The set value and parameter number are displayed alternately. The set value and parameter number are displayed alternately, and the setting is completed.
  • Page 406: F700 And A700 Series (When Built-In Rs-485 Terminal Is Connected)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.7 F700 and A700 Series (when built-in RS-485 terminal is connected) F700 and A700 Series (when built-in RS-485 terminal is connected) 5.7.1 Contents of parameter setting 1.
  • Page 407: Parameter Setting Method (Reference)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.7 F700 and A700 Series (when built-in RS-485 terminal is connected) 5.7.2 Parameter setting method (reference) This subsection explains the parameter setting method using the operation panel. For details on the operation panel, refer to the respective inverter manual.
  • Page 408 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.7 F700 and A700 Series (when built-in RS-485 terminal is connected) Press the SET key to determine the set value. The set value and parameter number are displayed alternately. The set value and parameter number are displayed alternately, and the setting is completed.
  • Page 409: F800 And A800 Series (When Built-In Rs-485 Terminal Is Connected)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.8 F800 and A800 Series (when built-in RS-485 terminal is connected) F800 and A800 Series (when built-in RS-485 terminal is connected) 5.8.1 Contents of parameter setting 1.
  • Page 410: Parameter Setting Method (Reference)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.8 F800 and A800 Series (when built-in RS-485 terminal is connected) 5.8.2 Parameter setting method (reference) This subsection explains the parameter setting method using the operation panel. For details on the operation panel, refer to the respective inverter manual.
  • Page 411: Cautions On Setting

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in Inverter Inverter Communication 5.9 Cautions on Setting Press the SET key to determine the set value. The set value and parameter number are displayed alternately. The set value and parameter number are displayed alternately, and the setting is completed. Setting the parameter Pr.
  • Page 412: Communication Setting In Fx Programmable Controller

    FX Series PLC User's Manual - Data Communication Edition 6 Communication Setting in FX Programmable Controller Inverter Communication 6.1 Parameter Assigning Method Communication Setting in FX Programmable Controller This chapter explains the communication setting method for inverter communication. Set non-protocol communication for inverter communication. Parameter Assigning Method Use parameters for communication setting in the FX PLC.
  • Page 413: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 6 Communication Setting in FX Programmable Controller Inverter Communication 6.2 Communication Setting Using Parameter Method (GX Works2) Communication Setting Using Parameter Method (GX Works2) Communication settings may be changed via the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 414 FX Series PLC User's Manual - Data Communication Edition 6 Communication Setting in FX Programmable Controller Inverter Communication 6.2 Communication Setting Using Parameter Method (GX Works2) Setting the serial communication (parameters) Set the parameters as shown below: [1] Set the channel to be used. (This parameter can be set only in the FX , FX PLCs.) [2] Check the "Operate Communication Setting"...
  • Page 415: Communication Setting Using Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 6 Communication Setting in FX Programmable Controller Inverter Communication 6.3 Communication Setting Using Parameter Method (FXGP/WIN) Communication Setting Using Parameter Method (FXGP/WIN) Communication settings may be changed via the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 416 FX Series PLC User's Manual - Data Communication Edition 6 Communication Setting in FX Programmable Controller Inverter Communication 6.3 Communication Setting Using Parameter Method (FXGP/WIN) 2. When there are already parameter settings The existing communication setting contents are displayed. Adjusting serial setting (parameter) Execute the communication setting as shown below.
  • Page 417: Creating Programs (Fx 2N , Fx 2Nc )

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.1 Checking Contents of Related Devices Creating Programs (FX , FX This chapter explains how to create programs which change inverter parameters and give operation commands to inverters.
  • Page 418: Common Items In Inverter Communication Instructions

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.2 Common Items in Inverter Communication Instructions Common Items in Inverter Communication Instructions 7.2.1 Inverter communication types (EXTR K10 to K13) An FX and FX PLC and inverter execute communication using EXTR (FNC180) instruction.
  • Page 419 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.2 Common Items in Inverter Communication Instructions - The PLC waits for 15 ms after acquiring the communication port, and then starts communication using EXTR instructions.
  • Page 420: Instruction Completion And Error Flag Operation

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.2 Common Items in Inverter Communication Instructions 7.2.3 Instruction completion and error flag operation When two or more EXTR instructions are programmed, the following flags turn ON or OFF according to the execution result of each EXTR instruction.
  • Page 421 FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.2 Common Items in Inverter Communication Instructions 3. Program examples X000 Start command FNC180     EXTR M8156 Communication error Error in the 1st instruction M8029 FNC 12...
  • Page 422: Cautions On Programming

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.2 Common Items in Inverter Communication Instructions 7.2.4 Cautions on programming 1. Using the EXTR instruction together with another instruction • The EXTR instruction cannot be used together with the RS instruction. •...
  • Page 423: Inverter Operation Monitoring Instruction (PlcInverter) [Extr K10]

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.3 Inverter Operation Monitoring Instruction (PLC  Inverter) [EXTR K10] Inverter Operation Monitoring Instruction (PLCInverter) [EXTR K10] EXTR K10 instruction reads the operation status of an inverter to the PLC. 7.3.1 Function and operation When an "instruction code"...
  • Page 424: Inverter Operation Control Instruction (PlcInverter) [Extr K11]

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.4 Inverter Operation Control Instruction (PLC  Inverter) [EXTR K11] Inverter Operation Control Instruction (PLCInverter) [EXTR K11] This instruction writes a control value required to operate an inverter from the PLC to the inverter. 7.4.1 Function and operation When an "instruction code"...
  • Page 425: Inverter Parameter Reading Instruction (PlcInverter) [Extr K12]

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.5 Inverter Parameter Reading Instruction (PLC  Inverter) [EXTR K12] Inverter Parameter Reading Instruction (PLCInverter) [EXTR K12] This instruction reads a parameter of an inverter to the PLC. 7.5.1 Function and operation When a parameter number of an inverter is specified in EXTR instruction, the value of the parameter in the...
  • Page 426: Inverter Parameter Writing Instruction (PlcInverter) [Extr K13]

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.6 Inverter Parameter Writing Instruction (PLC  Inverter) [EXTR K13] Inverter Parameter Writing Instruction (PLCInverter) [EXTR K13] This instruction writes a value from the PLC to a parameter in an inverter. 7.6.1 Function and operation When a parameter number in an inverter is specified in EXTR instruction, the value of...
  • Page 427: Second Parameter Specification Codes

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.7 Second Parameter Specification Codes Second Parameter Specification Codes When handling the following parameters in computer link operation, it is necessary to select second parameters.
  • Page 428: A500 Series

    FX Series PLC User's Manual - Data Communication Edition 7 Creating Programs (FX2N, FX2NC) Inverter Communication 7.7 Second Parameter Specification Codes 7.7.3 A500 Series 1. Second parameter specification codes for parameter numbers 201 to 230 Second parameter specification code [Value to be specified in in EXTR instruction for Parameter Name...
  • Page 429: Practical Program Examples (Fx 2N , Fx 2Nc )

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.1 Practical Example 1 Practical Program Examples (FX , FX This chapter explains practical programs for inverter communication. Practical Example 1 This fundamental program example monitors operations of an inverter, controls operations of an inverter and writes parameters to an inverter.
  • Page 430: Program Example

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.1 Practical Example 1 8.1.3 Program example 1. Writing parameters to an inverter while the PLC is in RUN mode M8002 Initial pulse The write instruction is driven...
  • Page 431 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.1 Practical Example 1 3. Controlling operations of an inverter X000 H0FA is set to "00H" Operation stop command input Operation stop X001 X000 Operation stop is reset by input X001 or X002...
  • Page 432 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.1 Practical Example 1 4. Monitoring operations of an inverter M8000 FNC180 H07A K2M100 Inverter status is read EXTR H7AM107 to M100 monitor Inverter running M100...
  • Page 433: Practical Example 2

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.2 Practical Example 2 Practical Example 2 This program executes the same control as practical example 1 shown above. 8.2.1 System configuration example An FX PLC is connected to an inverter.
  • Page 434: Program Example

    FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.2 Practical Example 2 8.2.3 Program example 1. Writing parameters to an inverter while the PLC is in RUN mode M8002 Initial pulse The write instruction is driven...
  • Page 435 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.2 Practical Example 2 2. Changing the speed using a sequence program M8000 FNC 12 K6000 "60 Hz" is written as the initial value at startup monitor Operation...
  • Page 436 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.2 Practical Example 2 3. Controlling operations of an inverter X000 H0FA is set to "00H" Operation stop command input Operation stop X001 X000 Operation stop is reset by input X001 or X002...
  • Page 437 FX Series PLC User's Manual - Data Communication Edition 8 Practical Program Examples (FX2N, FX2NC) Inverter Communication 8.2 Practical Example 2 4. Monitoring operations of an inverter While data is not written to an inverter, Driving of Driving of Driving of the status is read.
  • Page 438: Creating Programs (Fx 3S , Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.1 Differences between FX2N, FX2NC and FX3S, FX3G, FX3GC, FX3U, FX3UC Creating Programs (FX , FX , FX , FX , FX This chapter explains how to create programs which change parameters of inverters and give operation commands to inverters.
  • Page 439: Contents Of Related Devices

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.2 Contents of Related Devices Contents of Related Devices The tables below show devices used for inverter communication in FX , FX , FX , FX and FX...
  • Page 440: Common Items In Inverter Communication Instructions

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.3 Common Items in Inverter Communication Instructions Common Items in Inverter Communication Instructions 9.3.1 Inverter communication types (IVCK to IVMC) Execute inverter communication using the following applied instructions. There are six types of applied instructions, "IVCK (FNC270) to IVMC (FNC275)", depending on the data communication direction and parameter reading/writing direction.
  • Page 441 FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.3 Common Items in Inverter Communication Instructions - The PLC waits for 15 ms after acquiring the communication port, and then starts communication using inverter communication instructions.
  • Page 442: Instruction Completion And Error Flag Operation

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.3 Common Items in Inverter Communication Instructions 9.3.3 Instruction completion and error flag operation When two or more inverter communication instructions are programmed, the following flags turn ON or OFF according to the execution result of each inverter communication instruction.
  • Page 443 FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.3 Common Items in Inverter Communication Instructions 3. Program example X000 Start command FNC277    IVWR M8152 Communication error Instruction error is checked M8029...
  • Page 444: Cautions On Programming

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.3 Common Items in Inverter Communication Instructions 9.3.4 Cautions on programming 1. Using an inverter communication instruction together with another instruction •...
  • Page 445 FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.3 Common Items in Inverter Communication Instructions 6. Cautions when using the password function for inverter 1) When a communication error occurs When a communication error occurs in an inverter communication instruction, the FX PLC automatically retries communication up to 3 times Hence, when a password disable error occurs in the inverter in which "display of the number of times of...
  • Page 446: Inverter Operation Monitoring Instruction (PlcInverter) [Fnc270 / Ivck]

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.4 Inverter Operation Monitoring Instruction (PLC  Inverter) [FNC270 / IVCK] Inverter Operation Monitoring Instruction (PLCInverter) [FNC270 / IVCK] The IVCK instruction reads the operation status of an inverter to the PLC. 9.4.1 Function and operation When an "instruction code"...
  • Page 447: Inverter Operation Control Instruction (PlcInverter) [Fnc271 / Ivdr]

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.5 Inverter Operation Control Instruction (PLC  Inverter) [FNC271 / IVDR] Inverter Operation Control Instruction (PLCInverter) [FNC271 / IVDR] This instruction writes a control value required to operate an inverter from the PLC to the inverter. 9.5.1 Function and operation When an "instruction code"...
  • Page 448: Inverter Parameter Reading (PlcInverter) [Fnc272 / Ivrd]

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.6 Inverter Parameter Reading (PLC  Inverter) [FNC272 / IVRD] Inverter Parameter Reading (PLCInverter) [FNC272 / IVRD] This instruction reads a parameter of an inverter to the PLC. 9.6.1 Function and operation When a parameter number of an inverter is specified in IVRD (FNC272) instruction, the value of the...
  • Page 449 FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.6 Inverter Parameter Reading (PLC  Inverter) [FNC272 / IVRD] Read devices: D100 = Motor rotation direction, D101 = Frequency, D102 = Time X001 Read command...
  • Page 450: Inverter Parameter Writing (PlcInverter) [Fnc273 / Ivwr]

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.7 Inverter Parameter Writing (PLC  Inverter) [FNC273 / IVWR] Inverter Parameter Writing (PLCInverter) [FNC273 / IVWR] This instruction writes a value from the PLC to a parameter in an inverter. 9.7.1 Function and operation When a parameter number in an inverter is specified in IVWR (FNC273) instruction, the value of...
  • Page 451: Inverter Parameter Batch Writing (PlcInverter) [Fnc274 / Ivbwr]

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.8 Inverter Parameter Batch Writing (PLC  Inverter) [FNC274 / IVBWR] Inverter Parameter Batch Writing (PLCInverter) [FNC274 / IVBWR] This instruction writes values from the PLC to parameters in an inverter all at once. The IVBWR instruction is supported only in FX and FX PLCs.
  • Page 452: Controls Operations And Monitors Operations Of An Inverter With A Single Command(PlcInverter)[Fnc275 / Ivmc]

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.9 Controls Operations and Monitors Operations of an Inverter with a Single Command(PLC  Inverter)[FNC275 / IVMC] Controls Operations and Monitors Operations of an Inverter with a Single Command(PLCInverter)[FNC275 / IVMC] This instruction writes 2 types of settings (operation command and set frequency) to the inverter, and reads 2 types of data (inverter status monitor, output frequency, etc.) from the inverter at the same time.
  • Page 453: Applicable Inverters

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.9 Controls Operations and Monitors Operations of an Inverter with a Single Command(PLC  Inverter)[FNC275 / IVMC] • If a device number outside the range due to indexing, etc. is specified in , the receive data from the inverter is not stored in .
  • Page 454: Second Parameter Specification Codes

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10 Second Parameter Specification Codes When handling the following parameters in computer link operation, it is necessary to select second parameters.
  • Page 455: A500 Series

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10.3 A500 Series 1. Second parameter specification codes for parameter numbers 201 to 230 and 902 to 905 Second parameter specification code [(decimal) value to be specified in in IVRD/IVWR...
  • Page 456: F500 Series

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10.4 F500 Series 1. Second parameter specification codes for parameter numbers 902 to 905 Second parameter specification code [(decimal) value to be specified in in IVRD/ Parameter...
  • Page 457: A700 Series

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10.7 A700 Series 1. Second parameter specification codes for parameter numbers 125, 126, C2 to C7, C12 to C19, and C38 to C41 Second parameter specification code Parameter...
  • Page 458: E700 And D700 Series

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10.8 E700 and D700 Series 1. Second parameter specification codes for parameter numbers 125, 126, C2 to C7 and C22 to Second parameter specification code Parameter Name...
  • Page 459: F800 Series

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10.9 F800 Series 1. Second parameter specification codes for parameter numbers Pr125, Pr126, C2 to C19 and C38 to C41 Second parameter specification code Parameter...
  • Page 460: A800 Series

    FX Series PLC User's Manual - Data Communication Edition 9 Creating Programs (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 9.10 Second Parameter Specification Codes 9.10.10 A800 Series 1. Second parameter specification codes for parameter numbers Pr125, Pr126, C2 to C19 and C38 to C41 Second parameter specification code Parameter...
  • Page 461: Practical Program Examples (Fx 3S , Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.1 Practical Example 1 10. Practical Program Examples , FX , FX , FX , FX This chapter explains practical programs for inverter communication. 10.1 Practical Example 1 This fundamental program example monitors operations of an inverter, controls operations of the inverter and...
  • Page 462: Program Example

    FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.1 Practical Example 1 10.1.3 Program example 1. Writing parameters to an inverter while the PLC is in RUN mode M8002 Initial pulse The write...
  • Page 463 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.1 Practical Example 1 2. Changing the speed using a sequence program • When the IVMC instruction is not used M8000 FNC 12 "60 Hz"...
  • Page 464 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.1 Practical Example 1 3. Controlling operations of an inverter • When the IVMC instruction is not used X000 H0FA is set to "00H" Operation stop Operation command input...
  • Page 465 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.1 Practical Example 1 4. Monitoring operations of an inverter • When the IVMC instruction is not used M8000 Inverter status is read FNC270 H079 K4M100...
  • Page 466 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.1 Practical Example 1 • When the IVMC instruction is used The set frequency (RAM) and run command M8000 FNC275 (expansion) are written.
  • Page 467: Practical Example 2

    FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 10.2 Practical Example 2 This program executes the same control as practical example 1 shown earlier from one communication port (ch1) to two inverters (Station number: 0 and 1).
  • Page 468: Program Example

    FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 10.2.3 Program example 1. Writing parameters to an inverter while the PLC is in RUN mode M8002 FNC 40 Clearing devices backed up...
  • Page 469 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 *Inverter B (station number 1) M510 FNC271 H0FD H9696 The inverter is reset IVDR Driving of (station number 1) write Computer link operation...
  • Page 470 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 2. Changing the speed using a sequence program *Inverter A (station number 0) M8000 FNC 12 "60 Hz"...
  • Page 471 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 *Inverter B (station number 1) M8000 FNC 12 "60 Hz" is written as K6000 D510 the initial value at startup.
  • Page 472 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 3. Controlling operations of an inverter * Inverter A (station number 0) X000 H0FA is set to "00H" Operation stop Operation command input...
  • Page 473 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 * Inverter B (station number 1) X010 M515 H0FA is set to "00H" Operation stop Operation (command input stop station number 1)
  • Page 474 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 4. Monitoring operations of an inverter * Inverter A (station number 0) While data is not written to an inverter, Driving of Driving of...
  • Page 475 FX Series PLC User's Manual - Data Communication Edition 10 Practical Program Examples (FX3S, FX3G, FX3GC, FX3U, FX3UC) Inverter Communication 10.2 Practical Example 2 * Inverter B (station number 1) M510 M511 M512 M570 While data is not written to an inverter, Driving of Driving of Driving of...
  • Page 476: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Inverter Communication 11.1 Checking FX PLC Version Applicability (FX2N and FX2NC Series) 11. Troubleshooting This chapter explains troubleshooting and error codes. 11.1 Checking FX PLC Version Applicability (FX and FX Series) Verify that the FX PLC main unit is an applicable version for inverter communication.
  • Page 477: Checking Inverter Operation Status

    FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Inverter Communication 11.4 Checking Sequence Program 4. Presence of VRRD and VRSC instructions 1) Except FX , FX and FX PLCs Verify that the VRRD and VRSC instructions are not used in the program. If these instructions are used, delete them, turn OFF the PLC power, and then turn the power ON again.
  • Page 478: Checking Absence/Presence Of Errors

    FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Inverter Communication 11.5 Checking Absence/Presence of Errors 11.5 Checking Absence/Presence of Errors Verify that the error flag is not ON. If the error flag is ON, check the error code and take proper countermeasures. For error codes, refer to the next page.
  • Page 479 FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Inverter Communication 11.6 Error Codes Error Inverter code Contents of error operation (DEC) When errors have occurred consecutively Inverter sent the error code H5. beyond the Overrun error Before receiving the completed data in the inverter, the computer allowable sent the next set of data.
  • Page 480 FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Inverter Communication 11.6 Error Codes 3. IVMC instruction error codes When errors occur in the send data of the IVMC instruction, the following error codes are stored. It is recommended to check error codes in hexadecimal. Refer to the error code list earlier in this section for other errors.
  • Page 481: Related Data

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.1 Related Device List (FX2N, FX2NC) 12. Related Data This chapter shows various technical information. 12.1 Related Device List (FX , FX The tables below show special auxiliary relays and special data registers used in inverter communication (EXTR K10 to EXTR K13).
  • Page 482: Details Of Related Devices (Fx 2N , Fx 2Nc )

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.2 Details of Related Devices (FX2N, FX2NC) 12.2 Details of Related Devices (FX , FX The following devices are special devices used in inverter communication. 12.2.1 Instruction execution complete [M8029] When execution of an inverter communication instruction is completed, this device turns ON.
  • Page 483: Communication Error Latch [M8157]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.2 Details of Related Devices (FX2N, FX2NC) 12.2.5 Communication error latch [M8157] This device turns ON when the communication error flag M8156 turns ON. 1. Detailed contents M8157 turns ON when a communication error occurs and M8156 turns ON.
  • Page 484: Error Code [D8156]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.2 Details of Related Devices (FX2N, FX2NC) 12.2.10 Error code [D8156] This device stores the error code when an error is caused in communication with an inverter by an EXTR instruction.
  • Page 485: Error Occurrence Step Number Latch [D8157]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.2 Details of Related Devices (FX2N, FX2NC) Error code Contents of error Inverter operation (DEC) Inverter sent the error code HA. Mode error. A parameter was written in a mode other than computer link mode, or while inverter was operating.
  • Page 486: Related Device List (Fx 3S , Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.3 Related Device List (FX3S, FX3G, FX3GC, FX3U, FX3UC) 12.3 Related Device List (FX , FX , FX , FX , FX The tables below show special auxiliary relays and special data registers used in inverter communication (FNC270 (IVCK) to FNC275 (IVMC)).
  • Page 487: Details Of Related Devices (Fx 3S , Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.4 Details of Related Devices (FX3S, FX3G, FX3GC, FX3U, FX3UC) 12.4 Details of Related Devices (FX , FX , FX , FX , FX The following devices are special devices used in inverter communications. The FX PLC (14-point, 24-point type) and FX PLC does not support ch2.
  • Page 488: Inverter Communication Error [M8152, M8153, M8157 And M8158]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.4 Details of Related Devices (FX3S, FX3G, FX3GC, FX3U, FX3UC) 12.4.4 Inverter communication error [M8152, M8153, M8157 and M8158] These devices turn ON when an error occurs in an inverter communication instruction. 1.
  • Page 489: Step Number Of Instruction Using Communication Port [D8151 And D8156]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.4 Details of Related Devices (FX3S, FX3G, FX3GC, FX3U, FX3UC) 12.4.8 Step number of instruction using communication port [D8151 and D8156] These devices store the step number of the instruction occupying the communication port. 1.
  • Page 490 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.4 Details of Related Devices (FX3S, FX3G, FX3GC, FX3U, FX3UC) Error code Contents of error Inverter operation (DEC) Inverter sent the error code H0. Computer NAK error. An error was included in the transfer request data from the computer beyond the allowable number of retries.
  • Page 491 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.4 Details of Related Devices (FX3S, FX3G, FX3GC, FX3U, FX3UC) 3. IVMC instruction error codes When errors occur in the send data of the IVMC instruction, the following error codes are stored. It is recommended to check error codes in hexadecimal.
  • Page 492: Inverter Communication Error Occurrence Step [D8153 And D8158]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.4 Details of Related Devices (FX3S, FX3G, FX3GC, FX3U, FX3UC) 12.4.10 Inverter communication error occurrence step [D8153 and D8158] These devices store the step number in which an inverter communication error has occurred. 1.
  • Page 493: Freqrol Inverter Parameter List

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List 12.5 FREQROL Inverter Parameter List This section shows the list of parameters provided in FREQROL F800, A800, F700, A700, E700, V500, F500, A500, E500 and S500 Series inverters.
  • Page 494 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Acceleration/ Acceleration/ Acceleration/...
  • Page 495 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Second Second Second...
  • Page 496 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Retry waiting time Retry waiting time Retry waiting time...
  • Page 497 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name V/F 1 V/F 1 (first frequency)
  • Page 498 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Waiting time Waiting time Waiting time...
  • Page 499 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Frequency setting ...
  • Page 500 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name DI1 terminal RL terminal RL terminal...
  • Page 501 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name 224 Program set 3 225 Program set 3 226 Program set 3...
  • Page 502 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Power-failure Power-failure deceleration time 2...
  • Page 503 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Selection of Selection of Digital input and...
  • Page 504 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Communication Communication Communication...
  • Page 505 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Encoder stop check time Orientation...
  • Page 506 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Orientation selection Number of...
  • Page 507 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Position feed forward command filter...
  • Page 508 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Second position feed amount upper 4 digits...
  • Page 509 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Twelfth position feed amount upper 4 digits...
  • Page 510 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Auxiliary motor 2 starting frequency Auxiliary motor 3...
  • Page 511 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Torque restriction ...
  • Page 512 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name Torque bias balance compensation...
  • Page 513 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name DA1 terminal FM terminal FM terminal...
  • Page 514 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL V500 Series FREQROL F500 Series FREQROL A500 Series FREQROL E500 Series FREQROL S500 Series Function Name Name Name Name Name PU disconnection Additional ...
  • Page 515: Parameters In F700, A700, E700 And D700 Series

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List 12.5.2 Parameters in F700, A700, E700 and D700 Series The following parameters are provided in the F700, A700, E700 and D700 Series inverters. (For details, make sure to refer to the respective inverter manual.) FREQROL F700 Series FREQROL A700 Series...
  • Page 516 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Acceleration/ Acceleration/ Acceleration/ Acceleration/ ...
  • Page 517 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name 61 Reference current 61 Reference current Reference value at Reference value at acceleration...
  • Page 518 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name 100 V/F1 (first frequency) 100 V/F1(first frequency) V/F1 (first frequency V/F1(first frequency...
  • Page 519 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name PID control automatic PID control automatic PID control automatic PID control automatic switchover frequency...
  • Page 520 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name  157 OL signal output timer 157 OL signal output timer 157 OL signal output timer 157 OL signal output timer...
  • Page 521 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name RUN terminal function RUN terminal function RUN terminal function RUN terminal function selection...
  • Page 522 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name 255 Life alarm status display 255 Life alarm status display 255 Life alarm status display 255 Life alarm status display Inrush current limit Inrush current limit Inrush current limit...
  • Page 523 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Brake opening Brake opening frequency frequency 279 Brake opening current...
  • Page 524 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Analog output signal Analog output signal selection selection Setting for zero analog...
  • Page 525 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Communication Communication Communication Communication operation command operation command operation command...
  • Page 526 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Second motor constant (R2) Second motor constant (L1) Second motor...
  • Page 527 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name PTC thermistor   ...
  • Page 528 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Easy gain tuning response level setting Easy gain tuning Easy gain tuning...
  • Page 529 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Speed feed forward control/model adaptive speed control selection Speed feed forward filter...
  • Page 530 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name FM terminal calibration FM terminal calibration FM terminal calibration FM terminal calibration (900)
  • Page 531 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F700 Series FREQROL A700 Series FREQROL E700 Series FREQROL D700 Series Function Name Name Name Name Terminal 4 bias command (932) (torque/magnetic flux) Terminal 4 bias...
  • Page 532: Parameters In F800 And A800 Series

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List 12.5.3 Parameters in F800 and A800 Series The following parameters are provided in FREQROL inverters. Pr. No.1000 and later are not supported. (For details, make sure to refer to the respective inverter manual.) FREQROL F800 Series FREQROL A800 Series...
  • Page 533 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group  M000 Speed display M000 Speed display M441 Up-to-frequency sensitivity M441 Up-to-frequency sensitivity Frequency...
  • Page 534 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group  D020 Reverse rotation prevention selection D020 Reverse rotation prevention selection ...
  • Page 535 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group Terminal 2 frequency setting gain Terminal 2 frequency setting gain ...
  • Page 536 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group Automatic restart after Automatic restart after A700 instantaneous power failure A700 instantaneous power failure selection...
  • Page 537 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group Terminal 1 added compensation Terminal 1 added compensation  T041 T041 amount (terminal 4) amount (terminal 4)
  • Page 538 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group A100 Brake opening frequency A101 Brake opening current Brake opening current detection A102 time A103...
  • Page 539 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group Communication startup mode Communication startup mode D001 D001 selection selection RS-485 communication CR/LF RS-485 communication CR/LF N038...
  • Page 540 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group A800 PLC function operation selection A800 PLC function operation selection A801 Inverter operation lock mode setting A801...
  • Page 541 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group B028 Fourth target position upper 4 digits B029 Fifth target position lower 4 digits B030 Fifth target position upper 4 digits B031...
  • Page 542 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group  H320 Emergency drive mode selection     H321 Emergency drive running speed ...
  • Page 543 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group Auxiliary motor 3 stopping A411 frequency Pump function   ...
  • Page 544 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group Second brake opening current A128 selection Brake sequence   ...
  • Page 545 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group C106 Maximum motor frequency C106 Maximum motor frequency C130 Induced voltage constant (phi f) C130 Induced voltage constant (phi f) C107...
  • Page 546 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group M101 Operation panel monitor selection 1 M101 Operation panel monitor selection 1 Monitor M102 Operation panel monitor selection 2...
  • Page 547 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group G216 Torque detection filter 1 G216 Torque detection filter 1 ...
  • Page 548 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group     H022 Thermal protector input Speed feed forward control/model G220 adaptive speed control selection G221...
  • Page 549 FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List FREQROL F800 Series FREQROL A800 Series Function Name Name Group Group T100 Terminal 1 bias frequency (speed) T100 Terminal 1 bias frequency (speed) (917) (917) T101...
  • Page 550: Communication Parameters

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Inverter Communication 12.5 FREQROL Inverter Parameter List 12.5.4 Communication parameters The table below shows the parameters corresponding to each communication port. - The PU port is common in the V500, F500, A500, and E500 Series. - In the E500 Series, only the PU port is provided.
  • Page 551 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 552 FX Series PLC User's Manual - Data Communication Edition Non-Protocol Communication (RS/RS2 Instruction)
  • Page 553: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.1 Outline of System Outline This chapter explains Non-protocol communication. Outline of System Non-protocol communication exchanges non-protocol data using a printer, bar code reader, etc. In FX Series PLCs, non-protocol communication is available using the RS and RS2 instructions.
  • Page 554 FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.1 Outline of System 2. RS2 instruction • FX Important points and reference System chapter/section RS-232C: 15 m (49' 2")/RS-485: 500 m (1640' 5") [50 m (164' 0") when 485BD is used] ..
  • Page 555 FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.1 Outline of System • FX and FX PLCs Important points and reference System chapter/section RS-232C: 15 m (49' 2")/RS-485: 500 m (1640' 5") Total extension distance [50 m (164' 0") when 485BD is used] For specifications, refer to Chapter 2.
  • Page 556 FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.1 Outline of System • FX and FX PLCs Important points and reference System chapter/section RS-232C: 15 m (49' 2")/RS-485: 500 m (1640' 5") [50 m (164' 0") when 485BD is used] ..
  • Page 557: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the Non-Protocol Communication setting procedures up until data link: Non-Protocol Communication Refer to Chapter 1. Outline Outline of system •...
  • Page 558: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable versions The communication types are applicable in the following versions. : Applicable (If applicable versions of main units are limited, they are described inside ( ).) —: Not applicable Applicability (applicable version) Remarks...
  • Page 559: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable for each FX Series from the version shown. 1. English versions Product name Model name Applicable version...
  • Page 560 FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks GOT-F900 Series display units F940WGOT-TWD-E F940WGOT-TWD-E (Ver. 1.00 or later) F940GOT-*WD-E F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later) F940GOT-*BD-H-E F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver.
  • Page 561: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (RS/RS2 Instruction) 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks , FX and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J SW5 A or later FX-PCS/WIN...
  • Page 562: Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Non-Protocol Communication (RS/RS2 Instruction) 2.1 Communication Specifications (Reference) Specifications This chapter explains the communication specifications and performance of non-protocol communication. Communication Specifications (Reference) Non-protocol communication is executed in the communication specifications shown in the table below. Item Specifications Remarks...
  • Page 563: Data Communication Specifications

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Non-Protocol Communication (RS/RS2 Instruction) 2.2 Data Communication Specifications Data Communication Specifications 2.2.1 Communication type applicability in PLC 1. Full-duplex communication : Applicable (If applicable versions of main units are limited, they are described inside ( ).) —: Not applicable Applicability of communication in accordance Applicability of communication in accordance...
  • Page 564: Number Of Transfer Data

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Non-Protocol Communication (RS/RS2 Instruction) 2.3 Number of Transfer Data Number of Transfer Data FX Series Number of send/receive data Remarks Series 0 to 4096 points Series 0 to 4096 points Series 0 to 4096 points Series...
  • Page 565: System Configuration And Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.1 System Configuration System Configuration and Selection This chapter explains the system configuration and communication equipment selection operating in accordance with RS-485 or RS-232 required by FX PLCs. System Configuration This section outlines the system configuration required to use non-protocol communication.
  • Page 566: Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Applicable FX PLC and Communication Equipment Select a communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the external dimensions are different between the units shown in "FX -485ADP/...
  • Page 567 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 15 m (49' 2") -232-BD (9-pin D-Sub, male) 15 m (49' 2") -CNV-BD...
  • Page 568 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232-BD...
  • Page 569 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232-BD...
  • Page 570 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 0 (ch 0) 15 m (49' 2") FX-232AW...
  • Page 571 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232-BD...
  • Page 572: For Communication In Accordance With Rs-485

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment 3.2.2 For communication in accordance with RS-485 Total extension FX Series Communication equipment (option) Check distance 500 m (1640' 5")
  • Page 573 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -485-BD -485-BD-RJ (European terminal block) (RJ45 connector) 500 m...
  • Page 574 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 50 m (164' 0") -485-BD...
  • Page 575 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 500 m (1640' 5") --BD...
  • Page 576 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (RS/RS2 Instruction) 3.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 500 m (1640' 5") -485ADP(-MB)
  • Page 577: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.1 Wiring Procedure Wiring This chapter explains the wiring. WIRING PRECAUTIONS • Make sure to cut off all phases of the power supply externally before attempting installation or wiring work. Failure to do so may cause electric shock or damage to the product.
  • Page 578: Selecting Cables And Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.2 Selecting Cables and Terminal Resistors Selecting Cables and Terminal Resistors Select cables using the procedure described below. 4.2.1 When using ch0 in FX , FX When using ch0 (standard port (RS-422)) in the FX , FX PLC, use the following cables.
  • Page 579: Base-T Cable

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.2 Selecting Cables and Terminal Resistors 4.2.3 10BASE-T cable 10BASE-T cables used in LAN wiring for a personal computer can be connected to FX -485-BD-RJ. 1.
  • Page 580: Connecting Cables

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.2 Selecting Cables and Terminal Resistors 4.2.4 Connecting cables 1. European type terminal block The FX -485-BD-RJ terminal block is used for grounding. The other options use shielded twisted pair cables for connecting communication equipment operating in accordance with RS-485.
  • Page 581 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.2 Selecting Cables and Terminal Resistors • Tool Select a When tightening a terminal on the European terminal block, use a small screwdriver with a commercial straight shape screwdriver whose tip is shown in the figure to straight tip.
  • Page 582: Connecting Terminal Resistors

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.2 Selecting Cables and Terminal Resistors 4.2.5 Connecting terminal resistors Make sure to provide a terminal resistor at the end of each line. Brown Precision In the case of one-pair wiring, connect a terminal resistor between the RDA-RDB signal terminals of the communication equipment.
  • Page 583: Connection Diagram

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.3 Connection Diagram Connection Diagram 4.3.1 Connector pin arrangement in communication equipment operating in accordance with RS-232C -232ADP, -232-BD, FX -232-BD FX-232AW, -232ADP, FX -232-BD FX-232ADP FX-232AWC, -232-BD,...
  • Page 584 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.3 Connection Diagram 2. When connected equipment has the modem specifications External equipment operating in accordance with RS-232C 9-pin D-Sub (female) connector 25-pin D-Sub (male) connector DR, ER CS, RS -232-BD...
  • Page 585: Wiring For Communication In Accordance With Rs-485

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.3 Connection Diagram 4.3.3 Wiring for communication in accordance with RS-485 One-pair wiring and two-pair wiring (for RS-422) are applicable for communication in accordance with RS- 485.
  • Page 586 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.3 Connection Diagram • FX -485-BD-RJ Communication equipment operating in accordance with RS-485 Distributor (BMJ-8) Distributor (BMJ-8) -485-BD-RJ (TXD+) Terminal (TXD-) resistor 110Ω (RXD+) Terminal (RXD-) resistor LINK...
  • Page 587 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.3 Connection Diagram 2. Two-pair wiring Communication equipment operating -485-BD,FX -485-BD,FX -485-BD in accordance with -485-BD,FX -485ADP(-MB) RS-485/RS-422 -485ADP -485ADP (TXD+) (TXD+) (TXD+) (TXD+) (TXD-) (TXD-) (TXD-) (TXD-)
  • Page 588 FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.3 Connection Diagram • FX -485-BD-RJ Communication equipment operating in accordance with RS-485/RS-422 Distributor (BMJ-8) Distributor (BMJ-8) -485-BD-RJ (TXD+) (TXD-) (RXD+) Terminal (RXD-) resistor Terminal Terminal LINK resistor...
  • Page 589: Grounding

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (RS/RS2 Instruction) 4.4 Grounding 3. Switching of 1 pair / 2 paired wiring (FX -485-BD-RJ) The FX -485-BD-RJ has a built-in wiring circuit switch. Set the wiring circuit switch to 1 pair / 2 pair. Wiring circuit switch Grounding...
  • Page 590: Communication Setting In Fx Programmable Controller

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Non-Protocol Communication (RS/RS2 Instruction) 5.1 Communication Setting Method Mechanism Communication Setting in FX Programmable Controller This chapter explains the communication setting types and setting methods for non-protocol communication using RS/RS2 instruction.
  • Page 591: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Non-Protocol Communication (RS/RS2 Instruction) 5.2 Communication Setting Using Parameter Method (GX Works2) 4. Time at which the settings become valid 1) When specifying the settings by parameters When the PLC power is turned ON, the contents of parameters set on the parameter setting window using sequence programming software are automatically transferred to D8120, D8129, D8400, D8409, D8420 and D8429 in the PLC.
  • Page 592 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Non-Protocol Communication (RS/RS2 Instruction) 5.2 Communication Setting Using Parameter Method (GX Works2) Setting the serial communication (parameters) Click the [PLC System(2)] tab in the dialog box Setting the serial communication (parameters) Select a channel and check the "Operate Communication Setting"...
  • Page 593: Communication Setting Using Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Non-Protocol Communication (RS/RS2 Instruction) 5.3 Communication Setting Using Parameter Method (FXGP/WIN) Communication Setting Using Parameter Method (FXGP/WIN) Communication settings may be changed via the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 594 FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting in FX Programmable Controller Non-Protocol Communication (RS/RS2 Instruction) 5.3 Communication Setting Using Parameter Method (FXGP/WIN) 2. When there are already parameter settings. The existing communication setting contents are displayed. Adjusting serial setting (parameter) Execute the settings according to the connected communication equipment.
  • Page 595: Creating Programs (Rs Instruction)

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.1 Checking Contents of Related Devices Creating Programs (RS Instruction) This chapter explains how to create programs for non-protocol communication using RS instruction and how such programs operate.
  • Page 596: How To Use Rs Instruction

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.2 How to Use RS Instruction How to Use RS Instruction This section explains the function, operation and programming method of RS instruction. 1.
  • Page 597: Function And Operation

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.2 How to Use RS Instruction 6.2.2 Function and operation RS instruction specifies the head device storing the sent data sent from the PLC, amount of data, head device storing the received data and the maximum allowable amount of received data.
  • Page 598: Send/Receive Data And Amount Of Data

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.2 How to Use RS Instruction 6.2.3 Send/receive data and amount of data RS instruction can handle sent and received data in two modes, 16-bit mode and 8-bit mode. Data is handled as shown below in each mode.
  • Page 599 FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.2 How to Use RS Instruction 2. Handling of 8-bit data (when M8161 is set to ON) M8000 16-bit data 8-bit mode M8161 Ignored Lowest-order 8-bit...
  • Page 600: Operation When Data Is Sent

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.2 How to Use RS Instruction 6.2.4 Operation when data is sent When the sending request flag (M8122) is set to ON while RS instruction is driven, the PLC sends the data stored in the data registers to ( +m-1) specified by the RS instruction.
  • Page 601 FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.2 How to Use RS Instruction 3. Operation of the time-out check flag (which is not provided in FX PLC before Ver. 2.00, and FX (FX), FX , FX...
  • Page 602: Operation Of Control Line

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.3 Operation of Control Line Operation of Control Line 6.3.1 (before Ver. 2.00), FX (FX), FX , FX , FX , FX and FX PLCs PLCs before Ver.
  • Page 603 FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.3 Operation of Control Line 2) When only receiving is executed [The DR (DSR) signal is not used.] instruction driving RD (RXD) Message Message Receive data...
  • Page 604 FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.3 Operation of Control Line 6.3.2 (Ver. 2.00 or later), FX , FX , FX , FX , FX and FX PLCs PLCs Ver.
  • Page 605 FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.3 Operation of Control Line 4. When the control line is in the interlink mode instruction OFF ON driving SD (TXD) Message Message Message Send data...
  • Page 606: Important Points In Creating Programs

    FX Series PLC User's Manual - Data Communication Edition 6 Creating Programs (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 6.4 Important Points in Creating Programs Important Points in Creating Programs 1) The RS instruction can be used as many times as necessary in a program, but make sure that only one RS instruction is driven at a time.
  • Page 607: Practical Program Example (Rs Instruction)

    FX Series PLC User's Manual - Data Communication Edition 7 Practical Program Example (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 7.1 Example of Printing Using RS Instruction (Using RS-232C Connection) Practical Program Example (RS Instruction) Example of Printing Using RS Instruction (Using RS-232C Connection) In this example, a printer with an RS-232C interface is connected to a PLC, and data sent from the PLC is printed.
  • Page 608 FX Series PLC User's Manual - Data Communication Edition 7 Practical Program Example (RS Instruction) Non-Protocol Communication (RS/RS2 Instruction) 7.1 Example of Printing Using RS Instruction (Using RS-232C Connection) 3. Sequence program M8000 M8161 8-bit data is handled. M8000 The communication setting is kept. M8120 (This step is required only in an FX PLC.)
  • Page 609: Creating Programs (Rs2 Instruction)

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.1 Checking Contents of Related Devices Creating Programs (RS2 Instruction) This chapter explains how to create programs for non-protocol communication using RS2 instruction and how such programs operate.
  • Page 610 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.1 Checking Contents of Related Devices 2. Word devices Device Name Description Serial When the serial communication error flag turns ON, this device D8062 D8063 D8438 communication stores the corresponding error code.
  • Page 611 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.1 Checking Contents of Related Devices Device Name Description These devices set the terminators 1 to 4. Terminator Data Terminator 1 and D8382 D8412 D8432 terminator 2 Termi-...
  • Page 612: How To Use Rs2 Instruction

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction How to Use RS2 Instruction This section explains the function, operation and programming method of the RS2 instruction. Available channels vary depending on the main unit.
  • Page 613: Applicable Frames

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 8.2.1 Applicable frames Message frames used in communication can be selected by setting the communication format. The table below shows message frames applicable to the RS2 instruction.
  • Page 614 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 2. Terminator When "terminator provided" is selected in the communication format settings, the values of D8382 and D8383 are used for ch0, and the values of D8412 and D8413 are used for ch1, and the values of D8432 and D8433 are used for ch2.
  • Page 615: Function And Operation

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 8.2.2 Function and operation RS2 instruction specifies the head device storing the send data from the PLC, amount of data, head device storing the received data and maximum allowable amount of received data.
  • Page 616: Send/Receive Data And Amount Of Data

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 8.2.3 Send/receive data and amount of data RS2 instruction can handle send data and receive data while storing two characters in one data register. M8000 FNC 87 D100...
  • Page 617 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 2. Receive data and amount of data already received Sum data ..The order is different Header Data area Terminator...
  • Page 618: Operation When Data Is Sent

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 8.2.4 Operation when data is sent When the sending request flag is set to ON while RS2 instruction is driven, the PLC sends the data stored in the specified data registers to ( +m-1).
  • Page 619 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 2. Time at which receiving is completed Receiving is completed in the following three conditions. When either condition is established, receiving is completed.
  • Page 620 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 5. Cautions on receiving When receiving data, observe the following cautions 1) While the receiving complete flag is ON, the PLC cannot receive the next set of receive data. When the receiving complete flag is set to OFF, the PLC waits to receive.
  • Page 621: Sum Check Code

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.2 How to Use RS2 Instruction 8.2.6 Sum check code The sum check code indicates a two-digit ASCII code converted from the lowest-order byte (8-bit) of the result (sum) acquired by adding the sum check target data as hexadecimal data.
  • Page 622: Operation Of Control Line

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.3 Operation of Control Line Operation of Control Line , FX , FX , FX and FX PLCs execute full-duplex, bidirectional communication. When executing half-duplex, bidirectional communication, pay attention not to set the sending request to ON while receiving.
  • Page 623 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.3 Operation of Control Line 2. When the control line is in the standard mode Use this mode when only sending or receiving. 1) When only sending is executed instruction OFF ON...
  • Page 624 FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.3 Operation of Control Line 4. When the control line is in the interlink mode instruction OFF ON driving SD (TXD) Message Message Message Send data...
  • Page 625: Important Points In Creating Programs

    FX Series PLC User's Manual - Data Communication Edition 8 Creating Programs (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 8.4 Important Points in Creating Programs Important Points in Creating Programs 1) The RS2 instruction can be used as many times as necessary in a program, but make sure that only one RS2 instruction is driven in each communication port at a time.
  • Page 626: Practical Program Example (Rs2 Instruction)

    FX Series PLC User's Manual - Data Communication Edition 9 Practical Program Example (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 9.1 Example of Printing Using RS2 Instruction (Using RS-232C Connection) Practical Program Example (RS2 Instruction) Example of Printing Using RS2 Instruction (Using RS-232C Connection) In this example, a printer with the RS-232C interface is connected to a PLC, and the data sent from the PLC is printed.
  • Page 627 FX Series PLC User's Manual - Data Communication Edition 9 Practical Program Example (RS2 Instruction) Non-Protocol Communication (RS/RS2 Instruction) 9.1 Example of Printing Using RS2 Instruction (Using RS-232C Connection) 2. Sequence program M8002 H006F D8400 communication format is set. 0000 0000 0110 1111...
  • Page 628: When Combined With Another Communication

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.1 Other Communication Type Used Together 10. When Combined with Another Communication This chapter explains how to use non-protocol communication (RS or RS2 instruction) together with another communication type.
  • Page 629: When Combined With Programming Communication

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.2 When Combined with Programming Communication 10.2 When Combined with Programming Communication In FX PLCs Ver. 2.01 or later, and FX , FX , FX , FX...
  • Page 630 FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.2 When Combined with Programming Communication 10.2.2 For FX , FX , FX , FX and FX PLCs In FX , FX , FX , FX and FX...
  • Page 631: When Combined With Computer Link Communication

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.3 When Combined with Computer Link Communication 10.3 When Combined with Computer Link Communication In FX , FX , FX , FX and FX PLCs, non-protocol communication (in accordance with RS-232C or RS-485) using the RS instruction can be changed over to a protocol dedicated to computer link by the...
  • Page 632: When Combined With Programming Communication

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.4 When Combined with Programming Communication 10.4 When Combined with Programming Communication In FX , FX , FX , FX and FX PLCs, non-protocol communication using RS2 instruction can be changed over to communication with a programming tool (programming communication) by the following methods.
  • Page 633: Using Rs2 Instruction And Computer Link Communication Together

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.5 Using RS2 Instruction and Computer Link Communication Together 10.5 Using RS2 Instruction and Computer Link Communication Together In FX , FX , FX , FX and FX...
  • Page 634: Communication Setting Method Using Sequence Program

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.6 Communication Setting Method Using Sequence Program 10.6 Communication Setting Method Using Sequence Program In the setting method using a sequence program, transfer values to the communication format device (D8120, D8400 or D8420).
  • Page 635 FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.6 Communication Setting Method Using Sequence Program To set the communication type, use the following program. Data length 7-bit M8002 FNC 12 H0C86 D8120 Parity...
  • Page 636: Communication Setting For Rs2 Instruction

    FX Series PLC User's Manual - Data Communication Edition 10 When Combined with Another Communication Non-Protocol Communication (RS/RS2 Instruction) 10.6 Communication Setting Method Using Sequence Program 10.6.2 Communication setting for RS2 instruction The following devices are used in the communication setting. When using communication port ch0, set D8370.
  • Page 637: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Non-Protocol Communication (RS/RS2 Instruction) 11.1 Checking FX PLC Version Applicability 11. Troubleshooting This chapter explains troubleshooting and error codes. 11.1 Checking FX PLC Version Applicability Verify that the FX PLC main unit is an applicable version in non-protocol communication. For version applicability, refer to Section 1.3.
  • Page 638: Checking Sequence Program

    FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Non-Protocol Communication (RS/RS2 Instruction) 11.4 Checking Sequence Program 11.4 Checking Sequence Program 1. Communication settings in a sequence program Verify that N:N Network (D8176 to D8180) and parallel link (M8070 and M8071) are not set. Verify that the communication format (D8120, D8370, D8400 or D8420) is set correctly.
  • Page 639: Checking The Absence/Presence Of Errors

    FX Series PLC User's Manual - Data Communication Edition 11 Troubleshooting Non-Protocol Communication (RS/RS2 Instruction) 11.5 Checking the Absence/Presence of Errors 11.4.1 Checking communication port settings (in FX , FX , FX , FX and FX PLCs) 1. Checking the operation mode In FX , FX , FX...
  • Page 640: Related Data

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.1 Related Device List (RS Instruction) 12. Related Data 12.1 Related Device List (RS Instruction) 1. Bit devices Device Name Description M8063 Serial communication error flag This device turns ON when a communication error occurs. M8120 Communication setting keep This device keeps the communication setting status (for FX...
  • Page 641: Details Of Related Devices (Rs Instruction)

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.2 Details of related devices (RS instruction) 12.2 Details of related devices (RS instruction) This section explains devices used during non-protocol communication. 12.2.1 Serial communication error [M8063] This device turns ON when an error occurs during serial communication.
  • Page 642: Receiving Complete Flag [M8123]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.2 Details of related devices (RS instruction) 12.2.5 Receiving complete flag [M8123] This device turns ON when receiving is completed. 1. Detailed contents This device turns ON when receiving is completed. Receiving is completed in one of the following three conditions.
  • Page 643: Serial Communication Error Code [D8063]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.2 Details of related devices (RS instruction) 12.2.8 Serial communication error code [D8063] When a serial communication error occurs, this device stores the corresponding error code. 1.
  • Page 644: Communication Format Setting [D8120]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.2 Details of related devices (RS instruction) 12.2.9 Communication format setting [D8120] This device sets the communication format. 1. Detailed contents This device can set the data length, parity, baud rate, etc. The table below shows the contents of the communication format setting.
  • Page 645: Amount Of Data Already Received [D8123]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.2 Details of related devices (RS instruction) 12.2.11 Amount of data already received [D8123] This device stores the amount of data already received. 1. Detailed contents. This device stores the amount of data already received in 8-bit (1 byte) units.
  • Page 646: Operation Mode Display [D8419]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.3 Related Devices (RS2 Instruction) 12.2.16 Operation mode display [D8419] This device stores the communication type being used. 1. Detailed contents This device stores the code of the communication type currently being used by the communication port. The table below shows the contents of the codes.
  • Page 647: Details Of Related Devices (Rs2 Instruction)

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 2. Word devices Device Name Description Serial When the serial communication error flag turns ON, this device D8062 D8063 D8438 communication error stores the corresponding error code.
  • Page 648: Sending Wait Flag [M8371, M8401 And M8421]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.2 Sending wait flag [M8371, M8401 and M8421] These devices remain ON while the PLC is waiting to send. 1.
  • Page 649: Carrier Detection Flag [M8404 And M8424]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.5 Carrier detection flag [M8404 and M8424] These devices turn ON/OFF in synchronization with the CD (DCD) signal. 1.
  • Page 650: Serial Communication Error Code [D8062, D8063 And D8438]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.8 Serial communication error code [D8062, D8063 and D8438] When a serial communication error occurs, these devices store the corresponding error codes. 1.
  • Page 651: Communication Format Setting [D8370, D8400 And D8420]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.9 Communication format setting [D8370, D8400 and D8420] These devices set the communication format. 1. Detailed contents These devices can set the data length, parity, baud rate, etc.
  • Page 652: Amount Of Remaining Send Data [D8372, D8402 And D8422]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.10 Amount of remaining send data [D8372, D8402 and D8422] These devices store the amount of remaining send data. 1.
  • Page 653: Header [D8380, D8381, D8410, D8411, D8430 And D8431]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.14 Header [D8380, D8381, D8410, D8411, D8430 and D8431] These devices set the headers 1, 2, 3 and 4. 1.
  • Page 654: Receiving Sum (Receive Data) [D8384, D8414 And D8434]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.16 Receiving sum (receive data) [D8384, D8414 and D8434] These devices store the received sum check value. 1.
  • Page 655: Operation Mode Display [D8389, D8419 And D8439]

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.4 Details of Related Devices (RS2 Instruction) 12.4.19 Operation mode display [D8389, D8419 and D8439] These devices store the communication type being used. 1. Detailed contents These devices store the code of the communication type currently being used in the communication port.
  • Page 656: Ascii Code Table

    FX Series PLC User's Manual - Data Communication Edition 12 Related Data Non-Protocol Communication (RS/RS2 Instruction) 12.5 ASCII Code Table 12.5 ASCII Code Table The ASCII codes A1 to DF indicate Japanese characters. \ (ASCII CODE:5C) symbol is displayed as "...
  • Page 657 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 658 FX Series PLC User's Manual - Data Communication Edition Non-Protocol Communication (FX -232IF)
  • Page 659: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (FX -232IF) 1.1 Features Outline The communication special function block operating in accordance with RS-232C, FX -232IF (hereafter referred to as "232IF"), is connected to an FX , FX , FX , or FX...
  • Page 660: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (FX -232IF) 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the Non-Protocol Communication (operating in accordance with 232IF) setting procedures up until data link: Non-Protocol Communication(232IF) Refer to Chapter 1.
  • Page 661: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (FX -232IF) 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable versions The communication types are applicable in the following versions. : Applicable (If applicable versions of main units are limited, they are described inside ( ).) :Not applicable —...
  • Page 662: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (FX -232IF) 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable for each FX Series from the version shown: 1. English versions Product name Model name Applicable version...
  • Page 663: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Non-Protocol Communication (FX -232IF) 1.4 Programming Tool Applicability 2. Japanese versions Product name Model name Applicable version Remarks and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J Ver.
  • Page 664: Specification

    FX Series PLC User's Manual - Data Communication Edition 2 Specification Non-Protocol Communication (FX -232IF) 2.1 Communication Specifications Specification This chapter explains the communication specifications. Communication Specifications Non-protocol communication type is used in the communication specifications shown in the table below. Item Specifications Remarks...
  • Page 665: System Configuration And Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (FX -232IF) 3.1 System Configuration System Configuration and Selection This chapter explains the system configuration and selection of the FX PLC and 232IF. System Configuration This section outlines the system configuration required to use the 232IF.
  • Page 666: Connection To Plc

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (FX -232IF) 3.3 Connection to PLC Total extension FX Series Communication equipment (option) Check distance PO W E R 15 m (49' 2") -232IF (9-pin D-Sub, male) PO W E R 15 m...
  • Page 667 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Non-Protocol Communication (FX -232IF) 3.3 Connection to PLC 2. For FX PO W E R PO W E R -48MR/ES -232IF -16EX -232IF X000 to X027 Special block X030 to Special block...
  • Page 668: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (FX -232IF) 4.1 Pin Arrangement Wiring This chapter explains the wiring. Pin Arrangement The table below shows the pin arrangement of the 232IF. Example of applicable connector: 17JE-13090-02 (D8C2) by DDK Ltd. Signal Signal direction 232IF: Pin No.
  • Page 669: Connection To External Equipment With Terminal Specifications (With Control Line)

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Non-Protocol Communication (FX -232IF) 4.3 Connection to External Equipment with Terminal Specifications (with Control Line) Connection to External Equipment with Terminal Specifications (with Control Line) 4.3.1 Standard RS-232C mode Cross cable, BFM #0 (communication format): b9 = 0, b8 = 1 (standard RS-232C mode) When the FX -232IF receives the RS (request...
  • Page 670: Creating Programs

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.1 Outline of Communication between FX PLC and 232IF Creating Programs This chapter explains how to create programs for non-protocol communication type using the 232IF. Outline of Communication between FX PLC and 232IF An FX PLC and 232IF transfer data between each other through the buffer memory (BFM).
  • Page 671: From And To Instructions

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.2 FROM and TO Instructions FROM and TO Instructions This section explains how to use FROM and TO instructions. 5.2.1 FROM instruction FROM instruction reads data of the buffer memory in a special block. 1.
  • Page 672: To Instruction

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.2 FROM and TO Instructions 5.2.2 TO instruction TO instruction writes data to the buffer memory in a special function block. 1. Applicable devices •...
  • Page 673: Direct Specification Of Buffer Memory (UG)

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.3 Direct Specification of Buffer Memory (U  \G  ) Direct Specification of Buffer Memory (U\G) In FX and FX PLCs, one is able to directly specify buffer memories and read/write data from/to the specified buffer memories even with instructions other than the FROM and TO.
  • Page 674: Buffer Memory (Bfm)

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) Buffer Memory (BFM) This section explains the contents of the buffer memory (BFM). 5.4.1 Buffer memory list Name Setting range Initial value Communication format 0087H...
  • Page 675 FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) Name Setting range Initial value #2257 Preliminary receive data buffer for interlink connection mode #2271 R: Read only W: Read or Write Provided for preliminary buffers for the interlink connection mode.
  • Page 676: Communication Format

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.2 Communication format Contents Initial value Data length 7-bit 8-bit 1 : 8-bit (00) : Not provided Parity (01) : Odd (11) : Even (11) : Even...
  • Page 677 FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 1. Communication format Data Select the communication format to be used to send and receive data in Termi- the 232IF from the formats shown to Data nator the right.
  • Page 678 FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5. b13 and b12 (absence/presence of check sum and ASCII-Hexadecimal conversion) The following specification methods are applicable: 1) Neither the check sum nor ASCII-Hexadecimal conversion are provided (b13 = 0, b12 = 0). 2) Only the ASCII-Hexadecimal conversion is provided (b13 = 0, b12 = 1).
  • Page 679 FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 6. b14 (send/receive data buffer data length) The data is handled as shown below according to the buffer data length. 1) 16-bit (b14 = 0) Send/receive data buffer 16-bit data is divided into...
  • Page 680: Command

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.3 Command BFM #1 gives the command for sending or receiving data or resetting the status information to the 232IF. Contents Sending/receiving enable (ER ON) Sending command...
  • Page 681: Maximum Number Of Receivable Bytes

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.4 Maximum number of receivable bytes Setting range: 1 to 512 bytes (when the buffer data length is 16-bit) 1 to 256 bytes (when the buffer data length is 8-bit) "0"...
  • Page 682: Receiving Terminator

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.9 Receiving terminator Setting range: 4 bytes maximum, 0 suppression The initial value is "0"...
  • Page 683: Sending Sum Result

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.13 Sending sum result Initial value: 0 This buffer stores the value of the check sum added to the send data. The sum check target range and check sum calculation method are as shown below.
  • Page 684: Status

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.17 Status Contents Contents Sending complete RS(RTS) Receiving complete ER(DTR) Receiving timeout Undefined Error occurrence Undefined Receiving suspended DR(DSR) Undefined CD(DCD)
  • Page 685: Error Code

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.4 Buffer Memory (BFM) 5.4.18 Error code For the error codes, refer to Section 7.2. 5.4.19 Model code The model code of the 232IF is "K7030". The model code is a specific code assigned to each special extension module.
  • Page 686: Operation Of Control Line

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.5 Operation of Control Line Operation of Control Line 5.5.1 When control line is not provided [BFM #0, (b9, b8) = (0, 0)] Sending/ Set this bit to OFF in the sequence receiving enable program.
  • Page 687: When Control Line Is In Standard Rs-232C Mode [Bfm #0, (B9, B8) = (0, 1)]

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.5 Operation of Control Line 5.5.2 When control line is in standard RS-232C mode [BFM #0, (b9, b8) = (0, 1)] Sending/receiving enable (BFM#1 b0) DR(DSR) Set this bit to OFF in the sequence * Value set by BFM #21...
  • Page 688: When Control Line Is In Rs-232C Interlink Mode [Bfm #0, (B9, B8) = (1, 1)]

    FX Series PLC User's Manual - Data Communication Edition 5 Creating Programs Non-Protocol Communication (FX -232IF) 5.5 Operation of Control Line 5.5.3 When control line is in RS-232C interlink mode [BFM #0, (b9, b8) = (1, 1)] Sending/receiving enable (BFM#1 b0) Set this bit to OFF in the DR(DSR) sequence program.
  • Page 689: Practical Program Examples

    FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.1 Example of Sending/Receiving 16-Bit Buffer Length Data Practical Program Examples Example of Sending/Receiving 16-Bit Buffer Length Data In this example, the 16-bit buffer length data is sent and received between the 232IF and equipment with the terminal specifications.
  • Page 690 FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.1 Example of Sending/Receiving 16-Bit Buffer Length Data 4) Header and terminator BFM #4 and 8 (sending header and receiving header): 02 (STX) BFM #6 and 10 (sending terminator and receiving terminator): 03 (ETX)
  • Page 691 FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.1 Example of Sending/Receiving 16-Bit Buffer Length Data 3. Operation chart BFM#1 b0 Sending/receiving (M0) enable BFM#1 b1 (M1) Sending command 9 8 7 BFM#13 Amount of remaining 4 3 2...
  • Page 692 FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.1 Example of Sending/Receiving 16-Bit Buffer Length Data 4. Sequence program example M8002 FNC 79 The communication format is transferred. H009F (009FH  BFM#0) Initial pulse Block No.
  • Page 693: Sending/Receiving 8-Bit Buffer Length Data

    FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.2 Sending/Receiving 8-Bit Buffer Length Data Sending/Receiving 8-Bit Buffer Length Data In this example, the 8-bit buffer length data is sent and received between the 232IF and equipment with the terminal specifications.
  • Page 694 FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.2 Sending/Receiving 8-Bit Buffer Length Data 5) Status  M10: Sending complete  M18: RS(RTS)  M11: Receiving complete  M19: ER(DTR) ...
  • Page 695 FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.2 Sending/Receiving 8-Bit Buffer Length Data 3. Operation chart BFM#1 b0 Sending/receiving (M0) enable BFM#1 b1 (M1) Sending command 9 8 7 BFM#13 Amount of remaining 4 3 2 send data...
  • Page 696 FX Series PLC User's Manual - Data Communication Edition 6 Practical Program Examples Non-Protocol Communication (FX -232IF) 6.2 Sending/Receiving 8-Bit Buffer Length Data 4. Program example M8002 FNC 79 The communication format is transferred. H409F (409FH  BFM#0) Initial pulse Block No.
  • Page 697: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Non-Protocol Communication (FX -232IF) 7.1 Check Items Troubleshooting Check Items 1) Check the POWER LED of the 232IF. - While the POWER LED is ON, the drive power is being supplied normally. - If the POWER LED is OFF, the drive power is not being supplied normally.
  • Page 698 FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Non-Protocol Communication (FX -232IF) 7.2 Error Codes MEMO G-42...
  • Page 699 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 700 FX Series PLC User's Manual - Data Communication Edition Programming Communication...
  • Page 701: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Programming Communication 1.1 Outline of System Outline This chapter explains programming communication. Outline of System Programming communication transfers programs and monitors devices when a PLC programming tool is connected. 1) A PLC can be directly connected to the RS-232C port in a personal computer with one cable.
  • Page 702: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Programming Communication 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the programming communication setting procedures up until data link: Sequence programming Refer to Chapter 1 Outline of system Outline •...
  • Page 703: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Programming Communication 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable PLC The table below shows communication ports applicable in each PLC. : Applicable (If applicable versions of main units are limited, they are described inside ( ).) —: Not applicable Optional Optional...
  • Page 704: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Programming Communication 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 For applicable versions The programming tool is applicable for each FX Series from the version shown: 1. English versions Product name Model name Applicable version...
  • Page 705 FX Series PLC User's Manual - Data Communication Edition 1 Outline Programming Communication 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks GOT-F900 Series display units F940WGOT-TWD-E F940WGOT-TWD-E (Ver. 1.00 or later) F940GOT-*WD-E F940GOT-LWD-E, F940GOT-SWD-E (Ver. 1.00 or later) F940GOT-*BD-H-E F940GOT-LBD-H-E, F940GOT-SBD-H-E (Ver.
  • Page 706: For Non-Applicable Versions (Setting An Alternative Model)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Programming Communication 1.4 Programming Tool Applicability Product name Model name Applicable version Remarks , FX and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J SW5 A or later FX-PCS/WIN SW0PC-FXGP/WIN Ver.
  • Page 707: System Configuration And Selection

    FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.1 System Configuration System Configuration and Selection This chapter explains the system configuration and selection of communication equipment operating in accordance with RS-422, RS-232C or USB and Ethernet adapter required by FX PLCs. System Configuration This section outlines the system configuration required to use programming communication.
  • Page 708: For Communication Equipment Operating In Accordance With Rs-232C

    FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.1 System Configuration 2.1.2 For communication equipment operating in accordance with RS-232C indicate the communication equipment combination patterns. Total extension Communication equipment operating FX PLC Important point in selection in accordance with RS-232C distance...
  • Page 709: For Ethernet Adapter

    FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.1 System Configuration 2.1.4 For Ethernet adapter indicate the communication equipment combination patterns. Maximum -ENET-ADP FX PLC Important point in selection segment length Attach the connector conversion 100 m board to the main unit, and then (380' 1")
  • Page 710: Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Applicable FX PLC and Communication Equipment Select a communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the outside dimensions and D-SUB connector shape are different between units shown in "FX...
  • Page 711 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -422-BD (8-pin MINI-DIN) 15 m (49' 2") -232-BD (9-pin D-Sub)
  • Page 712 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 50 m (164' 0") -422-BD (8-pin MINI-DIN) 15 m (49' 2") -232-BD (9-pin D-SUB, male)
  • Page 713 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 50 m (164' 0") -422-BD (8-pin MINI-DIN)
  • Page 714 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 50 m (164' 0") -422-BD (8-pin MINI-DIN)
  • Page 715 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 50 m (164' 0") -422-BD (8-pin MINI-DIN)
  • Page 716 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 15 m (49' 2") --BD -232ADP(-MB)
  • Page 717 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232ADP(-MB) (9-pin D-Sub, male)
  • Page 718 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232ADP(-MB) (9-pin D-Sub, male)
  • Page 719 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 50 m (164' 0") -422-BD (8-pin MINI-DIN)
  • Page 720 FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.2 Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 15 m (49' 2") --BD -232ADP(-MB)
  • Page 721: Caution On Selection

    FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.3 Caution on Selection Caution on Selection Some caution should be observed when using a programming tool with optional FX PLC communication equipment. Consider the following contents during selection. 2.3.1 When using 422BD 1.
  • Page 722: When Using 232Bd Or 232Adp

    FX Series PLC User's Manual - Data Communication Edition 2 System Configuration and Selection Programming Communication 2.3 Caution on Selection 3. Connection of the FX-2PIF The FX-2PIF cannot be connected to the 422BD. Connect it to the standard port. 2.3.2 When using 232BD or 232ADP When the 232BD or 232ADP is attached to a PLC, it consumes the current shown in the table below.
  • Page 723: Selecting Connection Cables

    FX Series PLC User's Manual - Data Communication Edition 3 Selecting Connection Cables Programming Communication 3.1 Connection Procedure Selecting Connection Cables This chapter explains the connection cable selection method. Connection Procedure Checking the connector shape Check the shape (male or female, etc.) of the connector of the connected programming tool (such as personal computer) and the shape of the connector of the PLC, and verify that connection is possible.
  • Page 724: Connector Shape In Each Product

    FX Series PLC User's Manual - Data Communication Edition 3 Selecting Connection Cables Programming Communication 3.2 Connector Shape in Each Product Connector Shape in Each Product Model name (series) Connector shape Model name (series) Connector shape Handy programming panel FX-10P(-E), , FX (FX) and FX FX-10P-SET0(-E),...
  • Page 725: Combinations Of Connection Cables

    FX Series PLC User's Manual - Data Communication Edition 3 Selecting Connection Cables Programming Communication 3.3 Combinations of Connection Cables Combinations of Connection Cables 3.3.1 Handy programming panel Programming tool PLC connector Cable Cable combination connector shape shape length Standard built-in port -422-BD -422-BD -422-BD...
  • Page 726: Personal Computer

    FX Series PLC User's Manual - Data Communication Edition 3 Selecting Connection Cables Programming Communication 3.3 Combinations of Connection Cables 3.3.2 Personal computer Programming tool PLC connector Cable Cable combination connector shape shape length Standard built-in port -422-BD -422-BD RS-422 RS-232C -422-BD -422-BD...
  • Page 727 Maxi- USB A connector Standard built-in port GT09-C30USB-5P [3 m (9' 10")]... sold separately (9' 10") USB Mini-B To be purchased from Mitsubishi Electric System & Service connector MR-3JUSBCBL3M [3m (9' 10")]...sold separately Ethernet Ethernet PC-AT compatible -ENET-ADP machine...
  • Page 728 FX Series PLC User's Manual - Data Communication Edition 3 Selecting Connection Cables Programming Communication 3.3 Combinations of Connection Cables Programming tool PLC connector Cable Cable combination connector shape shape length Standard built-in port -422-BD -422-BD RS-422 RS-232C -422-BD -422-BD 4.5 m -232CAB-2 [3 m (9' 10")] FX-422CAB0...
  • Page 729 FX Series PLC User's Manual - Data Communication Edition 3 Selecting Connection Cables Programming Communication 3.3 Combinations of Connection Cables Programming tool PLC connector Cable Cable combination connector shape shape length Standard built-in port -422-BD -422-BD RS-422 RS-232C -422-BD -422-BD 4.5 m -232CAB [3 m (9' 10")] (14' 9")
  • Page 730: Connection Cables And Interfaces

    FX Series PLC User's Manual - Data Communication Edition 4 Connection Cables and Interfaces Programming Communication 4.1 Simplified Tables Connection Cables and Interfaces Simplified Tables 4.1.1 Cable connector shape correspondence table From the shape of connectors at both ends of a cable, the cable model name can be known. A Side B Side B Side...
  • Page 731: Cable Combination Simplified Table

    FX Series PLC User's Manual - Data Communication Edition 4 Connection Cables and Interfaces Programming Communication 4.1 Simplified Tables 4.1.2 Cable combination simplified table From the shape of the programming tool connector and PLC connector, combinations of the cable, converter and communication equipment can be checked.
  • Page 732 FX Series PLC User's Manual - Data Communication Edition 4 Connection Cables and Interfaces Programming Communication 4.1 Simplified Tables Interface RS-422 RS-232C Ethernet FX-20P-CAB0 FX-20P-CAB — — — — FX-20P-CAB 8-pin MINI-DIN, FX-20P-CADP female USB cable (included) FX-USB-AW GT09-C30USB-5P — —...
  • Page 733: Cable Connection Diagrams

    FX Series PLC User's Manual - Data Communication Edition 4 Connection Cables and Interfaces Programming Communication 4.2 Cable Connection Diagrams Cable Connection Diagrams This section explains cable connection diagrams required for connection. 4.2.1 Personal computer connection cable - No. A The connector shape indicates the engagement surface.
  • Page 734 FX Series PLC User's Manual - Data Communication Edition 4 Connection Cables and Interfaces Programming Communication 4.2 Cable Connection Diagrams The connector shape indicates the engagement surface. : Female type : Male type Cable model name Application Connection diagram Application RS-232C Personal computer connection...
  • Page 735: Connector Conversion Cable (Commercial Product) - No. B

    FX Series PLC User's Manual - Data Communication Edition 4 Connection Cables and Interfaces Programming Communication 4.2 Cable Connection Diagrams 4.2.2 Connector conversion cable (commercial product) - No. B The connector shape indicates the engagement surface. : Female type : Male type Cable model name Application Connection diagram...
  • Page 736: Communication Setting (Initialization) In Fx Programmable Controller

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller Programming Communication 5.1 Check Procedure Communication Setting (Initialization) in FX Programmable Controller This chapter explains the communication setting method for executing programming communication using optional communication equipment operating in accordance with RS-422, RS-232C or USB.
  • Page 737: Communication Setting Using Parameter Method (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller Programming Communication 5.2 Communication Setting Using Parameter Method (GX Works2) Communication Setting Using Parameter Method (GX Works2) Communication settings may be changed via the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 738: Communication Setting Using Parameter Method (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 5 Communication Setting (Initialization) in FX Programmable Controller Programming Communication 5.3 Communication Setting Using Parameter Method (FXGP/WIN) Communication Setting Using Parameter Method (FXGP/WIN) Communication settings may be changed via the parameter method with GX Works2, GX Developer, FXGP/WIN for Windows and FX-30P handy programming panel.
  • Page 739: Connection Setting For Personal Computer

    FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.1 Connection Setting (GX Works2) Connection Setting for Personal Computer This chapter explains the setting method for connecting a personal computer and a PLC. GX Works2, GX Developer and FXGP/WIN for Windows, are applicable.
  • Page 740: Setting Rs-232C Or Usb, Communication Port, And Transmission Speed

    FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.1 Connection Setting (GX Works2) 6.1.1 Setting RS-232C or USB, communication port, and transmission speed The setting procedures for RS-232C/USB, communication port and transmission speed are described below: For details on GX Developer operating procedure, refer to GX Developer Operating Manual.
  • Page 741 FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.1 Connection Setting (GX Works2) Setting the communication port and transmission speed (when "RS-232C" is selected in the step 2) Set these items according to the connection status. COM port: Select the communication port in the personal computer to be used (among COM1 to COM63).
  • Page 742: Setting For Using Got Transparent Function

    FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.1 Connection Setting (GX Works2) 6.1.2 Setting for using GOT transparent function Arrange the setting in accordance with the connection status of the used equipment. This subsection explains the setting when the GOT and PLC are directly connected (by serial connection).
  • Page 743: Setting Communication Time Check And Number Of Retries

    FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.1 Connection Setting (GX Works2) 6.1.3 Setting communication time check and number of retries The setting procedure for the communication time check and number of retries is described below: For details on GX Developer operating procedure, refer to GX Developer Operating Manual.
  • Page 744: Connection Setting (Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.2 Connection Setting (FXGP/WIN) Connection Setting (FXGP/WIN) FXGP/WIN, Windows software for personal computers, has the following set items. Set each item according to the connection status. •...
  • Page 745: Communication Test (Gx Works2)

    FX Series PLC User's Manual - Data Communication Edition 6 Connection Setting for Personal Computer Programming Communication 6.3 Communication Test (GX Works2) Communication Test (GX Works2) GX Works2, Windows software for personal computers, has a function to test communication with PLC. Execute the communication test using the following procedure: This section explains the method using GX Works2.
  • Page 746: Troubleshooting

    FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Programming Communication 7.1 Checking PLC Version Applicability Troubleshooting This chapter explains troubleshooting. Checking PLC Version Applicability When executing programming communication using an FX PLC and communication equipment operating in accordance with RS-422 or RS-232C, verify that the FX PLC is an applicable version.
  • Page 747 FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Programming Communication 7.6 Checking Sequence Program 2. Ethernet port setting (in FX , FX , FX , FX and FX PLCs) Verify that the same channel is not used in the Ethernet port setting. Do not set the channel used in programming communication.
  • Page 748: Checking Programming Tool Setting

    FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Programming Communication 7.7 Checking Programming Tool Setting Checking Programming Tool Setting Verify that the setting contents in the programming tool are correct. 1. Checking the communication port Verify that the communication port is set correctly. 2.
  • Page 749: Operation Mode Display [D8419 And D8439] (Fx 3S , Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Programming Communication 7.9 Operation mode display [D8419 and D8439] (FX3S, FX3G, FX3GC, FX3U, FX3UC) 4. Checking the error code D8063 and D8438 store either of the following error codes: Error code Contents of error D8063 (ch1) D8438 (ch2)
  • Page 750 FX Series PLC User's Manual - Data Communication Edition 7 Troubleshooting Programming Communication 7.9 Operation mode display [D8419 and D8439] (FX3S, FX3G, FX3GC, FX3U, FX3UC) MEMO H-52...
  • Page 751 This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 752: Fx Series Plc User's Manual - Data Communication Edition Remote Maintenance

    FX Series PLC User's Manual - Data Communication Edition Remote Maintenance...
  • Page 753: Outline

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.1 Outline of System Outline This chapter explains remote maintenance. Outline of System Remote maintenance performs program transfer and device monitoring using Windows programming software with a PLC connected to the telephone line by way of a modem. 1.1.1 Maintenance for programs in PLC 1) Sequence programs can be changed by transferring and writing programs during RUN.
  • Page 754: File Transfer Between Personal Computers (Supported Only By Fxgp/Win)

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.1 Outline of System 1.1.2 File transfer between personal computers (supported only by FXGP/WIN) This manual does not describe the operating procedure for this function, but the modem setting contents and setting procedure in personal computers can be used as reference.
  • Page 755: Procedures Before Operation

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.2 Procedures Before Operation Procedures Before Operation The flow chart below shows the remote maintenance setting procedures up until communication: Remote maintenance Refer to Chapter 1 Outline of system Outline ...
  • Page 756: Communication Type Applicability In Plc

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.3 Communication Type Applicability in PLC Communication Type Applicability in PLC 1.3.1 Applicable versions The communication types are applicable in the following versions. : Applicable —: Not applicable Applicability Remarks Series...
  • Page 757: Programming Tool Applicability

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.4 Programming Tool Applicability Programming Tool Applicability 1.4.1 Programming tool for setting modem connected to PLC The tables below show programming tools applicable for modem setting using parameters and sequence programs.
  • Page 758 FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.4 Programming Tool Applicability 2. Japanese versions Product name Model name Applicable version Remarks and FX PLCs GX Works2 SWDNC-GXW2-J Ver. 1.07H or later GX Developer SWD5C(F)-GPPW-J Ver.
  • Page 759 FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.4 Programming Tool Applicability In the case of non-applicable versions (setting an alternative model) For FX , FX and FX PLCs, it is not possible to create programs using programming tools of inapplicable versions.
  • Page 760 FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.4 Programming Tool Applicability 2. Japanese versions Product name Version allowing Setting an Model to be (Model name is shown setting of alternative alternative Remarks programmed below.) model model GX Developer...
  • Page 761: Programming Software For Remote Maintenance

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.4 Programming Tool Applicability 1.4.2 Programming software for remote maintenance The table below shows programming software for the personal computer which uses remote access. For the applicability of programming tools for setting the modem, refer to Subsection 1.4.1. In the case of applicable versions The programming software is applicable from the following versions: 1.
  • Page 762: Cautions On Using Fxgp/Win

    FX Series PLC User's Manual - Data Communication Edition 1 Outline Remote Maintenance 1.4 Programming Tool Applicability In the case of non-applicable versions A non-applicable programming software version cannot offer remote maintenance. If your programming software is a non-applicable version, upgrade versions. To upgrade versions, contact your dealer.
  • Page 763: Item

    FX Series PLC User's Manual - Data Communication Edition 2 Specifications Remote Maintenance 2.1 Communication Specifications (Reference) Specifications This chapter explains the communication specifications and performance. Communication Specifications (Reference) Communication is executed according to the (fixed) specifications shown in the table below. Specification items such as baud rate cannot be changed.
  • Page 764: System Configuration And Selection

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.1 System Configuration System Configuration and Selection This chapter explains the configuration of communication equipment operating in accordance with RS-232C and selection of the system required by FX PLCs. System Configuration This section outlines the system configuration required to use remote maintenance.
  • Page 765: Setting Applicable Fx Plc And Communication Equipment

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.2 Setting Applicable FX PLC and Communication Equipment Setting Applicable FX PLC and Communication Equipment Select a communication equipment combination, and put a check mark in the "Check" column. During selection, pay attention to the following: - In the table below, only the outside dimensions and D-SUB connector shape are different between units shown in "FX...
  • Page 766 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.2 Setting Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance 15 m (49' 2") -232-BD (9-pin D-Sub, male) 15 m (49' 2") -232ADP(-MB)
  • Page 767 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.2 Setting Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 15 m (49' 2") -232-BD (9-pin D-Sub, male)
  • Page 768 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.2 Setting Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 2 (ch 2) 15 m (49' 2") --BD -232ADP(-MB)
  • Page 769 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.2 Setting Applicable FX PLC and Communication Equipment Total extension FX Series Communication equipment (option) Check distance When using channel 1 (ch 1) 15 m (49' 2") -232ADP(-MB) (9-pin D-Sub, male)
  • Page 770: Baud Rate

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.3 Selecting Modem Selecting Modem In FX PLCs, the modems PV-AF288 (manufactured by AIWA CO., LTD.) and ME3314B (manufactured by OMRON Corporation) are applicable. When "user registration mode", "PP modem mode (ch1)", or "PP modem mode (ch2)"...
  • Page 771: List Of Modems Whose Operations Are Confirmed

    FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.3 Selecting Modem 3.3.1 List of modems whose operations are confirmed The tables below show already tested modems and their associated AT command. 1. Modem on the PLC side The PLC has a command to initialize the PV-AF288 (manufactured by AIWA CO., LTD.) and ME3314B (manufactured by OMRON Corporation).
  • Page 772 FX Series PLC User's Manual - Data Communication Edition 3 System Configuration and Selection Remote Maintenance 3.3 Selecting Modem 2. Modem on the personal computer side for remote access The table below shows modems whose operations are already confirmed. Input and set the AT command shown below using a programming tool in the personal computer on the remote access side.
  • Page 773: Wiring

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Remote Maintenance 4.1 Wiring Procedure Wiring This chapter explains the wiring. Wiring Procedure Turning OFF the PLC power Before starting any wiring work, make sure that the PLC power is OFF. Checking the connector shape When a cable is included with the modem, check the shape of the RS-232C connector in the personal computer to be connected, the shape of the connector in the communication equipment...
  • Page 774: Connection Diagram

    FX Series PLC User's Manual - Data Communication Edition 4 Wiring Remote Maintenance 4.2 Connection Diagram Connection Diagram 1. To connect the modem, use a cable included with the modem or cable described in the modem manual. Remote access Line general telephone Cable line, etc.
  • Page 775: How To Setup Modems On The Plc Side

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 How to Setup Modems on the PLC Side This chapter explains how to set parameters for initialization using the AT command and set the communication specifications including the transmission speed for a modem connected to the PLC.
  • Page 776 FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 Checking the serial communication (parameter) setting Click the [PLC System(2)] tab on the dialog box. Make sure that the "Operate Communication Setting"...
  • Page 777: Modem Initialization Setting Using Parameter Method

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 5.1.2 Modem initialization setting using parameter method This subsection explains how to select the AT command for initialization registered in the PLC and how to set the AT command for an unregistered modem.
  • Page 778 FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 Modem model Set item Description Manufacturer name Select this item when remote maintenance is None —...
  • Page 779: Setting At Command For Unregistered Modem

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 5.1.3 Setting AT command for unregistered modem Only when "MODEM Initialized" is set to "User Register Mode", "PP Modem Mode (CH1)", or "PP Modem Mode (CH2)", execute the following setting.
  • Page 780 FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 Displaying the device list Select "Input Device" on the Edit menu to display the Input Device dialog box. Set "Device", "Range", "Display Mode"...
  • Page 781 FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 Inputting the AT command Input the AT command to D1000 (D200 For FX and FX PLCs) and later.
  • Page 782 FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.1 Setting Using GX Works2 Inputting "CR" and "LF" It is necessary to input "CR" and "LF" at the end of the AT command. Input "0D"...
  • Page 783: Setting Using Fxgp/Win

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.2 Setting Using FXGP/WIN Setting Using FXGP/WIN This section explains the modem initialization setting and communication setting methods. 5.2.1 Setting communication by way of RS-232C port It is not necessary to set the serial communication with a modem.
  • Page 784: Modem Initialization Setting Using Parameter Method

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.2 Setting Using FXGP/WIN 5.2.2 Modem initialization setting using parameter method This subsection explains how to select the AT command for initialization registered in advance in the PLC and how to set the AT command for an unregistered modem.
  • Page 785: Setting At Command For Unregistered Modem

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.2 Setting Using FXGP/WIN 5.2.3 Setting AT command for unregistered modem Modem initialize Only when "User entry mode" is selected in " ", execute the following setting.
  • Page 786 FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.2 Setting Using FXGP/WIN Inputting the AT command Input the AT command to the "ASCII" column of D1000 and later. Input one (half-width) character to one word.
  • Page 787: Cautions On Use

    FX Series PLC User's Manual - Data Communication Edition 5 How to Setup Modems on the PLC Side Remote Maintenance 5.3 Cautions on Use Inputting "CR" and "LF" It is necessary to input "CR" and "LF" at the end of the AT command. Input "000D"...
  • Page 788: How To Setup Modems On The Pc Side For Remote Access

    FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.1 Setting Using GX Works2 How to Setup Modems on the PC Side for Remote Access This chapter explains how to set a modem connected to the personal computer for remote access. The setting method using GX Works2 and the setting method using FXGP/WIN are explained respectively.
  • Page 789 FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.1 Setting Using GX Works2 Registering the AT command for the connected modem Select "Modem at MELSOFT Application Side" in the project tree, and click the [New AT Command] button.
  • Page 790: Creating Telephone Directory (If Necessary)

    FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.1 Setting Using GX Works2 6.1.2 Creating telephone directory (if necessary) This subsection explains the method to register the telephone number of the counterpart (line connected to the modem of the desired PLC).
  • Page 791 FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.1 Setting Using GX Works2 Selecting a group name to which the counterpart telephone number will be registered Click and select an already created group name (example: A Corporation).
  • Page 792: Setting Using Fxgp/Win

    FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.2 Setting Using FXGP/WIN Setting Using FXGP/WIN This section explains the line connection method using FXGP/WIN. 6.2.1 Registering AT command for connected modem This subsection explains how to register the AT command for initializing a modem connected to the personal computer for remote access.
  • Page 793 FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.2 Setting Using FXGP/WIN Newly creating the AT command for the modem Click the [New Entry] button. Input "Name"...
  • Page 794 FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.2 Setting Using FXGP/WIN 3. Setting contents of the AT command When the PLC power is turned ON, the PLC sends the AT command to the modem to initialize the modem. For reference, the table below shows the set items and setting contents of the AT commands for modems which are registered in advance in FXGP/WIN.
  • Page 795: Registering Line Connection Destination

    FX Series PLC User's Manual - Data Communication Edition 6 How to Setup Modems on the PC Side for Remote Access Remote Maintenance 6.2 Setting Using FXGP/WIN 6.2.2 Registering line connection destination This subsection explains how to register the telephone number of the line connection destination (line connected to the modem of the desired PLC).
  • Page 796: Preparing For Connection Of Plc

    FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.1 Preparing for Connection of PLC Connecting Line This chapter explains the line connection procedure for remote maintenance. Preparing for Connection of PLC For remote maintenance, it is necessary to properly establish the modem-to-PLC connection. Set the PLC using the following procedure.
  • Page 797: Line Connection Procedure

    FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure Line Connection Procedure This section explains the procedure to connect a personal computer to a PLC using a telephone line. The connection procedure varies depending on the software used. Connect a telephone line suitable to the software used.
  • Page 798 FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure Setting the connection destination Set the telephone number of the counterpart (line number of the modem connected to the desired PLC). When a telephone number has been set in advance in the telephone directory, it can be set using the [Browse] button.
  • Page 799 FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure Checking the line connection status 1. When the line is connected When the line is connected, the connection status shown below is displayed on the Line Connection dialog box.
  • Page 800 FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure Executing remote maintenance Read and write sequence programs, and monitor devices. Disconnecting the line To disconnect the line, select [Tools]  [Set TEL Data/Connect via Modem]  [Line Disconnection] from the menu bar.
  • Page 801: For Fxgp/Win

    FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure 7.2.2 For FXGP/WIN This subsection explains the line connection procedure using FXGP/WIN. Prepare for connection of the PLC, connect a modem to the communication port in the personal computer, and then start up FXGP/WIN. Setting the modem to be used Select [Remote] ...
  • Page 802 FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure Executing manual connection Click the [Manual] button to display the following dialog box. Set "Name" and "Phone", and click the [OK] button. Checking the line connection status When the [OK] button is clicked, the following dialog box appears.
  • Page 803 FX Series PLC User's Manual - Data Communication Edition 7 Connecting Line Remote Maintenance 7.2 Line Connection Procedure Executing remote maintenance Read and write sequence programs, and monitor devices. Disconnecting the line To disconnect the line, select [Remote]  [Disconnect] from the toolbar. When the following dialog box appears, click the [Yes] button to disconnect the line.
  • Page 804: Checking Fx Plc Applicability

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Remote Maintenance 8.1 Checking FX PLC Applicability Troubleshooting This chapter explains troubleshooting. Checking FX PLC Applicability Verify that the FX PLC main unit version is applicable to remote maintenance. For the version applicability check, refer to Section 1.3.
  • Page 805: Half-Duplex, Asynchronous System

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Remote Maintenance 8.5 Checking Modem Specifications Checking Modem Specifications In a modem in which the following communication specifications are not applicable, remote maintenance can be used. Check the modem specifications. 1.
  • Page 806: Checking At Command Setting

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Remote Maintenance 8.6 Checking Setting in PLC 8.6.2 Checking AT command setting The AT command is required when "user registration mode", "PP modem mode (ch 1)" or "PP modem mode (ch 2)"...
  • Page 807: Checking Sequence Program

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Remote Maintenance 8.6 Checking Setting in PLC 8.6.3 Checking sequence program 1. Checking the contents of the communication setting Verify that no communication format (D8120, D8400, D8420), N:N Network: D8176 to D8180, and Parallel Link: M8070 and M8071) is being used in the sequence program.
  • Page 808: Checking Programming Tool Setting

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Remote Maintenance 8.7 Checking Programming Tool Setting Checking Programming Tool Setting Verify that the setting contents in the programming tool are correct. 1. Checking the telephone number Verify that the telephone number of the connection destination is set correctly. 2.
  • Page 809: Operation Mode Display [D8419 And D8439] (Fx 3S , Fx 3G , Fx 3Gc , Fx 3U , Fx 3Uc )

    FX Series PLC User's Manual - Data Communication Edition 8 Troubleshooting Remote Maintenance 8.9 Operation mode display [D8419 and D8439] (FX3S, FX3G, FX3GC, FX3U, FX3UC) Operation mode display [D8419 and D8439] , FX , FX , FX , FX These devices store the communication type being used. 1.
  • Page 810: Ascii Code Table

    FX Series PLC User's Manual - Data Communication Edition 9 Related Information Remote Maintenance 9.1 ASCII Code Table Related Information ASCII Code Table 1. ASCII code table (7-bit code expressed in hexadecimal) Hexadecimal SOH DC1 STX DC2 ” ETX DC3 EOT DC4 ENQ NAK ACK SYN...
  • Page 811 FX Series PLC User's Manual - Data Communication Edition Appendix A: Discontinued models Discontinued models Appendix A: Discontinued models The table below shows discontinued models of MELSEC-F Series PLCs and programming tools described in this manual. Discontinued model Production stop date Repair acceptance period June 30, 2002 Until June 30, 2009...
  • Page 812 FX Series PLC User's Manual - Data Communication Edition Appendix A: Discontinued models Discontinued models Discontinued model Production stop date Repair acceptance period FX-20DU(-E) June 30, 2008 Until June 30, 2015 FX-20DU-CAB0 June 30, 2008 Until June 30, 2015 FX-25DU September 30, 2002 Until September 30, 2009 FX-30DU(-B)
  • Page 813: Appendix A: Discontinued Models Apx

    FX Series PLC User's Manual - Data Communication Edition Appendix A: Discontinued models Discontinued models MEMO Apx.A Apx.-3...
  • Page 814 FX Series PLC User's Manual - Data Communication Edition Warranty Warranty Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range 2. Onerous repair term after discontinuation of If any faults or defects (hereinafter "Failure") found to be production the responsibility of Mitsubishi occurs during use of the Mitsubishi shall accept onerous product repairs for...
  • Page 815 FX Series PLC User's Manual - Data Communication Edition Revised History Revised History Date Revision Description 7/2005 First Edition 2/2006 • The status of the DR (DSR) signal is made checkable when RS2 (serial data transfer 2) is in operation. •...
  • Page 816 FX Series PLC User's Manual - Data Communication Edition Revised History Date Revision Description 9/2013 • FX -485-BD-RJ is added to system configurations. • Discontinued models are added. • The addition and the change of other coverage. • Clerical error is modified. 4/2015 •...
  • Page 818 FX SERIES PROGRAMMABLE CONTROLLERS USER'S MANUAL Data Communication Edition HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN FX-U-COMMU-E MODEL 09R715 MODEL CODE JY997D16901P Effective November 2017 (MEE) Specifications are subject to change without notice.

Table of Contents