Download Print this page
   
1
2
3
4
5
6
7
Table of Contents
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

Advertisement

MELSEC iQ-F
FX5 User's Manual (Application)

Advertisement

   Summary of Contents for Mitsubishi Electric FX5

  • Page 1

    MELSEC iQ-F FX5 User's Manual (Application)

  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before use.) Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety in order to handle the product correctly. This manual classifies the safety precautions into two categories: [ WARNING] and [ CAUTION].

  • Page 4

    [DESIGN PRECAUTIONS] CAUTION ● After the CPU module is powered on or is reset, the time taken to enter the RUN status varies depending on the system configuration, parameter settings, and/or program size. Design circuits so that the entire system will always operate safely, regardless of this variation in time. [INSTALLATION PRECAUTIONS] CAUTION ●...

  • Page 5

    [STARTUP AND MAINTENANCE PRECAUTIONS] WARNING ● Do not touch any terminal while the PLC's power is on. Doing so may cause electric shock or malfunctions. ● Before modifying the program in operation, forcible output, running or stopping the PLC, read through this manual carefully, and ensure complete safety.

  • Page 6: Introduction

    INTRODUCTION This manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use and operation of the FX5 Programmable Controllers and should be read and understood before attempting to install or use the module.

  • Page 7

    MEMO...

  • Page 8: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 INTRODUCTION .

  • Page 9: Table Of Contents

    CHAPTER 6 SCAN MONITORING FUNCTION Scan time monitoring time setting............55 Resetting of the watchdog timer .

  • Page 10: Table Of Contents

    10.8 Examples of Program ..............87 System configuration example .

  • Page 11: Table Of Contents

    CHAPTER 17 MEMORY CARD FUNCTION 17.1 SD Memory Card Forced Stop ............122 17.2 Boot Operation .

  • Page 12: Table Of Contents

    20.4 Flow of Data Collection ..............152 Effect on the scan time .

  • Page 13: Table Of Contents

    High-speed comparison table ............. . 204 Multiple point output, high-speed comparison tables .

  • Page 14: Table Of Contents

    List of Special relays/special registers............291 Details of special relays/special registers .

  • Page 15: Table Of Contents

    Hexadecimal constant (H) ..............318 Real constant (E).

  • Page 16: Relevant Manuals

    Functions and programming for the synchronous control of the Simple Motion Synchronous Control) module. <IB0300255> MELSEC iQ-F FX5 User's Manual (Analog Control - CPU module built- Describes the analog function of the CPU module built-in and the analog adapter. in, Expansion adapter) <JY997D60501>...

  • Page 17: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. For details on the FX3 devices that can be connected with the FX5, refer to the User’s Manual (Hardware) of the CPU module to be used. Terms Description ■Devices Generic term for FX5U and FX5UC PLCs...

  • Page 18

    Abbreviation of Secure Digital Memory Card. Device that stores data using flash memory. Peripheral device Generic term for engineering tools and GOTs Generic term for Mitsubishi Electric Graphic Operation Terminal GOT1000 and GOT2000 series ■Software packages Engineering tool The product name of the software package for the MELSEC programmable controllers...

  • Page 19: Part 1 Programming

    PART 1 PROGRAMMING This part consists of the following chapters. 1 PROGRAM EXECUTION 2 PROCESSING OF OPERATIONS ACCORDING TO CPU MODULE OPERATION STATUS 3 CPU MODULE MEMORY CONFIGURATION...

  • Page 20: Chapter 1 Program Execution

    PROGRAM EXECUTION Scan Configuration The configuration of the scan of the CPU module is explained below. Inside the CPU module Scan configuration Initial processing/RUN time initialization processing I/O refresh Program operations END processing Initial processing and initialization processing in RUN mode Initial processing according to CPU module status and initialization processing in the RUN status are explained below.

  • Page 21: I/o Refresh

    I/O refresh Execute I/O refresh before starting program operations. • Input ON/OFF data input from input module/intelligent function module to CPU module • Output ON/OFF data input from CPU module to output module/intelligent function module When executing constant scan, I/O refresh is executed after the constant scan waiting time ends. Program operations Step 0 of each program up to the END/FEND instruction is executed according to program settings.

  • Page 22: Scan Time

    Scan Time The CPU module repeats the following processing. The scan time is the sum total of each process and execution time. RUN time RUN time initialization processing*1 I/O refresh Program operations Scan time END processing *1 This process is included in the initial scan time. Initial scan time This refers to the initial scan time when the CPU module is in the RUN mode.

  • Page 23: Program Execution Sequence

    Program Execution Sequence When the CPU module enters the RUN status, the programs are executed successively according to the execution type of the programs and execution order setting. STOP/PAUSE→RUN Does an initial Exists execution type program exist? Does not exist Standby type Initial execution program...

  • Page 24: Execution Type Of Program

    Execution Type of Program Set the program execution conditions. Initial execution type program This program type is executed only once when the CPU module changes from the STOP/PAUSE to the RUN status. This program type is used for programs, that do not need to be executed from the next scan once they are executed, like initial processing on an intelligent function module.

  • Page 25: Scan Execution Type Program

    Scan execution type program This program type is executed only once per scan from the scan following the scan where an initial execution type program was executed. STOP/PAUSE→RUN 1st scan 2nd scan 3rd scan 4th scan END processing Initial execution type program Scan execution type program A Scan execution type program B Scan execution type program C...

  • Page 26

    Make the following settings for fixed scan execution type program in CPU parameter. • Interrupt pointer setting (Interrupt from internal timer: I28 to I31) • Fixed scan interval setting Interrupt pointer setting The interrupt pointer (Interrupt from internal timer: I28 to I31) assigned to a fixed scan execution type program is set up. Navigation window ...

  • Page 27

    Action when the execution condition is satisfied Performs the following action. ■If the execution condition is satisfied before the interrupt is enabled by the EI instruction The program enters the waiting status and is executed when the interrupt is enabled. Note that if the execution condition for this fixed scan execution type program is satisfied more than once during the waiting status, the program is executed only once when the interrupt is enabled.

  • Page 28

    Processing when the fixed scan execution type program starts The same processing as when the interrupt program starts. (Page 38 Processing at startup of interrupt program) Fixed scan execution mode If execution condition for a fixed scan execution type program and fixed cycle interrupt (I28 to I31) based on the internal timer of the CPU module is satisfied while interruption is disabled, the operation of the program execution after interruption becomes allowed is specified.

  • Page 29

    ■Fixed scan execution mode setting Use the fixed scan execution mode setting. Navigation window  [Parameter]  [FX5UCPU]  [CPU Parameter]  "Interrupt Settings"  "Fixed Scan Execution Mode Setting" Window Displayed items Item Description Setting range Default Fixed Scan Execution For Precede Fixed Scan, the periodicity of the program is maintained.

  • Page 30: Event Execution Type Program

    Event execution type program Execution of this program type is triggered by a user-specified event. (Page 28 Trigger type) STOP/PAUSE→RUN 1st scan 2nd scan 3rd scan 4th scan 5th scan Execution order I60 interrupt occurs Scan execution type program A Scan execution type program B Event execution type program C (Executed when Y50 turns ON)

  • Page 31

    ■Bit data ON (TRUE) When it is the turn of the corresponding program to be executed, the program is executed if the specified bit data is ON. This eliminates the need for creating a program for monitoring triggers in a separate program. After the specified bit data changes from ON (TRUE) to OFF (FALSE) and it is the turn of the corresponding event execution type program to be executed, output (Y) currently used in the corresponding program and the current values of timer (T) can be cleared.

  • Page 32

    ■Elapsed time The program is executed once when it is the turn of the corresponding program to be executed first after the CPU module is run and the specified time has elapsed. For second execution onwards, the time is re-calculated from the start of the previous event execution type program.

  • Page 33: Stand-by Type Program

    Displayed items Item Description Setting range Default Interruption Occurrence Sets the interrupt pointer used as the trigger. I0 to I23, I50 to I177  Page 29 Bit data ON (TRUE)  ON of Bit Data (TRUE) Sets the device used as the trigger. Clear Output and Current Value of Timer Sets that the current values of the output (Y), and timer (T) •...

  • Page 34: Program Type

    Program Type Programs that use pointers (P) or interrupt pointers (I) are explained below. Subroutine program This is the program from pointer (P) up to the RET instruction. Subroutine programs are executed only when they are called by the CALL instruction. Pointer type labels also can be used instead of pointers (P). The applications of subroutine programs are as follows: •...

  • Page 35: Interrupt Program

    Interrupt program This is the program from interrupt pointer (I) up to the IRET instruction. Main routine program Indicates the end of the main routine program. FEND I0 interrupt program IRET I29 interrupt program IRET Interrupt pointer When an interrupt is generated, the interrupt program corresponding to that interrupt pointer number is executed. Note, however, that interrupt enabled status must be set with the EI instruction before executing the interrupt program.

  • Page 36

    Operation when an interrupt is generated Operation when an interrupt is generated is explained below. ■If an interrupt cause occurs when interrupt is disabled (DI) The interrupt that was generated is stored, and the stored interrupt program is executed the moment that the status changes to interrupt enabled.

  • Page 37

    ■When multiple interrupts are generated at the same time while in an interrupt enabled status Interrupt programs are executed in order starting from program having the highest priority. Interrupt programs also run in order of priority rank when multiple interrupt programs having the same priority are generated simultaneously. Simultaneous occurrence of multiple interrupt factors Enable Interrupt (EI)

  • Page 38

    ■If an interrupt cause with the same or a lower priority occurs while the interrupt program is being executed • For I0 to I23 and I50 to I177 The occurred interrupt cause is memorized, and the interrupt program corresponding to the factor will be executed after the running interrupt program finishes.

  • Page 39

    ■If the same interrupt cause occurs while the interrupt program is being executed • For I0 to I23 and I50 to I177 The interrupt cause that occured is memorized, and the interrupt program corresponding to the cause will be executed after the running interrupt program finishes.

  • Page 40

    Processing at startup of interrupt program Processing is as follows when an interrupt program is started up. • Purge/restore of index registers (Z, LZ) ■Purge/restore of index registers (Z, LZ) When an interrupt program is started up, the values of the index registers (Z, LZ) in the currently executing program are purged, and those values are handed over to the interrupt program.

  • Page 41: Chapter 2 Processing Of Operations According To Cpu Module Operation Status

    PROCESSING OF OPERATIONS ACCORDING TO CPU MODULE OPERATION STATUS The CPU module has three operation statuses as follows: • RUN status • STOP status • Paused Processing of operations on the CPU module in each status is explained below. Processing of operations in RUN status In the RUN mode, operations in the sequence program are executed repeatedly in order step 0→END (FEND) instruction→step 0.

  • Page 42

    Processing of operations by the CPU module during switch operations Processing of operations by the CPU module is as follows according to the RUN or STOP mode. RUN/STOP status Processing of operations by CPU module Processing of operations External output Device memory in sequence program Other than Y...

  • Page 43: Chapter 3 Cpu Module Memory Configuration

    CPU MODULE MEMORY CONFIGURATION Memory Configuration CPU module memory is explained below. Memory configuration The configuration of CPU module memory is explained below. Memory type Application CPU built-in memory Data memory The following files are stored in this memory: • Program files, FB files •...

  • Page 44

    SD memory card The following files are stored in SD memory card. Category File type Max. number of files Remarks  Program Program file  FB files 16 (Up to 15 for user) Parameters Parameter files common to system  ...

  • Page 45: Files

    Files The CPU module files are explained below. File type and storage destination memory File types and their storage destination memory are explained below. : Can be stored, : Cannot be stored File type CPU built-in memory SD memory card File name (extension) Data memory Drive No.4...

  • Page 46: Executable File Operations

    Executable file operations File operations that can be executed on each file are explained below. This operation is possible only when the operation status of the CPU module is the STOP status. : Can be executed, : No corresponding operation File type Operation with engineering tool Operation with FTP server function...

  • Page 47: Part 2 Functions

    PART 2 FUNCTIONS This part consists of the following chapters. 4 FUNCTION LIST 5 FIRMWARE UPDATE FUNCTION 6 SCAN MONITORING FUNCTION 7 CLOCK FUNCTION 8 ONLINE CHANGE 9 INTERRUPT FUNCTION 10 PID CONTROL FUNCTION 11 CONSTANT SCAN 12 REMOTE OPERATION 13 DEVICE/LABEL MEMORY AREA SETTING 14 INTERNAL BUFFER CAPACITY SETTING 15 INITIAL DEVICE VALUE SETTING...

  • Page 48

    22 DATA BACKUP/RESTORATION FUNCTION 23 SECURITY FUNCTIONS 24 HIGH-SPEED INPUT/OUTPUT FUNCTION 25 BUILT-IN ANALOG FUNCTION...

  • Page 49: Chapter 4 Function List

    Security function Protects resources stored in PCs and resources in the units in the Page 183 system of the FX5 from illegal access by a third party such as theft, GX Works3 Operating alteration, accidental operation and unauthorized execution. Manual...

  • Page 50

    Input interrupt function output function Positioning function Executes positioning operation by using the transistor output of the MELSEC iQ-F FX5 User's CPU module or high-speed pulse input/output module. Manual (Positioning Control - CPU module built-in, High-speed pulse input/output module)

  • Page 51: Chapter 5 Firmware Update Function

    FIRMWARE UPDATE FUNCTION This function is used when the user obtains the firmware update file from the Mitsubishi Electric FA website, and updates the module's firmware using an SD memory card. For supported version of firmware update function, refer to Page 478 Added and Enhanced Functions.

  • Page 52

    Firmware update method ■Preliminary preparations Download the firmware update information for the model to be updated from the Mitsubishi Electric FA website. The firmware update information is a ZIP file that contains the firmware update file and firmware update prohibited file.

  • Page 53

    After PWR LED turns on, check the engineering tool's Module Diagnosis (CPU Diagnosis) screen, and confirm that the firmware version has been updated. [Diagnostics]  [Module Diagnostics(CPU Diagnostics)] Turn the CPU module power OFF and remove the SD memory card. Delete the firmware update file from the removed SD memory card.

  • Page 54

    Firmware update prohibited setting Updating of the firmware can be prohibited by writing the firmware update prohibited file into the CPU module. Using the engineering tool, select the folder containing the firmware update prohibited file (FWUPDP.SYU) as the write target file, and select the CPU built-in memory for the write target. The firmware update prohibited file is stored in the firmware update information downloaded during the preliminary preparations.

  • Page 55

    Canceling the firmware update prohibited setting When executing the firmware update, cancel the prohibit setting with the engineering tool. Delete the file password for the firmware update prohibited file. [Project]  [Security]  [File Password Setting] Delete the firmware update prohibited file from the CPU built-in memory. [Online] ...

  • Page 56

    • Back up the various data such as the programs and parameters before executing the firmware update. • Check the target model, and download the correct firmware update file from the Mitsubishi Electric FA website. The firmware will not be updated if the target model does not match.

  • Page 57: Chapter 6 Scan Monitoring Function

    SCAN MONITORING FUNCTION This function detects CPU module hardware or program errors by monitoring the scan time. Using the watchdog timer, which is an internal timer in the CPU module, the following scans are monitored. • Initial scan (1st scan) •...

  • Page 58: Scan Time When The Wdt Instruction Is Used

    Scan time when the WDT instruction is used Even though the watchdog timer is reset using the WDT instruction, the scan time value is not reset. The scan timer value is the value measured up to the END instruction. Internal Internal Program processing time...

  • Page 59: Chapter 7 Clock Function

    If the SD210 to SD216 clock data is out of the range SM211 Using instructions Writes the clock data to the CPU module, using the TWR(P) instruction. (MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)) 7 CLOCK FUNCTION 7.1 Time Setting...

  • Page 60: Reading Clock Data

    Clock data is read to SD210 to SD216 when SM213 (clock data read request) is turned ON. Using instructions Clock data is read from the CPU module using the TRD(P) instruction. (MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)) Precautions The following describes precautions when setting the time.

  • Page 61: Setting Time Zone

    Setting Time Zone The time zone used for the CPU module can be specified. Specifying the time zone enables the clock of the CPU module to work in the local time zone. Navigation window  [Parameter]  [FX5UCPU]  [CPU Parameter]  "Operation Related Setting"  "Clock Related Setting"...

  • Page 62: System Clock

    Counted number of scans for timing clock output 5 SM420 to SM424, SM8330 to SM8334, and SD8330 to SD8334 are used by the DUTY instruction. For the DUTY instruction, refer to the following. MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) 7 CLOCK FUNCTION 7.3 System clock...

  • Page 63: Chapter 8 Online Change

    ONLINE CHANGE This chapter describes online change. Online Ladder Block Change Writes the portion edited on the ladder edit window of the engineering tool to the CPU module in increments of ladders. Edited contents spanning multiple files or multiple portions can be written to the CPU module at once. For details on the operating procedure of online ladder block change on engineering tools, refer to the following.

  • Page 64

    Initializing the last execution if the ladder at online ladder block change has an FB call • If a subroutine type FB is called in a FB definition, the execution information of the previous time in the FB definition of the subroutine type FB is not initialized.

  • Page 65

    The operation when a pulse type instruction is included in the range of an online ladder block change The operation when a pulse related instruction is included in the range of an online ladder block change is as follows. Pulse type instruction Description Rising instruction (PLS and P When a rising instruction exists within the range to be changed, the rising instruction will not be executed if the...

  • Page 66: Chapter 9 Interrupt Function

    INTERRUPT FUNCTION This chapter describes the interrupt function. Multiple Interrupt Function When an interrupt occurs while an interrupt program triggered by another cause is running, stops the program if its priority is lower than that of the new interrupt, and runs the higher-priority program whenever its execution condition is satisfied. During interruption execution Interruption occurred During interruption stop...

  • Page 67

    Interrupts with a priority equal or lower than that specified by the DI or EI instruction can be disabled or enabled even when multiple interrupts are present. For details, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks). Disabled interrupt priorities and the current interrupt priority can be checked in SD758 (Interrupt disabling for each priority setting value) and SD757 (Current interrupt priority) respectively.

  • Page 68: Chapter 10 Pid Control Function

    PID CONTROL FUNCTION 10.1 Outline of Function PID control is performed by PID control instruction. The PID instruction requires the system to calculate the output (MV) value from the measured (PV) value. Through combining the P (proportional) action, I (integral) action, and D (derivative) action the target (SV) value can be obtained.

  • Page 69: Basic Operation Expressions In Pid Instruction

    10.2 Basic Operation Expressions in PID Instruction The PID instruction executes using the speed type or measured value differential type operation expression. According to the contents of (s3)+1, bit 0 (operation setting (ACT)) specified by (s3) in the PID control, either forward operation or backward operation is executed.

  • Page 70: How To Use Pid Instruction

    How to Use PID Instruction This instruction executes PID control which changes the output value according to the input variation. For details on the PID instruction, refer to the following manual. MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) Ladder diagram Structured text ENO:=PID(EN,s1,s2,s3,d);...

  • Page 71: Relationship Between Parameter Setting And Auto-tuning

    The user sets the step output value before driving the instruction. The MV value is not changed by PID instruction during auto-tuning. ■Precautions for using the PID instruction For the precautions for using the PID instruction, refer to the following manual. MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks) 10.4 Relationship Between Parameter Setting and Auto-Tuning When auto-tuning is not executed (parameter setting) It is necessary to write the set value of the parameters (s3) to (s3)+6 using MOV instruction in advance, etc.

  • Page 72: Parameter

    10.5 Parameter Set item Description/Setting range Remarks (s3) Sampling time (TS) 1 to 32767 (ms) It cannot be shorter than operation cycle of the PLC. (s3)+1 Operation setting 0: Forward operation Operation direction (ACT) 1: Backward operation  0: Input variation alarm is invalid 1: Input variation alarm is valid 0: Output variation alarm is invalid Do not set b2 and b5 to ON at the same time.

  • Page 73: Details Of Parameters

    Set item Description/Setting range Remarks ■The following setting is required when using the limit cycle method (operation setting (ACT) (b6 of (s3)+1) is "1"). (s3)+25 PV value threshold Set it according to measured value (PV) The setting below is required when the limit cycle method (hysteresis) width (SHPV) fluctuation.

  • Page 74: Operation Setting (s3)+1

    Operation setting (s3)+1 Forward operation/backward operation Set the PID control direction (forward or backward). • During auto-tuning for the limit cycle method It is necessary to set the PID control direction (forward or backward) for auto-tuning. • During auto-tuning for the step response method The PID control direction (forward or backward) is not required, as the direction is automatically set when auto-tuning is complete.

  • Page 75

    Alarm setting (for input variation and output variation) If b1 and b2 in (s3) +1 are turned ON, the input variation and the output variation can be checked. The check is executed by following the values of (s3) +20 to (s3) +23. These parameters can be set in (s3)+24.

  • Page 76

    Overshoot suppression setting Set the overshoot suppression processing. Especially, when the difference between the target value and current value is big, turn b7 of (s3)+1 ON. It is effective to suppress the overshoot during PID control operation. Set item Setting description/Setting range Operation setting (s3)+1: b7...

  • Page 77: Input Filter Constant (s3)+2

    (1) Timeout wait after maximum ramp detection Ramp value (2) A decrease of ramp caused by temporary deviation of the input value (3) Maximum ramp (R) is updated so that auto tuning continues (4) Timeout wait after maximum ramp detection (5) Maximum ramp (R) detection value at the end of auto tuning (6) Maximum ramp (R) detection value at the end of auto tuning when this setting is not used...

  • Page 78: Proportional Gain (s3)+3

    Proportional gain (s3)+3 During the proportional operation, the output (MV) increases in proportion to the deviation (difference between the target value (SV) and the measured value (PV)). This deviation is called proportional gain (Kp), and expressed in the following relational expression: Output (MV) = Proportional gain (KP) ×...

  • Page 79: Integral Time (s3)+4

    Integral time (s3)+4 During the integral operation, the time after deviation is generated until the integral operation output becomes the proportional operation output. This is called integral time and is expressed as "TI". As TI becomes smaller, the integral operation becomes stronger. Setting range: 0 to 32767 (×...

  • Page 80: Differential Gain (s3)+5

    The integral operation changes the output so that the continuously generated deviation is eliminated. As a result, the remaining deviation generated in the proportional operation can be eliminated. Deviation Deviation (EV) Time Output of "proportional operation + integral operation" Output (MV) Output of integral operation Output of proportional operation Proportional gain (KP) ×...

  • Page 81: Differential Time (s3)+6

    Differential time (s3)+6 Use the differential time (TD) to respond sensitively to fluctuations in the measured value (PV) caused by disturbance, etc. and to minimize the fluctuations. Setting range: 0 to 32767 (× 10 ms) • When the differential time (TD) is large, it prevent large fluctuation in the control target caused by disturbance, etc. •...

  • Page 82

    PID operation in forward operation (cooling) Temperature TD3>TD2>TD1 PI operation (without differential operation) Changes caused by disturbance TD1 (PID operation) TD2 (PID operation) Target value (SV) TD3 (PID operation) Time Output value (MV) TD3>TD2>TD1 Changes in output caused by disturbance TD2 (PID operation) TD1 (PID operation) PI operation (without differential operation)

  • Page 83: Alarm Output (s3)+24

    Alarm output (s3)+24 If the input variation and the output variation specified with (s3) +20 to (s3) +23 are exceeded, each bit of (s3) +24 turns ON as a warning output. Item Description Remarks Alarm output (s3)+24: b0 OFF: Input variation (incremental) is not exceeded. It is valid when operation setting (ACT) (b1 of ON: Input variation (incremental) is exceeded.

  • Page 84: Auto-tuning

    10.7 Auto-Tuning This chapter describes the auto-tuning function of PID instruction. The auto-tuning function will automatically set the important constants, such as the proportional gain and the integral time, to ensure optimum PID control. There are two auto-tuning methods: limit cycle method and step response method. Limit Cycle Method For acquiring satisfactory control results in PID control, it is necessary to obtain the optimal value of each constant (parameter) suitable to the control target.

  • Page 85

    ■Operation characteristics (in an example of backward operation) During the "τW" period after the tuning cycle is finished, the output value is held at the output Lower Limit Value (LLV), and then normal PID control is started. The value "τW" can be obtained by the expression "τW = (50 + KW)/100 × (τ - τon)", and the wait setting parameter "KW"...

  • Page 86

    Parameters set in limit cycle method The parameters specified in the limit cycle method are shown below. Parameter Setting position Proportional gain (KP) (s3)+3 Integral time (TI) (s3)+4 Differential time (TD) (s3)+6 Auto-tuning procedure Set forward or backward operation Set the operation direction flag (b0) in the operation setting parameter (ACT) (s3)+1. Select the auto-tuning method (limit cycle method) Set the auto-tuning method to ON (b6) in the operation setting parameter (ACT) (s3)+1.

  • Page 87: Step Response Method

    Step Response Method For acquiring satisfactory control results during PID control, it is necessary to obtain the optimal value of each constant (parameter) suitable for the control target. This paragraph explains the step response method to obtain three constants in the PID control (proportional gain (KP), integral time (TI) and differential time (TD)).

  • Page 88

    Auto-tuning procedure Transferring the output value for auto-tuning to the output value (d) Set the output value for auto-tuning to the maximum available output value multiplied by 0.5 to 1 for the output equipment. Setting the parameter (s3), target value (SV), etc. that cannot be set in autotuning according to the system Set the auto-tuning execution flag to ON Set the auto-tuning execution flag to ON (b4) in the operation setting parameter (ACT) (s3)+1.

  • Page 89: Examples Of Program

    10.8 Examples of Program System configuration example An example of the system configuration when the PID control function is used is shown below. System configuration 24V X10 X11 X10: Auto-tuning command 10V 0V V1+ V2- X11: PID control command Power Resistance temperature sensor supply converter...

  • Page 90: Program Example 1

    Program example 1 This is an example of the sample program for PID control. Use device The content of the devices used for the program is as follows. Item Device Setting value During auto-tuning During PID control Target value (SV) (s1) D500 Not used...

  • Page 91

    Program SM402 The target value is K5000 D500 Initial pulse set to 50°C The sampling time is K500 D510 set to 500 ms The operation direction D511.0 is set to backward operation The upper and lower D511.5 limits of output value is set to valid Use overshoot D511.7...

  • Page 92: Program Example 2

    Program example 2 This is an example of the sample program for auto tuning (limit cycle method). Use device The content of the devices used for the program is as follows. Item Device Setting value During auto-tuning During PID control Target value (SV) (s1) D500...

  • Page 93

    Program The target value is set to 50°C K5000 D500 Auto-tuning is started The sampling time is set to K500 D510 500 ms The operation direction is set to D511.0 backward operation The auto-tuning mode is set to D511.6 limit cycle method The PV value threshold PID instruction K500...

  • Page 94: Program Example 3

    Program example 3 This is an example of the sample program for auto tuning (step response method). Use device The content of the devices used for the program is as follows. Item Device Setting value During auto-tuning During PID control Target value (SV) (s1) D500...

  • Page 95

    Program The target value is set to 50°C K5000 D500 Auto-tuning is started The sampling time is set to K1000 D510 1000 ms The output of auto-tuning K1800 D502 is set to 1.8 sec. PID instruction The auto-tuning mode is set to D511.6 initial setting step response method...

  • Page 96: Program Example 4

    Program example 4 This is an example of the sample program for auto tuning (limit cycle method) + PID control. Use device The content of the devices used for the program is as follows. Item Device Setting value During auto-tuning During PID control Target value (SV) (s1)

  • Page 97

    Program SM402 The target value is set to 50C K5000 D500 Initial pulse The sampling time is set to K500 D510 500 ms The operation direction is set to D511.0 backward operation The upper and lower limits of PID instruction D511.5 initial setting output value is set to valid...

  • Page 98: Program Example 5

    Program example 5 This is an example of the sample program for auto tuning (step response method) + PID control. Use device The content of the devices used for the program is as follows. Item Device Setting value During auto-tuning During PID control Target value (SV) (s1)

  • Page 99

    Program SM402 The target value is set to 50°C K5000 D500 Initial pulse The operation direction is D511.0 set to backward operation The upper and lower limits of D511.5 output value is set to valid PID instruction initial setting Use overshoot D511.7 suppression setting The output value upper limit...

  • Page 100: Example Of Parameter Adjustment And The Effect On Pid Control Operation

    10.9 Example of parameter adjustment and the effect on PID control operation This section describes parameters that can be adjusted to improve the PID control result and the effect of the parameters. Improvement of control results The following table shows the outline of the details to be improved and methods for improvement. Details to be improved Auto-Tuning Contents...

  • Page 101

    ■When auto-tuning is not executed When the PID control is executed and a large initial output causes overshoot, use the overshoot suppression setting (b7 of (s3)+1 turns ON). The overshoot amount may be suppressed. Control result when the overshoot suppression setting is not Control result when the overshoot suppression setting is used used Input value...

  • Page 102

    • Overshoot suppression by using sampling time When the response speed of the control target is high, shorten the sampling time ((s3)+0) to control finely. Overshoot may be suppressed. However, if the sampling time is too short, it is easily affected by momentary fluctuation of noise. Control result before the change Control result when the sampling time is shortened Input value...

  • Page 103

    • Input filter value When the filter input value ((S3)+2) is small, it is easily affected by a temporary ramp decrease caused by noise. Increase the filter input value. ■Auto-tuning is not executed • Hunting suppression by decreasing the proportional gain In the following control result case, decrease the proportional gain ((S3)+3).

  • Page 104

    Reduction of remaining deviation When reducing the remaining deviation, the operation is as follows. • Remaining deviation according to the input value When the control result is stable around the target value and the required output value is small, the control result may not converge to the target value because of the influence of noise.

  • Page 105: Chapter 11 Constant Scan

    CONSTANT SCAN Since the processing time differs as per the execution/non-execution of command used in the program, the scan timer changes with every scan. By setting the constant scan, because a program can be repeatedly executed while keeping scan time at a specified amount of time, even when the execution time of the program changes, the I/O refresh interval can be constant.

  • Page 106

    Conditions of setting time Set a value that meets the following relational equation for the setting time of the constant scan. "WDT setting time" > "Constant scan setting time" > "Maximum scan time of the program" When the maximum scan time of the program is longer than the setting time of the constant scan, it results in error. The constant scan time is ignored and it is executed with the scan time of the program.

  • Page 107: Chapter 12 Remote Operation

    REMOTE OPERATION A remote operation is an operation to externally change the operation status of the CPU module with the RUN/STOP/RESET switch of the CPU module set to the RUN position. The following items show the types of remote operation. •...

  • Page 108

    Refer to the following. GX Works3 Operating Manual Method using external devices that use SLMP Execute by SLMP command. For details on commands, refer to the following manual. MELSEC iQ-F FX5 User's Manual (SLMP) Step 0 Step 0 Remote STOP command...

  • Page 109: Remote Pause

    Execute by SLMP command. For details on commands, refer to the following manual. MELSEC iQ-F FX5 User's Manual (SLMP) • Turns ON the PAUSE contact (SM204) when executing the END process of the scan that has received the remote PAUSE command.

  • Page 110: Remote Reset

    Precautions ■When keeping in forced ON or OFF status in advance When keeping in forced ON or OFF status in advance, interlock using the PAUSE contact (SM204). The ON/OFF status of Y70 is determined by the ON/OFF status of M20 in PAUSE status. SM204 Turns OFF in PAUSE status.

  • Page 111: Relationship Between Remote Operation And Cpu Module

    Method using external devices that use SLMP Refer to the following. MELSEC iQ-F FX5 User's Manual (SLMP) When executing remote RESET, the settings that allow the remote reset of the CPU parameter must be written to CPU module beforehand. In the case that they are not set, remote RESET will not be possible.

  • Page 112: Chapter 13 Device/label Memory Area Setting

    DEVICE/LABEL MEMORY AREA SETTING The capacity of each area in device/label memory can be specified. (1) The capacity of each area can be changed. (Page 112 Device/Label Memory Area Setting) (2) The number of points of user devices can be changed. (Page 113 Device Setting) 13.1 Default Capacity of Each Area The default capacity of each area is as follows.

  • Page 113: The Setting Range Of The Capacity Of Each Area

    13.2 The Setting Range of the Capacity of Each Area The setting range of the capacity of each area on the device/label memory is as follows. Item Setting range of capacity of each area Device (high speed) Area Capacity 0 to 12 K words Device (standard) Area Capacity 0 to 48 K words Label Area Capacity...

  • Page 114: Device/label Memory Area Setting

    13.3 Device/Label Memory Area Setting The capacity of each data area allocated within the device/label memory can be changed. Navigation window  [Parameter]  [FX5UCPU]  [CPU Parameter]  "Memory/Device Setting"  "Device/Label Memory Area Setting" Operating procedure "Device/Label Memory Area Setting" window In "Option Battery Setting", select whether or not to use a option battery.

  • Page 115: Device Setting

    13.4 Device Setting The number of points of each user device can be changed. Navigation window  [Parameter]  [FX5UCPU]  [CPU Parameter]  "Memory/Device Setting"  "Device/Label Memory Area Setting"  "Device/Label Memory Area Detailed Setting"  "Device (high speed) Setting/Device (standard) Setting"...

  • Page 116: Range Of Use Of Device Points

    Range of use of device points The following table lists the range of use of device points to be set in the device setting. Device (high speed) Setting Type Device name Symbol Range of use Increment of setting  Input X0 to X1777 Output Y0 to Y1777...

  • Page 117: Chapter 14 Internal Buffer Capacity Setting

    INTERNAL BUFFER CAPACITY SETTING Configure the capacity of an area (internal buffer) that the system consumes to temporarily store the result of data logging and the collection result of memory dump. When using the data logging function, adjusting the internal buffer capacity allows an increase in the number of collected data and reduces the risk of processing overflow.

  • Page 118: Chapter 15 Initial Device Value Setting

    INITIAL DEVICE VALUE SETTING Directly sets the initial value of a device used by the program (i.e., not via the program). CPU module SM402 MOV H100 D0 MOV H2020 D0 Device initial value setting Device memory CPU module (1) If initial device values are used, a program to set data to the devices becomes unnecessary. 15.1 Setting Initial Device Values This section describes the settings required to use initial device values.

  • Page 119: Applicable Devices

    Initial value setting Configure the initial value setting. Navigation window  [Parameter]  [FX5UCPU]  [CPU Parameter]  "File Setting"  "Initial Value Setting" Window Displayed items Item Description Setting range Default Setting of Device Initial Sets whether or not to use initial device values. •...

  • Page 120: Chapter 16 Latch Function

    LATCH FUNCTION The contents of each device/label of the CPU module is cleared in the cases described below and changed to its default value. • At power OFF→ON of the CPU module • At reset • A power failure that exceeded allowable momentary power interruption The contents of each device/label with latch setting will be maintained in case of power failure even in the above-mentioned cases.

  • Page 121: Latch Settings

    16.3 Latch Settings Latch settings This subsection describes the latch setting. Setting latch on devices A range of multiple latches can be set for 1 type of device. Two latch ranges, latch (1) and latch (2), can be set. However, make sure that the range of latch (1) and latch (2) is not overlapping.

  • Page 122: Setting Latch On Labels

    Setting latch on labels This subsection describes latch setting on labels. Operating procedure In the label edit window, specify Label edit window "RETAIN" for label attribute. There are two types of latch for labels: "Device/Label Memory Area Detailed Setting" window latch (1) and latch (2).

  • Page 123: Precautions

    16.5 Precautions The precaution to be taken when using a latch function is described below. • When latch range and device no. of points are changed in the parameter, the latching for devices other than link register (W) and latch label will be the same as the latch settings before the change. Also, if the latch range setting parameter at the time of previous operation is different from that at the time of the current operation after the CPU module is powered OFF and ON or reset, the latch data is recovered only in the overlapping part of the latch ranges.

  • Page 124: Chapter 17 Memory Card Function

    MEMORY CARD FUNCTION The following explains the functions that use SD memory card. 17.1 SD Memory Card Forced Stop SD memory card can be disabled without turning power ON→OFF, even when a function that uses SD memory card is being executed, such as when the data logging function is running.

  • Page 125

    Operation of function accessing SD memory card The following table shows the operation when the main function is executed while SD memory card is being accessed and when SD memory card is accessed after SD memory card is disabled. Function under execution When main function is executed while SD When SD memory card is accessed after memory card is being accessed...

  • Page 126: Boot Operation

    17.2 Boot Operation At the time of power OFF→ON or reset of the CPU module, a file which is stored on the SD memory card is transferred to the memory of the transfer destination which the CPU module judged automatically. Boot operation procedure The selectable files for boot operation are listed below.

  • Page 127

    Set the data name (file name). "Boot File Setting" window Displayed items Item Description Setting range Default Clear the CPU built-in Sets whether or not to clear the CPU built-in memory upon file transfer • Do Not Clear Do Not Clear memory before boot from the SD memory card.

  • Page 128: Chapter 18 Device/label Access Service Processing Setting

    DEVICE/LABEL ACCESS SERVICE PROCESSING SETTING This is a function to optionally designate the frequency of execution of the service process that is carried out by the END process in the parameter. Improvement of communication response with peripheral equipment and extension of scan time by the service process can be controlled by service process setting function.

  • Page 129

    *1 Shows the maximum a scan time is extended by the service process. *2 Shows the extent of fluctuation of scan time or the degree of scattering by the service process. *3 Shows the time between receiving a service process request from the peripheral equipment to returning a response. *4 Shows the extent of fluctuation of time until returning the response or the degree of scattering due to the contents of service process request from the peripheral equipment.

  • Page 130: Chapter 19 Data Logging Function

    DATA LOGGING FUNCTION This function collects data at a specified interval or a desired timing and stores them as a binary file on the SD memory card. The entire data logging function allows the entry of up to 4 data logging settings. CPU module Data logging...

  • Page 131: Target Data

    19.1 Target Data This section describes the data to be collected by data logging. Number of data points The data logging function can collect up to 512 data records. (4 settings × 128 records) *1 Duplicate data records are counted as unique records. Data type The following table shows the number of data records for each data type.

  • Page 132: Data Collection Conditions

    19.2 Data Collection Conditions This section describes the timing when data is collected and the conditions under which data is collected. Data collection conditions Description Each scanning cycle Collects data during the END processing of each scan. Time specification Collects data during the END processing after specified time interval. Condition specification Collects data when the monitored data meets the specified condition during the END processing.

  • Page 133: Condition Specification

    Condition specification This option lets the user set the data collection timing by specifying the device data conditions. Collects data when the monitored data meets the specified condition during the END processing. To collect data continuously while the conditions are met The following conditional formula causes the data logging function to collect data continuously while the conditions are met: •...

  • Page 134: Logging Type

    Specifying the monitored data For monitored data, the following devices can be specified. The data types that can be selected include bit/word (unsigned), word (signed), double word (unsigned), and double word (signed). Type Device Bit device X, Y, M, SM, L, B, F, SB, T (contact) , ST (contact) , C (contact) , LC (contact)

  • Page 135: Operating Procedure For Trigger Logging

    To suspend/resume continuous logging The user can suspend data logging with the data logging settings remaining intact by doing either of the following: • Instruct the CPU Module Logging Configuration Tool or special relay to suspend data logging (the special relay (data logging start) turns off).

  • Page 136: Trigger Condition

    Number of records Specify the number of records to be collected before and after the satisfaction of a trigger condition. (Page 465 Number of records) Trigger logging Trigger logging start completion Sampling data Trigger condition occurrence Number of records Number of records before trigger after trigger Total number of records...

  • Page 137: When Trigger Instruction Executed

    *5 To specify these devices with the CPU Module Logging Configuration Tool, use T (current value): T or TN, ST (current value): ST or STN, C (current value): C or CN, and LC (current value): LC or LCN. When trigger instruction executed A trigger occurs when the LOGTRG instruction is executed. (MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)) 19.5 States of the Data Logging Function The data logging function has various states that can be classified into data logging and storage.

  • Page 138: Storage States

    Storage states The following table lists all the possible storage states. Storage states Description Unsaved Has not yet stored the collected data into the SD memory card. Saving in progress Has begun but not yet finished storing the collected data into the SD memory card. Save completed Has finished storing the collected data as much as the specified number of records into the SD memory card.

  • Page 139: Switching To A Storage File

    Switching to a storage file The data collected by data logging is temporarily stored in a stack file that resides in the SD memory card. The stack file can be switched to a storage file to free the space in the SD memory card. How file switching (log rotation) works File switching works as follows: The CPU module writes collected data into a stack file (such as LOG01.BIN).

  • Page 140

    Storage file The CPU module creates a subfolder ("storage file container folder") under the file storage folder and writes storage files to that storage file container folder. One storage file container folder can contain up to 256 storage files. When the files contained in the current storage file container folder reach the maximum number, the CPU module creates a new storage file container folder at the time of next storage file switching and begins writing storage files to that new folder.

  • Page 141: Internal Buffer

    19.7 Internal Buffer The internal buffer is a system area used to temporarily store collected data. Internal buffer capacity setting This setting can be specified using an engineering tool (Page 115 INTERNAL BUFFER CAPACITY SETTING). For trigger logging, increasing the internal buffer capacity allows for a larger number of data records collected before a trigger and also helps to prevent processing overflow.

  • Page 142: Missing Data

    19.9 Missing Data The term "missing data" means that some of the collected data is missing, resulting in data discontinuity. Conditions under which missing data occurs Missing data occurs under the following conditions: Item Description Processing overflow • When the internal buffer responsible for tentatively storing the logged data is unable to store new logged data because the SD memory card does not store data •...

  • Page 143: Other Functions

    19.12 Other Functions This section describes some useful functions available in addition to the basic features of the data logging function. Setting the operation at the time of transition to RUN This function configures the operation of data logging that occurs when the user performs the following operations (transition to RUN) after the data logging setting are registered.

  • Page 144

    Operation during SD memory card replacement Mounting the replaced SD memory card on the CPU module causes a "LOGGING" folder to be created. When becoming ready for running the logging function, the CPU module resumes the data transfer into the SD memory card. The CPU module operates differently as follows depending on the folder configuration in the replaced SD memory card.

  • Page 145: Data Logging Execution By Special Relay

    Data logging execution by special relay The data logging setting can be registered by the special relay and be executed on the data logging setting file stored in the SD memory card. Note that this operation can be used together with each operation of the CPU module logging setting tool. (Page 474 Logging status and operation) Operating procedure Write the effective setting data to the SD memory card with CPU module logging setting tool.

  • Page 146: Sd Memory Card Life When The Data Logging Function Is Used

    19.13 SD Memory Card Life When the Data Logging Function Is Used An SD memory card has a life (restriction on writing data). The following shows the calculation method of an SD memory card life when the data logging function is used. Note that the actual life of the card varies depending on usage conditions and environment.

  • Page 147: Precautions To Take When Using The Data Logging Function

    19.14 Precautions to Take When Using the Data Logging Function This section describes precautions to take when using the data logging function. Mutual exclusion of the data logging function This section describes the mutual exclusion of the data logging function. ■When another function is executed during the execution of the data logging function The following table lists the cases when another function is executed during the execution of the data logging function.

  • Page 148

    Stopping/suspending data logging After data logging is stopped or suspended from within the CPU Module Logging Configuration Tool or special relay, all the data in the internal buffer is written into the target memory. If a small number of records or a small file size is specified as part of the storage file switching condition, writes to the target memory may take a longer time.

  • Page 149

    Access to the SD memory card If data logging is performed with a small setting of the data collection interval/timing or with a large number of records to be collected, access (read/write) to the SD memory card occurs so frequently that a delay occurs in completing the access. To avoid such a delay, use the following workarounds: •...

  • Page 150: Chapter 20 Memory Dump Function

    MEMORY DUMP FUNCTION This function stores device values of the CPU module at any given timing. Checking data at the desired timing through the function facilitates the analysis of problems which occur depending on a particular condition. Power Engineering tool Time Device memory SD memory card...

  • Page 151

    20.2 Trigger Condition The following table lists the conditions to be used as a trigger. Set the trigger condition in the memory dump settings. (GX Works3 Operating Manual) Trigger condition Description Device specification Data are collected when the specified monitoring target data (bit data) turns on during the END processing. At the occurrence of an error Data is collected using the SM0 (latest self-diagnosis error) OFF→ON as the trigger.

  • Page 152: At The Occurrence Of An Error

    At the occurrence of an error Data is collected using the SM0 (latest self-diagnosis error) OFF→ON as the trigger. The trigger occurs at the END process of the scan in which the error occurred. At the occurrence of a continuation error RUN/STOP state Trigger occurrence...

  • Page 153: Combining Trigger Conditions

    Combining trigger conditions A trigger can be generated with trigger conditions combined. This combination is based on an OR condition. The establishment of a condition, either device specification or error code specification, results in data collection. Condition Trigger established generated The established condition is not recognized as a trigger because collecting after trigger...

  • Page 154: Flow Of Data Collection

    20.4 Flow of Data Collection Collected data is stored in the internal buffer, where the data is partitioned at END processing and saved in the SD memory card. When a trigger is generated, the END process will take longer than usual. Condition establishment Condition establishment Trigger...

  • Page 155: States Of The Memory Dump Function

    20.6 States of the Memory Dump Function The state of the memory dump function is reflected in the memory dump status. The engineering tool allows the memory dump status to be checked. (GX Works3 Operating Manual) Memory dump status The following table lists the memory dump status. Memory dump status Description Stop...

  • Page 156: Special Relay And Special Register Used In The Memory Dump Function

    20.8 Special Relay and Special Register Used in the Memory Dump Function For details on the special relay and special register used in the memory dump function, refer to the following: • Special relay: Special relay relating to the memory dump function (Page 324 Memory dump function) •...

  • Page 157

    Operation on each individual file Write, read, delete, and initialize are possible on each file. The following table shows whether each operation is possible or not depending on the execution status of memory dump. : Operation possible, : Operation not possible File type Operation to be performed Read...

  • Page 158: Chapter 21 Ras Functions

    RAS FUNCTIONS 21.1 Self-Diagnostics Function Checks if a problem exists with the CPU module. Self-diagnostics timing If an error occurs when the CPU module is powered on or while it is in the RUN/STOP state, the CPU module detects, and displays it, and stops operation.

  • Page 159: Cpu Module Operation Upon Error Detection Setting

    CPU Module Operation Upon Error Detection Setting Configure each CPU Module Operation setting when an error is detected. Error Detection Setting Sets whether or not to detect errors. Navigation window  [Parameter]  [FX5UCPU]  [CPU Parameter]  "RAS Setting"  "Error Detections Setting" Window Displayed items Item...

  • Page 160

    CPU Module Operation Setting Specify the operation which the CPU module should perform when an error occurs on each intelligent function module. Navigation window  [Parameter]  [System Parameter]  [I/O Assignment Setting] Window Displayed items Item Description Setting range Default CPU Module Operation Sets the CPU module operation upon the detection of major or...

  • Page 161: Error Clear

    Error Clear This function clears all the existing continuation errors at once. Errors that can be cleared Error code Error name 1080H ROM write count error 1090H Battery error 1800H Annunciator ON 1810H, 1811H Operation error 1900H Constant scan time error 1920H IP address setting error 1921H...

  • Page 162: Event History Function

    21.2 Event History Function Information including errors detected in the CPU module, expansion board and expansion adapter, and errors that occur in the network is collected and saved by the CPU module. Once errors are stored, they can be checked chronologically. This function can be used to pinpoint the cause of faults that occur in the system or device.

  • Page 163: Logging Of The Event History

    An optional battery is required to use the built-in RAM battery keeping. Refer to the User's Manual (Hardware) for the CPU module in use for details. Logging of the event history This section describes events saving for the event history. Which event history information is collected ■Target modules The events collected for the event history are those that occur in the CPU module and in the expansion board and expansion...

  • Page 164

    ■File size The size for event history files can be changed in event history setting (Page 160 Event history settings). If the storage size exceeds the specified size, records are deleted in order from the oldest one and the latest one is stored. An event history file size is obtained from the following calculation formula.

  • Page 165: Viewing The Event History

    Loss of event history information If events are detected frequently, some events may be lost without being collected. When event loss occurs, "*HST.LOSS*" appears in the "Event Code" field of the engineering tool. Viewing the event history The event history can be viewed using the menus of the engineering tool. For operating procedures and how to interpret the displayed information, refer to the following: GX Works3 Operating Manual Clearing the event history...

  • Page 166: Chapter 22 Data Backup/restoration Function

    DATA BACKUP/RESTORATION FUNCTION This function backs up the data memory and device/label data of a CPU module to an SD memory card. The data backed up in the SD memory card can be restored as required. *1 Module access devices and buffer memory are excluded. SD memory card CPU module Backup...

  • Page 167

    Backup data Backup data is saved in an SD memory card. The following shows the folder structure of backup data. Root directory MAIN.PRG Backup 20170101 00001 Drive4 $MELPRJ$ UEX3FF00.PPR $BKUP_CPU_INF.BSC BKUP_CPU.BKD BKUP_CPU_DEVLAB.BKD 00002 20170102 $BKUP_CPU_EXCHANGE.DAT *1 When backing up by CPU module auto exchange mode (Deleting existing data), if the system file for CPU module auto exchange function is stored in the CPU data folder, only the latest folder will exist for the date folder and number folder.

  • Page 168

    ■Back up file File type File name Description System file for backing up CPU module data $BKUP_CPU_INF.BSC Files for storing the information required at restoration of data, such as a list of backup data and identification information of the CPU module. Backup data file for backing up CPU module BKUP_CPU.BKD The following data is stored.

  • Page 169

    ■Backup/restoration target device data : Available, : Not available Classification Device name Symbol Backup/restoration possibility Backup Restoration User device Input     Output Internal relay     Latch relay Link relay     Annunciator ...

  • Page 170: Backup Function

    Progress of the backup/restoration processing The progress of the backup/restoration processing can be checked with SD1350 (Number of uncompleted folders/files of CPU module data backup/restoration) or SD1351 (Progression status of CPU module data backup/restoration). Special register Description SD1350 Displays the number of remaining backup/restoration target folders and files. •...

  • Page 171

    Initializing target data When backing up with SM1351 ON (CPU module auto exchange mode), set whether or not to initialize the drive other than the SD memory card at the time of restoration by the CPU module auto exchange. Set with SD9352 (CPU module auto exchange function setting) b1 (initialize during CPU module auto exchange function).

  • Page 172: Backup Processing Triggered By Turning On Sm1351 (normal Mode)

    Backup processing triggered by turning on SM1351 (Normal Mode) Data in the CPU module is backed up at a desired timing. Each time backup is requested, the year, date and serial No. of the date folder and number folder are updated (newly created), and the following backup data is created. •...

  • Page 173: Backup Processing Triggered By Turning On Sm1351 (cpu Module Auto Exchange Function)

    Backup processing triggered by turning on SM1351 (CPU module auto exchange function) Data in the CPU module is backed up at a desired timing. The operation during back up differs according to the SD9350 (operation mode setting) value. CPU module auto exchange mode (Deleting existing data) When the SD9350 value is 1, each time the backup is requested, all of the data under the CPU data folder in the SD memory card is deleted, and a date folder, number folder, and the backup data are created.

  • Page 174: Checking Backup Errors

    Operating procedure SM9350 (CPU module auto exchange function enable/disable flag) is turned OFF (enable). Set SD9350 (Operation mode setting) to 1 or 2 With SD9351 (CPU module auto exchange function restoration target data setting), set the data to be restored when executing restoration with CPU module auto exchange.

  • Page 175

    Suspending backup processing The following operation can suspend a backup processing. • Setting the SD memory card forced disable Suspending a backup processing leaves the backup data in the SD memory card in an incomplete state which is in the middle of the backup processing.

  • Page 176: Restoration Function

    Backup when changing the parameters If the CPU module parameters have been changed, turn the CPU module power OFF and ON or reset the CPU module to apply the parameters. Then execute backup. If backup is executed before the parameter changes are applied, restoration may not be carried out correctly.

  • Page 177

    Restoration of the special relay and special register The setting for whether or not to restore the special relays and special registers differs according to the restoration function being executed. ■For restoration triggered by turning SM1354 ON, and automatic restoration using SD955 Set with SD955 (restoration function setting) b14 (special relay, special register restoration).

  • Page 178: Restoration Processing Triggered By Turning On Sm1354

    Restoration processing triggered by turning on SM1354 Backup data is restored at a desired timing. When restoration is requested, the CPU module backup data based on the following files in the designated folders are restored. • System file for backing up CPU module data •...

  • Page 179: Automatic Restoration Using Sd955

    Automatic restoration using SD955 Backup data is automatically restored when the CPU module is powered on or is reset. When restoration is executed, the CPU module backup data based on the following files in the designated folders are restored. • System file for backing up CPU module data •...

  • Page 180: Restoration Triggered By Cpu Module Auto Exchange

    Restoration triggered by CPU module auto exchange At power ON or at reset, the backup data is automatically reset without the need for a command. When restoration is executed, the CPU module backup data is restored based on the system file for the CPU module auto exchange function in the SD memory card.

  • Page 181

    Precautions The following describes the precautions for the restoration function. Prohibited operation during execution of the restoration processing Do not perform the following operations during execution of the restoration processing. • Attaching or detaching the SD memory card • Powering off or resetting the CPU module The above mentioned operations leave the data in the CPU module in an incomplete state which is in the middle of the restoration processing.

  • Page 182

    Operations and functions that cannot be performed While the following operations or functions are being executed, the restoration processing cannot be executed. The following operations and functions cannot be executed during execution of the restoration processing. Operation or function Operation from GX Works3 Initializing the CPU built-in memory/SD memory card Clearing values (Devices, labels, latches) Reading data from the PLC...

  • Page 183

    Data protected by security functions ■File password function Unlock the file passwords of the files in the backup target CPU module. If any files to which file passwords have been set exist in the CPU module, the files are not restored. ■Security key authentication function Locked programs can be restored regardless of whether security keys have been written or not.

  • Page 184

    Conditions for executing automatic restoration and CPU module auto exchange The restoration executed for automatic restoration using SD955 and restoration with CPU module auto exchange differs according to the following conditions. Auto restoration request CPU module auto exchange Presence of system file for Executed restoration (b0 of SD955) function enable/disable flag...

  • Page 185: Chapter 23 Security Functions

    These functions prevent theft, tampering, wrongful operation, illegal execution, etc. of a customer's assets saved on a personal computer or in modules in the FX5 system as a result of illegal access by a third party. Use of the security functions according to the following purposes.

  • Page 186: Chapter 24 High-speed Input/output Function

    General-purpose input functions Page 284 PWM function Page 286 Positioning function MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High- speed pulse input/output module) 24.1 High-speed Counter Function High-speed counter function is explained below. High-speed counter function overview The high-speed counter is a function that counts the number of high-speed pulse inputs that cannot be counted by a conventional counter, using the general purpose input terminal of the CPU module or high-speed pulse input/output module.

  • Page 187: High-speed Counter Function Execution Procedure

    High-speed counter dedicated instructions The high-speed counter starts and stops counting using the HIOEN/DHIOEN instruction for the high-speed counter. (MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)) Other high-speed counter instructions In addition to the dedicated instructions, there are instructions such as DHSCS, DHSCR, and DHSZ (hereafter referred to as "high-speed comparison instruction") for high-speed counters.

  • Page 188

    ■1 phase, 1 input counter (H/W) Counting method of 1 phase, 1 input counter (H/W) is as follows. Input A phase Input B phase (Count direction switching input) Up counting Down counting Current value ■1 phase, 2 input counter Counting method of 1 phase, 2 input counter is as follows. Input A phase Up-counting input +1 when OFF→ON...

  • Page 189

    ■2 phase, 2 input counter [4 edge count] Counting method of 2 phase, 2 input counter [4 edge count] is as follows. Up/down counter Counter timing At up-counting 1 count up when input B phase is OFF and input A phase switches OFF→ON 1 count up when input A phase is ON and input B phase switches OFF→ON 1 count up when input B phase is ON and input A phase switches ON→OFF 1 count up when input A phase is OFF and input B phase switches ON→OFF...

  • Page 190

    Maximum frequency The maximum frequency that each type of counter can count is as follows. For details concerning maximum frequency by input assignment, refer to Page 191 Input assignment-wise / maximum frequency for high-speed counters. Counter type Maximum frequency 1 phase, 1 input counter (S/W) 200 KHz 1 phase, 1 input counter (H/W) 200 KHz...

  • Page 191: Assignment For High-speed Counters

    Assignment for high-speed counters Input assignment for high-speed counters Assignment for input devices of high-speed counters is set by parameters. Assignment is determined according to functions set for each channels by parameter. When using internal clock, assignment is same as 1-phase, 1-count (S/W) and A phase is not used. Input assignment of high-speed counters is as follows.

  • Page 192

    ■High-speed pulse input/output module  of each input is the head input number for high-speed pulse input/output module. High-speed X X+1 X+2 X+3 X+4 X+5 X+6 X+7 counter type CH9, 1-phase 1-count (S/W) CH11, 1-phase 1-count (H/W) CH13, 1-phase 2-count CH15 2-phase 2-count CH10,...

  • Page 193

    Input assignment-wise / maximum frequency for high-speed counters Input assignment-wise maximum frequency for high-speed counters is as follows. ■FX5U-32M, FX5UC-32M • X6 to X17 are input frequencies up to 10 KHz, regardless of maximum frequency value. • Preset input and Enable Input are input frequencies up to 10 KHz, regardless of maximum frequency value. High-speed counter X10 X11 X12 X13 X14 X15 X16 X17 Maximum...

  • Page 194

    High-speed counter X10 X11 X12 X13 X14 X15 X16 X17 Maximum type frequency 1-phase 1-count (S/W) 200 KHz 1-phase 1-count (H/W) 10 KHz 1-phase 2-count 10 KHz 2-phase 2-count [1 edge 10 KHz count] 2-phase 2-count [2 edge 5 KHz count] 2-phase 2-count [4 edge 2.5 KHz...

  • Page 195

    High-speed counter X10 X11 X12 X13 X14 X15 X16 X17 Maximum type frequency 1-phase 1-count (S/W) 200 KHz 1-phase 1-count (H/W) 200 KHz 1-phase 2-count 200 KHz 2-phase 2-count [1 edge 200 KHz count] 2-phase 2-count [2 edge 100 KHz count] 2-phase 2-count [4 edge 50 KHz...

  • Page 196

    ■High-speed pulse input/output module • X+6 and X+7 are input frequencies up to 10 KHz, regardless of maximum frequency value. • Preset input and Enable Input are input frequencies up to 10 KHz, regardless of maximum frequency value.  of each input is the head input number for high-speed pulse input/output module. High-speed X...

  • Page 197: High-speed Counter Parameters

    High-speed counter parameters High-speed counter parameters are explained below. High-speed counter parameters are set by GX Works3. Outline of parameters High-speed counter settings, high-speed comparison table, multiple point high-speed comparison table setting and input response time are set by parameters. The primary items that can be set by parameters are as follows.

  • Page 198: High-speed Counter (normal Mode)

    High-speed counter (normal mode) Normal mode for high-speed counters is explained below. Use normal mode if you want to use as an ordinary high-speed counter. Parameter setting Set operation mode to normal mode by high-speed counter parameter setting. Sets detailed settings for channel used. ■CPU module Navigation window ...

  • Page 199

    Item Description Setting range Default  Control Switch Sets preset execution timing when preset input is enabled. • Rising • Falling • Rising + Falling Edge • Always During Input ON Preset Value Sets preset value when preset input is enabled. -2147483648 to +2147483647 ...

  • Page 200

    High-speed counters cannot count by setting the parameter alone. The HIOEN/DHIOEN instruction is required to start/stop the count. For the HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/ Function Blocks). Read/write of current value of high-speed counter The current value of the high-speed counter is stored in a special register for each channel.

  • Page 201: High-speed Counter (pulse Density Measurement Mode)

    Precautions • Input used varies according to channel selected and pulse input mode. • If not using preset input or enable input, you can use it as input for other functions. • If mode is other than normal mode, preset input cannot be used. •...

  • Page 202

    The pulse density measurement mode cannot measure by setting the parameter alone. The HIOEN/DHIOEN instruction is required to start/stop measurement. For the HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/ Function Blocks). 24 HIGH-SPEED INPUT/OUTPUT FUNCTION...

  • Page 203

    If pulse density is currently being measured by the SPD/DSPD instruction, pulse density measurement cannot be started for the same channel. For details on the SPD/DSPD instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks). ■Other precautions There are common precautions when using high-speed counters.

  • Page 204: High-speed Counter (rotational Speed Measurement Mode)

    High-speed counter (rotational speed measurement mode) The rotational speed measurement mode for high-speed counters is explained below. The rotational speed measurement mode is not supported in high-speed pulse input/output modules. When in rotational speed measurement mode, pulse is counted from count input of the high-speed counter, and the rotational speed for a specified amount of time is automatically calculated.

  • Page 205

    Inversely, if pulse density is currently being measured by the SPD/DSPD instruction, rotational speed measurement cannot be started for the same channel. For details on the SPD/DSPD instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks). 24 HIGH-SPEED INPUT/OUTPUT FUNCTION...

  • Page 206: High-speed Comparison Table

    ■Other precautions There are common precautions when using high-speed counters. For details, refer to Page 246 Precautions when using high-speed counters. High-speed comparison table The high-speed comparison table is explained below. Used to set high-speed comparison table for high-speed counters. Parameter setting Sets match output setting for high-speed counters.

  • Page 207

    1. Operation is the same as for the DHSCS instruction. For information on the DHSCS instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks). ■Reset When comparison value 1 matches the current value of the set high-speed counter, the bit device specified as the output destination device is reset.

  • Page 208

    High-speed comparison tables cannot execute comparison by setting the parameter alone. The HIOEN/DHIOEN instruction is required to start/stop the high-speed comparison table. For the HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/ Function Blocks). The HIOEN/DHIOEN instruction is required to start/stop high-speed counters as well when using a high- speed comparison table.

  • Page 209: Multiple Point Output, High-speed Comparison Tables

    Table operation is as follows when multiple HIOEN/DHIOEN instructions are executed within the same scan. Tables 1, 2 and 4 are started at the 1st HIOEN/DHIOEN instruction. Tables 3 and 5 are started, and 2 and 4 are stopped at the 2nd HIOEN/DHIOEN instruction. Table 2 is started and 5 is stopped at the 3rd HIOEN/DHIOEN instruction.

  • Page 210

    • When using user devices, you can change comparison value or output data while the program is running. • When using user devices, each table occupies 4 devices. Word devices are used in order starting from the initial device. Multiple point output, high-speed comparison table operation Operation of each type high-speed comparison table is explained below.

  • Page 211

    Multiple point output, high-speed comparison tables cannot execute comparison by setting the parameter alone. The HIOEN/DHIOEN instruction is required to start/stop multiple point output, high-speed comparison tables. For the HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/ Function Blocks).

  • Page 212: Special Relay List

    Special relay list A list of special relays used for high-speed counters is provided below. Special relays for individual channels A list of special relays by high-speed counter channel is provided below. R/W: Read or Write R: Read only Special relay Function Operation Default...

  • Page 213

    Special relay Function Operation Default SM4548 High-speed counter underflow (CH1) Has occurred Has not occurred SM4549 High-speed counter underflow (CH2) SM4550 High-speed counter underflow (CH3) SM4551 High-speed counter underflow (CH4) SM4552 High-speed counter underflow (CH5) SM4553 High-speed counter underflow (CH6) SM4554 High-speed counter underflow (CH7) SM4555...

  • Page 214

    Special relay Function Operation Default SM4580 High-speed counter count direction switching (CH1) (1-phase 1-input Down-counting Up-counting S/W) SM4581 High-speed counter count direction switching (CH2) (1-phase 1-input S/W) SM4582 High-speed counter count direction switching (CH3) (1-phase 1-input S/W) SM4583 High-speed counter count direction switching (CH4) (1-phase 1-input S/W) SM4584 High-speed counter count direction switching (CH5) (1-phase 1-input...

  • Page 215

    Special relay Function Operation Default SM4612 High-speed counter preset input comparison (CH1) Valid Invalid Parameter setting values SM4613 High-speed counter preset input comparison (CH2) SM4614 High-speed counter preset input comparison (CH3) SM4615 High-speed counter preset input comparison (CH4) SM4616 High-speed counter preset input comparison (CH5) SM4617 High-speed counter preset input comparison (CH6) SM4618...

  • Page 216

    Special relays shared by all channels A list of shared special relays is provided below. R/W: Read or Write R: Read only Special relay Function Operation Default SM4980 High-speed comparison table (high-speed compare instruction) Operating Stopped operation (CPU module) SM4982 High-speed comparison table (high-speed compare instruction) error Has occurred Has not occurred...

  • Page 217: Special Relay Details

    Special relay details Details concerning special relays used for high-speed counters are explained below. High-speed counter operating Device for monitoring operation status of each channel of the high-speed counter. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SM4500 SM4501...

  • Page 218

    ■Update timing The timing of device update is as follows. • Pulse density/rotational speed measurement mode is set in parameter and • Pulse density/rotational speed measurement mode is set in parameter and pulse density/rotational speed measurement is driven by the HIOEN/ pulse density/rotational speed measurement is stopped by the HIOEN/ DHIOEN instruction.

  • Page 219

    ■Operation Description The content of the operation when ON and when OFF is as follows. Operation when ON Operation when OFF Underflow occurs Underflow does not occur (Current value counted = -1 past maximum negative value) • Does not operate when ring length setting is enabled. •...

  • Page 220

    High-speed counter (1-phase 1-input S/W) (internal clock) count direction switch Device for switching counter direction when using 1-phase 1-input (S/W) counter or internal clock. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SM4580 SM4581 SM4582 SM4583 SM4584...

  • Page 221

    ■Operation Description The content of the operation when ON and when OFF is as follows. Operation when ON Operation when OFF The preset input operates with negative logic The preset input operates with positive logic • The timing to execute the preset is determined by the preset input logic and the preset control switch. •...

  • Page 222

    ■Update timing The timing of device update is as follows. • When ON by the user • When OFF by the user • When set to enabled with parameters • When set to disabled with parameters • Cannot be modified while the high-speed counter is operating. Operates in the configured status when the high-speed counter starts.

  • Page 223

    High-speed counter ring length setting These devices enable or disable the ring length setting for ring counters. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SM4644 SM4645 SM4646 SM4647 SM4648 SM4649 SM4650 SM4651 High-speed pulse input/output module First module Second module Third module...

  • Page 224

    DHSCR, DHSZ instructions within the range of the number of instructions driven at the same time will operate. For the limitation of the number of instructions driven at the same time, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks). • These devices also operate when the FX3 compatible high-speed counter function is valid.

  • Page 225

    ■Update timing The timing of device update is as follows. • Updated in END processing • When OFF by the user • If an error occurs while the FX3 compatible DHSCS,DHSCR,and DHSZ • Power ON, reset instruction ON execution, an operation is made also when the high-speed counter function is valid.

  • Page 226

    Multi-point output high-speed comparison table completion This device turns ON when the high-speed counter's multi-point output high-speed comparison tables have finished comparing all of the set tables. ■Corresponding devices The device number is shared for all channels of the CPU module. SM5001 ■Operation Description The content of the operation when ON and when OFF is as follows.

  • Page 227: Special Registers List

    Special registers list The following list shows the special registers used with high-speed counters. All set values except for ring length are handled as signed. Special registers for individual channels The following list shows the special registers for individual high-speed counter channels. R/W: Read or Write R: Read only Special register...

  • Page 228

    Special register Function Range Default SD4548 High-speed counter number of pulses per rotation (CH2) 1 to 2147483647 Parameter set value SD4549 SD4550 to SD4559 Not used    SD4560 High-speed counter current value (CH3) -2147483648 to +2147483647 SD4561 SD4562 High-speed counter maximum value (CH3) -2147483648 to +2147483647 -2147483648...

  • Page 229

    Special register Function Range Default SD4622 High-speed counter maximum value (CH5) -2147483648 to +2147483647 -2147483648 SD4623 SD4624 High-speed counter minimum value (CH5) -2147483648 to +2147483647 2147483647 SD4625 SD4626 High-speed counter pulse density (CH5) 0 to 2147483647 SD4627 SD4628 High-speed counter rotational speed (CH5) 0 to 2147483647 SD4629 SD4630...

  • Page 230

    Special register Function Range Default SD4688 High-speed counter rotational speed (CH7) 0 to 2147483647 SD4689 SD4690 High-speed counter preset control switch (CH7) 0: Rising edge Parameter set value 1: Falling edge 2: Both edges 3: Constant when ON   ...

  • Page 231

    Special register Function Range Default SD4754 High-speed counter ring length (CH9) 2 to 2147483648 Parameter set value SD4755    SD4756 to SD4769 Not used SD4770 High-speed counter current value (CH10) -2147483648 to +2147483647 SD4771 SD4772 High-speed counter maximum value (CH10) -2147483648 to +2147483647 -2147483648 SD4773...

  • Page 232

    Special register Function Range Default SD4860 High-speed counter current value (CH13) -2147483648 to +2147483647 SD4861 SD4862 High-speed counter maximum value (CH13) -2147483648 to +2147483647 -2147483648 SD4863 SD4864 High-speed counter minimum value (CH13) -2147483648 to +2147483647 2147483647 SD4865    SD4866 to SD4869 Not used SD4870...

  • Page 233

    Special register Function Range Default SD4954 High-speed counter minimum value (CH16) -2147483648 to +2147483647 2147483647 SD4955    SD4956 to SD4959 Not used SD4960 High-speed counter preset control switch (CH16) 0: Rising edge Parameter set value 1: Falling edge 2: Both edges 3: Constant when ON ...

  • Page 234: Special Register Details

    Special register details This section describes details about the special registers used with the high-speed counters. High-speed counter current value These devices store the current values of the high-speed counters. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SD4501, SD4531,...

  • Page 235

    High-speed counter maximum value These devices store the maximum values of the high-speed counters. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SD4503, SD4533, SD4563, SD4593, SD4623, SD4653, SD4683, SD4713, SD4502 SD4532 SD4562 SD4592 SD4622 SD4652 SD4682...

  • Page 236

    High-speed counter minimum value These devices store the minimum values of the high-speed counters. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SD4505, SD4535, SD4565, SD4595, SD4625, SD4655, SD4685, SD4715, SD4504 SD4534 SD4564 SD4594 SD4624 SD4654 SD4684...

  • Page 237

    High-speed counter pulse density These devices store the measurement results of pulse density measurement mode. ■Corresponding devices The device numbers corresponding to each channel of the CPU module are as follows. SD4507, SD4537, SD4567, SD4597, SD4627, SD4657, SD4687, SD4717, SD4506 SD4536 SD4566 SD4596...

  • Page 238

    High-speed counter preset control switch These devices set the preset input operation of the high-speed counters. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SD4510 SD4540 SD4570 SD4600 SD4630 SD4660 SD4690 SD4720 High-speed pulse input/output module First module Second module Third module...

  • Page 239

    • Operation when preset input logic: positive logic, preset control switch: falling edge The preset is executed when the preset input changes ON→OFF. Preset input Count input Current value • Operation when preset input logic: positive logic, preset control switch: rising edge + falling edge The preset is executed when the preset input changes OFF→ON and when it changes ON→OFF.

  • Page 240

    • Operation when preset input logic: positive logic, preset control switch: constant when ON The preset is constantly executed while the preset input is ON. Preset input Count input Current value • Operation when preset input logic: negative logic, preset control switch: rising edge The preset is executed when the preset input changes ON→OFF.

  • Page 241

    • Operation when preset input logic: negative logic, preset control switch: rising edge + falling edge The preset is executed when the preset input changes ON→OFF and when it changes OFF→ON. Preset input Count input Current value • Operation when preset input logic: negative logic, preset control switch: constant when ON The preset is constantly executed while the preset input is OFF.

  • Page 242

    High-speed counter preset value These devices set the values to store in the current values when presets are executed. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module SD4513, SD4543, SD4573, SD4603, SD4633, SD4663, SD4693, SD4723, SD4512 SD4542...

  • Page 243

    Precautions If the ring length is set to less than the lower limit value or more than the upper limit value, the ring length operates at the lower limit value or the upper limit value. However, the set value is stored as is. High-speed counter measurement unit time These devices set the measurement unit of pulse density measurement mode.

  • Page 244

    Precautions If the set value for the number of pulses per rotation is set to less than the lower limit value or more than the upper limit value, the number of pulses per rotation operates at the lower limit value or the upper limit value. However, the set value is stored as High-speed comparison table (high-speed compare instruction) error occurrence error code This device stores the high-speed comparison table, high-speed comparison instruction error.

  • Page 245: Special Relays/special Registers Capable Of High-speed Transfers With The Hcmov/dhcmov Instruction

    Special relays/special registers capable of high-speed transfers with the HCMOV/DHCMOV instruction The table below shows the devices that can read and write the latest value with the HCMOV/DHCMOV instruction from special relays and special registers related to the high-speed counters. When special relays and special registers are specified for (s) and (d) of instructions other than the HCMOV/DHCMOV instruction, the operation is the same as one compatible with the MOV/DMOV instruction.

  • Page 246

    Special relays shared by all channels : High-speed transfer capable (special relay is immediately updated) : Normal transfer capable (special relay is updated in END processing) : Transfer not possible (read-only) Special relay Function Compatible with HCMOV/ Compatible with MOV/ DHCMOV instruction DMOV instruction SM4980...

  • Page 247

    Special registers for individual channels This section only lists the devices for high-speed counter CH1. The devices for high-speed counter CH2 and subsequent counters have the same operation as CH1. : High-speed transfer capable (special register is immediately updated) : Normal transfer capable (special register is updated in END processing) : Transfer not possible (read-only) Special Function...

  • Page 248: Precautions When Using High-speed Counters

    This section describes the common precautions when using high-speed comparison tables and multi-point output comparison tables with the high-speed counter instructions (DHSCS, DHSCR, DHSZ instructions) or parameters. For the individual precautions on high-speed counter instructions, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks).

  • Page 249

    ■High-speed counter current value modification operation by instructions The table below shows the operations when the current value of a high-speed counter is rewritten by instructions. Instruction High-speed counter current value Page 243 Special relays/special registers capable of high-speed transfers with the HCMOV/DHCMOV instruction HCMOV/DHCMOV instruction MOV instruction, etc.

  • Page 250

    Functions that share inputs and outputs When using input/output for high-speed input/output function, other high-speed input/output functions cannot be used together depending on the combination. For positioning function, refer to MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High-speed pulse input/output module).

  • Page 251

    ■High-speed pulse input/output module • Input The following functions occupy inputs of the high-speed input/output function. The channels and the axis numbers are in module internal order. Device Input High-speed counter Pulse width Positioning *1*2 interrupt measurement X X CH1 Input A phase ...

  • Page 252

    Restrictions on simultaneous execution of the high-speed comparison table and high- speed comparison instructions There is a limit in the number of simultaneous executions of the high-speed comparison table and high-speed comparison instructions (DHSCS, DHSCR, DHSZ instruction). Shown below are conditions included in the number of simultaneous executions.

  • Page 253: Fx3-compatible High-speed Counter Function

    The FX3 compatible high-speed counter is convenient if it is used when a replacement is made from FX3 or for a similar occasion. If a high-speed counter is newly used, use the high-speed counter function of FX5. (Page 184 High-speed Counter Function) How to start/stop the high-speed counter using the LC device The method of starting/stopping the counting of the high-speed counter using the LC device is as follows.

  • Page 254: The Elements Of The Composition Of The Lc Device

    Operation example The operation of LC35 in the programming example described above is as shown below. SM4580 Up-count Down-count Up-count Count direction X0 Pulse input LC35 Current value When output has operated LC35 Count contact = Y1 The elements of the composition of the LC device Each element that composes the LC device is shown below.

  • Page 255

    The start and stop of the counting of the high-speed counter of the UDCNTF instructions and HIOEN/DHIOEN instructions with the FX3 compatible function valid are described below. For the UDCNTF instruction or HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks).

  • Page 256: Assignment For Fx3-compatible High-speed Counters

    Assignment for FX3-compatible high-speed counters The high-speed counter number that can be specified with each CH Shown here are the high-speed counter numbers (C235 to C255) of FX3 that can be selected with each CH. High-speed counter No. Pulse input mode Corresponding devices Preset input logic change ...

  • Page 257

    The assignment of the high-speed counter and the maximum frequency when the FX3 compatible function is valid Shown below is the assignment of the high-speed counter and the maximum frequency when the FX3 compatible function is valid. High-speed counter No. Maximum frequency corresponding CPU module...

  • Page 258: Fx3-compatible High-speed Counter Setting

    • If a high-speed comparison table or a multi-point output high-speed comparison table is used, it is necessary to set the parameter in the same manner as the FX5 high-speed counter. • It is necessary to specify also the input response time.

  • Page 259

    Window Displayed items Item Description Setting range Default  Use/Not Use Set whether use counter or not. • Disable • Enable Counter device Select the high speed counter of input assignment which • LC35 (Operation equivalent to C235)  is compatible with FX3. •...

  • Page 260

    Item Description Setting range Default Preset Value Sets preset input logic when preset input is enabled.    Input Comparison Enable/ Sets whether to "enable" or "disable" input comparison • Disable Disable when preset input is enabled. • Enable ...

  • Page 261: Special Relays/lc Devices Capable Of High-speed Transfers With The Hcmov/dhcmov Instruction

    Special relays/LC devices capable of high-speed transfers with the HCMOV/DHCMOV instruction Shown below are the special relay/LC device that can read and write the latest value with the HCMOV/DHCMOV instruction when the FX3 compatible high-speed counter function is valid. When special relays and special registers are specified for (s) and (d) of instructions other than the HCMOV/DHCMOV instruction, the operation is the same as one compatible with the MOV/DMOV instruction.

  • Page 262: Precautions When Using Fx3-compatible High-speed Counters

    LC device : High-speed transfer capable (special relay is immediately updated) : Normal transfer capable (special relay is updated in END processing) : Transfer not possible (read-only) LC device Function Compatible with Compatible with DHCMOV DMOV instruction instruction   ...

  • Page 263: Pulse Width Measurement Function

    24.3 Pulse Width Measurement Function This section describes the pulse width measurement function. Pulse width measurement function overview Pulse width/period measurement of up to 12 channels is possible from the CPU module and the high-speed pulse input/output module. The pulse width/period measurement function stores the values of 0.5 μs ring counters at the input signal rising edge and falling edge to special data registers.

  • Page 264

    Pulse width maximum value and minimum value The maximum value and minimum value of the pulse width from the start of measurements are stored in special devices. (Page 265 List of special relays/special registers) Period maximum value and minimum value The maximum value and minimum value of the period from the start of measurements are stored in special devices.

  • Page 265: Pulse Measurement Function Execution Procedure

    Pulse measurement function execution procedure The pulse measurement function execution procedure is shown below. Check the pulse measurement specifications. Check the specifications such as the measurement frequency of pulse measurements. (Page 261 Pulse width measurement specifications) Connect the CPU module to the external device. For details on wiring to external devices, refer to the following manual MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware)

  • Page 266

    ■High-speed pulse input/output module Add the high-speed pulse input/output module. Navigation window  [Parameter]  [Module Information]  Right-click  Add New Module After adding the high-speed pulse input/output module, make settings on the the screen displayed from the following operation.

  • Page 267: List Of Special Relays/special Registers

    List of special relays/special registers The list of special relays/special registers used in pulse width measurement is shown below. R/W: Read or write (Note, however, that only writing is allowed for the HCMOV/DHCMOV instruction.) R: Read only Special relays/ Function Description Default special...

  • Page 268

    Special relays/ Function Description Default special registers SM5052 CH1 pulse width measurement These flags turn ON at the end of the 1st pulse width complete measurement on the target channel. (They remain ON during measurement in the always measurement mode.) SM5053 CH2 pulse width measurement complete...

  • Page 269

    Special relays/ Function Description Default special registers SD5065, SD5064 CH3 pulse width latest value The latest value of the pulse width is stored. 00000000H SD5067, SD5066 CH3 pulse width maximum value The maximum value of the pulse width is stored. 00000000H SD5069, SD5068 CH3 pulse width minimum value...

  • Page 270

    Special relays/ Function Description Default special registers SD5191, SD5190 CH9 period latest value The latest value of the period is stored. 00000000H SD5193, SD5192 CH9 period maximum value The maximum value of the period is stored. 00000000H SD5195, SD5194 CH9 period minimum value The minimum value of the period is stored.

  • Page 271: Details Of Special Relays/special Registers

    Details of special relays/special registers Details of special relays/special registers used in pulse width measurement are explained below. Pulse width measurement status flag This flag is a device for monitoring the measurement in progress/measurement stopped status of pulse width measurement. ■Corresponding devices The device numbers corresponding to each channel are as follows.

  • Page 272

    Pulse width measurement complete This flag turns ON at the end of the 1st pulse width measurement. During measurement in the always measurement mode, it stays ON. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module High-speed pulse input/output module First module Second module...

  • Page 273

    Rising edge ring counter value The ring counter value when the rising edge is detected is stored. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module High-speed pulse input/output module First module Second module Third module Fourth module CH10 CH11...

  • Page 274

    Pulse width maximum value The maximum value of the pulse width is stored. • When logic switching is set to positive logic, the difference from the rising edge up to the falling edge. • When logic switching is set to negative logic, the difference from the falling edge up to the rising edge. •...

  • Page 275

    Period latest value The latest value of the period is stored. • When logic switching is set to positive logic, the difference from the previous rising edge up to the latest rising edge. • When logic switching is set to negative logic, the difference from the previous falling edge up to the latest falling edge.

  • Page 276: Cautions When Using The Pulse Width Measurement Function

    Period minimum value The minimum value of the period is stored. • When logic switching is set to positive logic, the difference from rising edge to rising edge. • When logic switching is set to negative logic, the difference from falling edge to falling edge. •...

  • Page 277

    Examples of program An example of a program using the pulse width measurement function is explained below. Outline of operation A program for measuring the delay time between the rising edges of input signals X1 and X2 on the CPU module is explained below.

  • Page 278: Pulse Catch Function

    Precautions If high-speed pulse input/output module operates in an interrupt program with the priority 1, operation error (3580H) occurs. The high-speed pulse input/output module operates in an interrupt program with the priority 2 or 3. 24.4 Pulse Catch Function This section explains the pulse catch function. Outline of pulse catch function The pulse catch function enables pulse signals that are incompletely sampled in regular input processing to be caught.

  • Page 279: Pulse Catch Function Execution Procedure

    Pulse catch function execution procedure The procedure for executing the pulse catch function is explained below. Check the pulse catch specifications. Check specifications such as the input response time of the pulse catch. (Page 276 Specifications of pulse catch function) Connect the CPU module to the external device.

  • Page 280

    Displayed items Item Description Setting range Default General/Interrupt/Pulse Set the function to be used. • General-purpose Input General-purpose Catch Set to “Interrupt (Rising) + Pulse Catch”. • Interrupt (Rising) Input • Interrupt (Falling) • Interrupt (Rising + Falling) • Interrupt (Rising) + Pulse Catch ■High-speed pulse input/output module Add the high-speed pulse input/output module.

  • Page 281: Operation Of Pulse Catch Function

    Operation of pulse catch function Operation of the pulse catch function is explained below. Basic operation of pulse catch function The corresponding input device is turned ON for the duration of the scan following the scan where the pulse signal is detected.

  • Page 282: Cautions When Using The Pulse Catch Function

    ■Operation when a pulse having an ON width of two scans or more is input The input device is turned ON for one scan only. END/Step 0 END/Step 0 Step 0 Program External Input signal turns ON input signal Input device 1 scan ON Cautions when using the pulse catch function •...

  • Page 283: Fx3-compatible Pulse Catch Function

    24.5 FX3-Compatible Pulse Catch Function This section explains the FX3-compatible pulse catch function. Outline of FX3-compatible pulse catch function An FX3-compatible pulse catch function is mounted on the CPU module, When the input signal X0 to X7 turns OFF→ON, a special relay (SM8170 to SM8177) is immediately set to ON by interrupt processing.

  • Page 284: Fx3-compatible Pulse Catch Function Execution Procedure

    FX3-compatible pulse catch function execution procedure The procedure for executing the FX3-compatible pulse catch function is explained below. Check the FX3-compatible pulse catch specifications. Check specifications such as the input response time and corresponding special relay of the FX3-compatible pulse catch. (Page 281 Specifications of FX3-compatible pulse catch function) Connect the CPU module to the external device.

  • Page 285: Operation Of Fx3-compatible Pulse Catch Function

    Operation of FX3-compatible pulse catch function Operation of the FX3-compatible pulse catch function is explained below. Operation of FX3-compatible pulse catch function When the status of the input (X0 to X7) changes OFF→ON after execution of the EI instruction, a special relay (SM8170 to SM8177) is immediately set to ON by interrupt processing.

  • Page 286: General-purpose Input Functions

    General-purpose Input Functions The FX5 PLC general-purpose inputs are explained below. Outline of general-purpose input functions For general-purpose inputs of the FX5 PLC, the input response time can be set by parameters. Specifications of general-purpose inputs Performance specifications Input response times can be set to general-purpose inputs.

  • Page 287: General-purpose Input Function Parameters

    General-purpose input function parameters This section explains the general-purpose input parameters. Set the input response time parameters in GX Works3. Parameter setting This section explains how to set the input response time parameters. Set the input response time. Navigation window  [Parameter]  [FX5UCPU]  [Module Parameter]  [Input Response Time] Window Displayed items Item...

  • Page 288: Pwm Function

    24.7 PWM Function This chapter explains the PWM function. Outline of PWM output The CPU module and the high-speed pulse input/output module allow PWM output on up to 12 channels. For PWM output, the output channel assignment, pulse/cycle units, output pulse logic, pulse width, cycle, etc. are set using parameters, and the HIOEN/DHIOEN instruction is used to start/stop pulse output.

  • Page 289

    The logical settings like output destination, cycle, pulse width, output pulse logic, etc. are set in parameters, and the HIOEN/ DHIOEN instruction is used to execute pulse output. For parameters, refer to Page 289 PWM output parameters. For the HIOEN/DHIOEN instruction, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/ Function Blocks).

  • Page 290: Pwm Output Function Execution Procedure

    PWM output function execution procedure The procedure for executing the PWM output function is explained below. Check the specifications of PWM output. Check specifications such as pulse output performance of PWM output. (Page 286 PWM output specifications) Connect the CPU module to the external device. For details on wiring to external devices, refer to the following manual MELSEC iQ-F FX5U User's Manual (Hardware) MELSEC iQ-F FX5UC User's Manual (Hardware)

  • Page 291: Pwm Output Parameters

    PWM output parameters This section explains the PWM output parameters. Set the PWM output parameters in GX Works3. Outline of parameters PWM output parameters are output destination, pulse width/cycle unit, output pulse logic, pulse width, and period. Parameter setting This section explains how to set the PWM output parameters. Set the output destination, pulse width/cycle unit, output pulse logic, pulse width, period, etc.

  • Page 292

    ■High-speed pulse input/output module Add the high-speed pulse input/output module. Navigation window  [Parameter]  [Module Information]  Right-click  Add New Module After adding the high-speed pulse input/output module, make settings on the the screen displayed from the following operation.

  • Page 293

    List of Special relays/special registers The list of special relays/special registers used in PWM output is shown below. R/W: Read or write R: Read only Special relays/ Function Description Default special registers SM5300 Operation monitor (CH1) The operation/stopped status of PWM output on the target channel can be checked.

  • Page 294

    Special relays/ Function Description Default special registers SD5303, SD5302 CH1 pulse width The pulse width is stored. SD5305, SD5304 CH1 period The period is stored. SD5307, SD5306 CH1 Number of output pulses The current value of the number of output pulses is stored. current value monitor SD5317, SD5316 CH2 number of output pulses...

  • Page 295

    Details of special relays/special registers Details of special relays/special registers used in PWM output are explained below. Operation monitor This device is for monitoring the operation/stopped status of PWM output. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module High-speed pulse input/output module First module...

  • Page 296

    PWM output abnormal end flag This device is for monitoring the end status (abnormal end) of PWM output. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module High-speed pulse input/output module First module Second module Third module Fourth module CH10...

  • Page 297

    Pulse width The pulse width of PWM output is stored. ■Corresponding devices The device numbers corresponding to each channel are as follows. CPU module High-speed pulse input/output module First module Second module Third module Fourth module CH10 CH11 CH12 SD5303, SD5319, SD5335, SD5351,...

  • Page 298: Cautions When Using The Pwm Function

    Number of output pulses current value monitor The current value of the number of output pulses of PWM output is stored. ■Corresponding devices The device numbers corresponding to each channel are as follows. SD5307, SD5306 SD5323, SD5322 SD5339, SD5338 SD5355, SD5354 ■Update timing The timing to reflect the device in operation is as follows.

  • Page 299

    Examples of program An example of a program using the PWM function is explained below. Outline of operation An example of a program using output Y0 on the CPU module to output one pulse with a delay is explained below. Parameter setting This program assumes that parameters are set as follows.

  • Page 300

    ■Program SM402 IMASK Interrupt program is permitted. SM400 SM402 DHCMOV SD5300 The number of pulses to be output is set. Y0 is reset before PWM is output. Not necessary when Y0 is already OFF. FEND Interrupt SM400 PWM output from CH1 starts by the rising pointer HIOEN edge interrupt of X0.

  • Page 301: Chapter 25 Built-in Analog Function

    By setting values into the special registers in the FX5U CPU module, the signal after D/A conversion is automatically output. For details on the function, refer to the following manual. MELSEC iQ-F FX5 User's Manual (Analog Control - CPU module builtin, Expansion adapter) 25.2 Analog Input/Output Specifications Analog input/output specification is shown below.

  • Page 302: List Of Analog Input Functions

    Item Specifications No. of occupied input/output points 0 point (does not pertain to the max. No. of input/output points of the CPU module.) *1 There is a dead band near 0 V output, which is an area where some digital input values do not reflect analog output values. *2 External load resistance is set to 2 kΩ...

  • Page 303: Part 3 Devices/labels

    PART 3 DEVICES/LABELS This part consists of the following chapters. 26 DEVICES 27 LABELS...

  • Page 304: Chapter 26 Devices

    DEVICES This chapter explains devices. 26.1 List of Devices A list of devices is provided below. Division Type Device name Symbol Notation User device Input Octal Output Octal Internal relay Decimal Latch relay Decimal Link relay Hexadecimal number Annunciator Decimal Link special relay Hexadecimal number...

  • Page 305: User Devices

    26.2 User Devices This section explains user devices. Input (X) Provides the CPU module with commands and data by external devices such as push buttons, selector switches, limit switches, digital switches, etc. Push-button switch CPU Module Selector switch Input (X) Digital switch Concept of input You can think each input point as having a virtual relay Xn built into a single CPU module.

  • Page 306: Internal Relay (m)

    Internal relay (M) Device intended to be used as an auxiliary relay inside the CPU module. All internal relays are turned OFF by the following operation. • CPU module power OFF→ON • Reset • Latch clear Latch relay (L) Auxiliary relay that can latch (backup by battery) in the CPU module. Computation results (ON/OFF information) are latched even when performing the following operations.

  • Page 307

    How to turn annunciator (F) ON Use SET F instruction. The annunciator (F) turns ON only during the rise time of input conditions (OFF→ON); the annunciator (F) remains ON even if the input condition is OFF. • The annunciator (F) can also be turned ON by OUT F instruction, but because it is processed every scan, scan time is slower than when using SET F...

  • Page 308: Link Special Relay (sb)

    How to turn annunciator (F) OFF Annunciators (F) are turned OFF by the following instruction. Instruction Application RST F instruction Used to turn OFF annunciator (F) number set by SET F instruction. BKRST instruction Used to turn a specified range of annunciator (F) numbers OFF in a batch. You can turn OFF by OUT F...

  • Page 309: Timer (t/st)

    Timer (T/ST) Device whereby measurement starts when the timer coil is turned ON, time up occurs when current value reaches the setting value, and the contact is turned ON. The timer is an addition type counter. When time is up, the current value and setting value are the same value.

  • Page 310

    Current value and measurement range of timer ■Timer The current value range is 0 to 32767. Timer processing method The timer's coil is turned ON/OFF, the current value is updated and the contact is turned ON/OFF when timer's coil (OUT T instruction) is executed.

  • Page 311

    Precautions when using timers Precautions when using timers are as follows. • Do not specify the same timer coil (OUT T instruction) more than once per scan. If you do, the current value of the timer is updated when each respective timer coil is executed, so measurement cannot be performed normally. •...

  • Page 312: Counter (c/lc)

    Counter (C/LC) Device that counts number of rises of input conditions in the program. Counters are addition type counters; they count up when the count value matches the setting value, and the contact is turned ON. For details on the FX3-compatible high-speed counter, refer to Page 251 FX3-compatible high-speed counter function. Counter type There is counter (C) that maintains the counter value in 16 bits and the long counter (LC) that maintains the counter value in 32 bits.

  • Page 313

    Counter reset Current value of counters is not cleared even if its coil input is turned OFF. To clear (reset) the current value of the counter and turn the contact OFF, use the RST C instruction/RST LC instruction. The counter value is cleared and the contact is turned OFF as soon as the RST C...

  • Page 314: Data Register (d)

    Data register (D) Device capable of storing numerical data. Link register (W) Device intended to be used as a CPU side device when refreshing word data between CPU module and network module. Refreshing network module that uses link register (W) Sends/receives data mutually between link registers (LW) in network module and link register (W) in the CPU module.

  • Page 315: Module Access Device

    26.4 Module Access Device Device that allows you to directly access the buffer memory of intelligent function modules connected to the CPU module from the CPU module. Specification method Specified by U [module number of intelligent function modules]\[buffer memory address]. (Example: U5\G11) Processing speed Processing speed of reading/writing by module access device is faster than using FROM/TO instruction.

  • Page 316: Index Registers (z/lz)

    26.5 Index Registers (Z/LZ) Device used for indexing of devices. Types of index registers There are 2 types: the index register (Z) and long index register (LZ) Index register (Z) Used for 16-bit index modification. SM402 K100 D0Z0 Access D0Z0 = D100. Long index register (LZ) Used for 32-bit index modification.

  • Page 317: File Register (r)

    26.6 File Register (R) Device capable of storing numerical data. 26.7 Nesting (N) Device for programming operating conditions by nesting using master control instructions (MC/MCR instruction) . Operation conditions are specified in ascending order (N0 to N14) from outside the nesting. Designated in ascending No.

  • Page 318: Pointer (p)

    26.8 Pointer (P) Device used by instructions such as jump instruction (CJ instruction) and subroutine program call instruction (CALL instruction, etc.). Types of pointers are as follows. Pointer Description Global pointers Pointers that can be referred to from all programs. Label assignment pointers Pointers used by assignment to labels.

  • Page 319: Interrupt Causes Of The Interrupt Pointer Numbers

    Interrupt causes of the interrupt pointer numbers A list of interrupts is provided below. Interrupt Interrupt pointer number Description Input interrupt I0 to I15 interrupt pointer used for input interrupt of CPU module. Up to 8 points can be used. High-speed comparison I16 to I23 Interrupt pointer used for high-speed comparison match interrupt of CPU module.

  • Page 320: Constant

    26.10 Constant This section explains constants. Decimal constant (K) Device that specifies decimal data for the program. Specified by K. (Example: K1234) The specification range is determined by type of argument data of instruction using a decimal constant. Argument data type of instruction Specification range of decimal constants Data size Data type name...

  • Page 321: Chapter 27 Labels

    No. *1 Label and device can be used in mixed manner. For details on label, refer to the following. MELSEC iQ-F FX5 Programming Manual (Program Design) 27 LABELS...

  • Page 322: Appendix

    APPENDIX Appendix 1 Special Relay List Diagnostic information The special relays for diagnostic information are shown below. R: Read only, R/W: Read/Write Name Description Latest self diagnostics error (including annunciator ON) OFF: No error ON: Error Latest self diagnostics error (not including annunciator OFF: No self-diagnosis errors ON: Self-diagnosis error SM50...

  • Page 323

    System clock The special relay about system clock is shown below. R: Read only, R/W: Read/Write Name Description SM400 Always ON SM401 Always OFF SM402 After RUN, ON for one scan only 1 scan SM403 After RUN, OFF for one scan only 1 scan SM409 0.01 second clock...

  • Page 324

    Drive information The special relays for drive information are shown below. R: Read only, R/W: Read/Write Name Description SM600 Memory card usable OFF: Unusable ON: Use enabled SM601 Memory card protect OFF: Not protected ON: Protected SM603 Memory card insertion OFF: No drive 2 ON: Drive 2 present SM605...

  • Page 325

    Latch area The special relays for latch area are shown below. R: Read only, R/W: Read/Write Name Description SM953 Data backup error check flag OFF: No error ON: Error SM959 Data restoration error check flag OFF: No error ON: Error Data logging function The special relays for data logging function are shown below.

  • Page 326

    Memory dump function The special relays for memory dump function are shown below. R: Read only, R/W: Read/Write Name Description SM1472 Memory dump in progress OFF: Memory dump not executed ON : Memory dump in progress SM1473 Memory dump completed OFF: Not completed ON : Completed CC-Link IE Field Network Basic function...

  • Page 327

    Name Description SM4516 High-speed counter pulse density/Rotation speed OFF: Stopped measurement (CH1) ON: Measurement SM4517 High-speed counter pulse density/Rotation speed OFF: Stopped measurement (CH2) ON: Measurement SM4518 High-speed counter pulse density/Rotation speed OFF: Stopped measurement (CH3) ON: Measurement SM4519 High-speed counter pulse density/Rotation speed OFF: Stopped measurement (CH4) ON: Measurement...

  • Page 328

    Name Description SM4554 High-speed counter underflow (CH7) OFF: No error ON: Underflow SM4555 High-speed counter underflow (CH8) OFF: No error ON: Underflow SM4556 High-speed counter underflow (CH9) OFF: No error ON: Underflow SM4557 High-speed counter underflow (CH10) OFF: No error ON: Underflow SM4558 High-speed counter underflow (CH11)

  • Page 329

    Name Description SM4584 High-speed counter count switching (CH5) (1-phase 1- OFF: Up-counting input S/W) ON: Down-counting SM4585 High-speed counter count switching (CH6) (1-phase 1- OFF: Up-counting input S/W) ON: Down-counting SM4586 High-speed counter count switching (CH7) (1-phase 1- OFF: Up-counting input S/W) ON: Down-counting SM4587...

  • Page 330

    Name Description SM4614 High-speed counter preset input comparison (CH3) OFF: Disabled ON: Enabled SM4615 High-speed counter preset input comparison (CH4) OFF: Disabled ON: Enabled SM4616 High-speed counter preset input comparison (CH5) OFF: Disabled ON: Enabled SM4617 High-speed counter preset input comparison (CH6) OFF: Disabled ON: Enabled SM4618...

  • Page 331

    Name Description SM4644 High-speed counter ring length (CH1) OFF: Disabled ON: Enabled SM4645 High-speed counter ring length (CH2) OFF: Disabled ON: Enabled SM4646 High-speed counter ring length (CH3) OFF: Disabled ON: Enabled SM4647 High-speed counter ring length (CH4) OFF: Disabled ON: Enabled SM4648 High-speed counter ring length (CH5)

  • Page 332

    Name Description SM5022 Pulse width measurement operation (CH3) OFF: Stopped ON: Operation SM5023 Pulse width measurement operation (CH4) OFF: Stopped ON: Operation SM5024 Pulse width measurement operation (CH5) OFF: Stopped ON: Operation SM5025 Pulse width measurement operation (CH6) OFF: Stopped ON: Operation SM5026 Pulse width measurement operation (CH7)

  • Page 333

    Name Description SM5060 Pulse width measurement pulse width measurement OFF: Pulse width measurement not completed complete (CH9) ON: Pulse width measurement completion SM5061 Pulse width measurement pulse width measurement OFF: Pulse width measurement not completed complete (CH10) ON: Pulse width measurement completion SM5062 Pulse width measurement pulse width measurement OFF: Pulse width measurement not completed...

  • Page 334

    Name Description SM5318 PWM output complete flag (CH3) OFF: Other than normally end ON: Normally end SM5319 PWM output complete flag (CH4) OFF: Other than normally end ON: Normally end SM5320 PWM output complete flag (CH5) OFF: Other than normally end ON: Normally end SM5321 PWM output complete flag (CH6)

  • Page 335

    Name Description SM5508 Positioning instruction activation (axis 9) OFF: Stopped ON: Operation SM5509 Positioning instruction activation (axis 10) OFF: Stopped ON: Operation SM5510 Positioning instruction activation (axis 11) OFF: Stopped ON: Operation SM5511 Positioning instruction activation (axis 12) OFF: Stopped ON: Operation SM5516 Positioning pulse output monitor (axis 1)

  • Page 336

    Name Description SM5582 Positioning table shift instructions (axis 3) OFF: No table shift ON: Table shift start SM5583 Positioning table shift instructions (axis 4) OFF: No table shift ON: Table shift start SM5584 Positioning table shift instructions (axis 5) OFF: No table shift ON: Table shift start SM5585 Positioning table shift instructions (axis 6)

  • Page 337

    Name Description SM5620 Positioning remaining distance operation start (axis 9) OFF: Remaining distance operation standby ON: Remaining distance operation start SM5621 Positioning remaining distance operation start (axis 10) OFF: Remaining distance operation standby ON: Remaining distance operation start SM5622 Positioning remaining distance operation start (axis 11) OFF: Remaining distance operation standby ON: Remaining distance operation start SM5623...

  • Page 338

    Name Description SM5662 Positioning forward rotation limit (axis 3) OFF: Forward rotation limit OFF ON: Forward rotation limit ON SM5663 Positioning forward rotation limit (axis 4) OFF: Forward rotation limit OFF ON: Forward rotation limit ON SM5664 Positioning forward rotation limit (axis 5) OFF: Forward rotation limit OFF ON: Forward rotation limit ON SM5665...

  • Page 339

    Name Description SM5780 Positioning rotational direction (axis 9) OFF: Forward rotation (Current address increases) ON: Reverse rotation (Current address increases) SM5781 Positioning rotational direction (axis 10) OFF: Forward rotation (Current address increases) ON: Reverse rotation (Current address increases) SM5782 Positioning rotational direction (axis 11) OFF: Forward rotation (Current address increases) ON: Reverse rotation (Current address increases) SM5783...

  • Page 340

    Name Description SM5870 Positioning zero-point signal count start (axis 3) OFF: Near point DOG backward end ON: Near point DOG forward end SM5871 Positioning zero-point signal count start (axis 4) OFF: Near point DOG backward end ON: Near point DOG forward end SM5872 Positioning zero-point signal count start (axis 5) OFF: Near point DOG backward end...

  • Page 341

    Built-in analog The special relays for built-in analog are shown below. R: Read only, R/W: Read/Write Name Description SM6020 CH1 A/D conversion completed flag OFF: A/D conversion not completed ON: A/D conversion completed SM6021 CH1 A/D conversion enable/disable setting OFF: A/D conversion enable ON: A/D conversion disable SM6022 CH1 Over scaling detection flag...

  • Page 342

    Name Description SM6098 CH2 A/D alarm flag OFF: No alarm ON: Alarm SM6099 CH2 A/D error flag OFF: No error ON: Error SM6180 D/A conversion enable/disable setting OFF: D/A conversion enable ON: D/A conversion disable SM6181 D/A output enable/disable OFF: Output enable ON: Output disable SM6188 Scaling enable/disable setting...

  • Page 343

    Name Description SM8016 Time read display is stopped When SM8016 turns ON, the time display is stopped. ±30 seconds correction SM8017 At the edge from OFF to ON, the RTC is set to the nearest minute. (When the second data is from 0 to 29, it is set to 0. When the second data is from 30 to 59, it is set to 0 and the minute data is incriminated by "1".) SM8019...

  • Page 344

    Name Description SM8059 I00 disable (Counter interrupt disable) OFF: Interrupt enabled ON: Interrupt disabled SM8063 Serial communication error1 (ch1) OFF: No error ON: Error SM8067 Operation error OFF: No error ON: Error SM8068 Operation error latch OFF: No error ON: Error (latch) SM8072 Parallel link operation OFF: In stopped state...

  • Page 345

    Name Description SM8247 LC47 counting direction monitoring OFF: Down count operation ON: Up count operation SM8248 LC48 counting direction monitoring OFF: Down count operation ON: Up count operation SM8249 LC49 counting direction monitoring OFF: Down count operation ON: Up count operation SM8250 LC50 counting direction monitoring OFF: Down count operation...

  • Page 346

    Name Description SM8422 MODBUS communication error (ch2) OFF: No error ON: Error SM8423 MODBUS communication error (latched) (ch2) OFF: No error ON: Error (latch) SM8424 RS2 Carrier detection flag (ch2)/MODBUS communication Carrier detection flag or listen only mode ON when operating. mode (ch2) SM8425 RS2 Data set ready (DSR) flag (ch2)

  • Page 347

    Serial communication The special relays for serial communication are shown below. R: Read only, R/W: Read/Write Name Description SM8500 Serial communication error (ch1) OFF: No error ON: Error SM8510 Serial communication error (ch2) OFF: No error ON: Error SM8520 Serial communication error (ch3) OFF: No error ON: Error SM8530...

  • Page 348

    Name Description SM8810 MODBUS RTU communication (ch2) OFF: Communication stop ON: Communication SM8811 Retry (ch2) OFF: No retry ON: Retry SM8812 Timeout (ch2) OFF: Not timeout ON: Timeout SM8820 MODBUS RTU communication (ch3) OFF: Communication stop ON: Communication SM8821 Retry (ch3) OFF: No retry ON: Retry SM8822...

  • Page 349

    Name Description SM9080 Station No. setting SD latch enabled OFF: Latch disabled ON: Latch enabled SM9081 Slave station total number setting SD latch enabled OFF: Latch disabled ON: Latch enabled SM9090 Parallel link operation OFF: In stopped state ON: In normal running state *1 Latch disabled: R, Latch enabled: R/W Data logging function The special relays for data logging function are shown below.

  • Page 350: Appendix 2 Special Register List

    Appendix 2 Special Register List Diagnostic information The special registers for diagnostic information are shown below. R: Read only, R/W: Read/Write Name Description Latest self diagnostics error code This register stores the latest self-diagnosis error code. Clock time for self diagnosis error occurrence (Year) This register stores the latest self-diagnosis error time (Year).

  • Page 351

    Name Description SD81 to Detailed information 1 • Detailed information 1 corresponding to the error code (SD0) is SD111 stored. • There are six types of information to be stored as shown in the following figures. • The type of detailed information 1 can be obtained using SD80 (the value of the "Detailed information 1 information category code"...

  • Page 352

    Name Description SD81 to Detailed information 1 (5) System configuration information SD111 b8 b7 b1b0 SD81 With or without specification Head X No. Head Y No.  8 Head X No.  8 SD82 Head Y No. SD83 Function No. Module position Module position Function No.

  • Page 353

    Name Description SD113 to Detailed information 2 • Detailed information 2 corresponding to the error code (SD0) is SD143 stored. • There are four types of information to be stored as shown in the following figures. • The type of detailed information 2 can be obtained using SD112 (the value of the "Detailed information 2 information category code"...

  • Page 354

    System information The special registers for system information are shown below. R: Read only, R/W: Read/Write Name Description SD200 Switch Status This register stores the CPU switch status. 0: RUN 1: STOP SD201 LED Status This register stores the LED status. b0: STOP b4: RUN b5: PAUSE...

  • Page 355

    Name Description SD302 LZ Device Size This register stores the number of LZ device points used. SD304 R Device Size [Lower] This register stores the number of R device points used as 32-bit value. SD305 R Device Size [Upper] System clock The special registers for system clock are shown below.

  • Page 356

    Name Description SD526 END processing time (ms) • The time period from completion of a scan program until start of the next scan is stored into SD526 to SD527 (it is measured in SD527 END processing time (μs) increments of μs). SD526: stores a value in the ms place (storage range: 0 to 65535) SD527: stores a value in the μs place (storage range: 0 to 999)

  • Page 357

    Instruction related The special registers related to instruction execution are shown below. R: Read only, R/W: Read/Write Name Description SD757 Current interrupt priority This register stores the interrupt priority of the interrupt program being executed. 1 to 3: The interrupt priority of interrupt program executed. 0: The interrupt is not executed.

  • Page 358

    Data logging function The special registers for data logging function are shown below. R: Read only, R/W: Read/Write Name Description SD1210 Data logging setting No.1 Latest storage file number [Low- This register stores the latest storage file number. order] SD1211 Data logging setting No.1 Latest storage file number [High-order] SD1212...

  • Page 359

    Memory dump function The special registers for memory dump function are shown below. R: Read only, R/W: Read/Write Name Description SD1472 Memory dump error cause The cause of the error that occurred during the memory dump function is stored. 0: No error Other than 0: Error codes CC-Link IE Field Network Basic function The special registers for CC-Link IE Field Network Basic function are shown below.

  • Page 360

    FX dedicated The special registers dedicated to FX are shown below. R: Read only, R/W: Read/Write Name Description SD4110 Error code 1 details This register stores the self-diagnosis error code details. • Module position [Low order 8 bit] SD4111 Error code 2 details 0H: CPU module SD4112 Error code 3 details...

  • Page 361

    Name Description SD4210 All module reset command permission code This register stores the code for permission to reset all modules other than the CPU module. 0H: Reset disable F5F5H: Reset enable (reset execution by turning ON SM4210) SD4462 Cumulative powered time [Low-order] This register stores the cumulative powered time (unit: second).

  • Page 362

    Name Description SD4548 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per order] (CH2) rotation (CH2). SD4549 High-speed counter number of pulses per rotation [High- order] (CH2) SD4560 High-speed counter current value [Low-order] (CH3) This register stores the high-speed counter current value (CH3).

  • Page 363

    Name Description SD4624 High-speed counter minimum value [Low-order] (CH5) This register stores the high-speed counter minimum value (CH5). SD4625 High-speed counter minimum value [High-order] (CH5) SD4626 High-speed counter pulse density [Low-order] (CH5) This register stores the high-speed counter pulse density (CH5). SD4627 High-speed counter pulse density [High-order] (CH5) SD4628...

  • Page 364

    Name Description SD4692 High-speed counter preset value [Low-order] (CH7) This register stores the high-speed counter preset value (CH7). SD4693 High-speed counter preset value [High-order] (CH7) SD4694 High-speed counter ring length [Low-order] (CH7) This register stores the high-speed counter ring length (CH7). SD4695 High-speed counter ring length [High-order] (CH7) SD4696...

  • Page 365

    Name Description SD4782 High-speed counter preset value [Low-order] (CH10) This register stores the high-speed counter preset value (CH10). SD4783 High-speed counter preset value [High-order] (CH10) SD4784 High-speed counter ring length [Low-order] (CH10) This register stores the high-speed counter ring length (CH10). SD4785 High-speed counter ring length [High-order] (CH10) SD4800...

  • Page 366

    Name Description SD4922 High-speed counter maximum value [Low-order] (CH15) This register stores the high-speed counter maximum value (CH15). SD4923 High-speed counter maximum value [High-order] (CH15) SD4924 High-speed counter minimum value [Low-order] (CH15) This register stores the high-speed counter minimum value (CH15).

  • Page 367

    Name Description SD5032 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum order] (CH1) value (CH1). SD5033 Pulse width measurement cycle maximum value [High- order] (CH1) SD5034 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum order] (CH1) value (CH1).

  • Page 368

    Name Description SD5072 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum order] (CH3) value (CH3). SD5073 Pulse width measurement cycle maximum value [High- order] (CH3) SD5074 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum order] (CH3) value (CH3).

  • Page 369

    Name Description SD5112 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum order] (CH5) value (CH5). SD5113 Pulse width measurement cycle maximum value [High- order] (CH5) SD5114 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum order] (CH5) value (CH5).

  • Page 370

    Name Description SD5152 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum order] (CH7) value (CH7). SD5153 Pulse width measurement cycle maximum value [High- order] (CH7) SD5154 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum order] (CH7) value (CH7).

  • Page 371

    Name Description SD5192 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum order] (CH9) value (CH9). SD5193 Pulse width measurement cycle maximum value [High- order] (CH9) SD5194 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum order] (CH9) value (CH9).

  • Page 372

    Name Description SD5230 Pulse width measurement cycle latest value [Low-order] This register stores the pulse width measurement cycle latest (CH11) value (CH11). SD5231 Pulse width measurement cycle latest value [High-order] (CH11) SD5232 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum order] (CH11) value (CH11).

  • Page 373

    Name Description SD5322 PWM Number of output pulses current value monitor This register stores the PWM pulse output number current value [Low-order] (CH2) (CH2). SD5323 PWM Number of output pulses current value monitor [High-order] (CH2) SD5332 PWM pulse output number [Low-order] (CH3) This register stores the PWM pulse output number (CH3).

  • Page 374

    Name Description SD5444 PWM pulse output number [Low-order] (CH10) This register stores the PWM pulse output number (CH10). SD5445 PWM pulse output number [High-order] (CH10) SD5446 PWM pulse width [Low-order] (CH10) This register stores the PWM pulse width (CH10). SD5447 PWM pulse width [High-order] (CH10) SD5448 PWM cycle [Low-order] (CH10)

  • Page 375

    Name Description SD5544 Positioning current speed (user unit) [Low-order] (axis 2) This register stores the current speed (user unit) of positioning (axis 2). SD5545 Positioning current speed (user unit) [High-order] (axis 2) SD5546 Positioning execution table number (axis 2) This register stores the execution table number of positioning (axis 2).

  • Page 376

    Name Description SD5622 Positioning current address (pulse unit) [Low-order] (axis This register stores the current address (pulse unit) of positioning (axis 4). SD5623 Positioning current address (pulse unit) [High-order] (axis SD5624 Positioning current speed (user unit) [Low-order] (axis 4) This register stores the current speed (user unit) of positioning (axis 4).

  • Page 377

    Name Description SD5692 Positioning number of zero-point signal for zero return This register stores the number of zero-point signal for zero return (axis 5) of positioning (axis 5). SD5693 Positioning zero-return dwell time (axis 5) This register stores the zero-return dwell time of positioning (axis SD5700 Positioning current address (user unit) [Low-order] (axis 6) This register stores the current address (user unit) of positioning...

  • Page 378

    Name Description SD5758 Positioning bias speed [Low-order] (axis 7) This register stores the bias speed of positioning (axis 7). SD5759 Positioning bias speed [High-order] (axis 7) SD5760 Positioning acceleration time (axis 7) This register stores the acceleration time of positioning (axis 7). SD5761 Positioning deceleration time (axis 7) This register stores the deceleration time of positioning (axis 7).

  • Page 379

    Name Description SD5826 Positioning execution table number (axis 9) This register stores the execution table number of positioning (axis 9). SD5828 Positioning current speed (composite speed) [Low-order] This register stores the current speed (composite speed) of (axis 9) positioning (axis 9). SD5829 Positioning current speed (composite speed) [High-order] (axis 9)

  • Page 380

    Name Description SD5892 Positioning number of zero-point signal for zero return This register stores the number of zero-point signal for zero return (axis 10) of positioning (axis 10). SD5893 Positioning zero-return dwell time (axis 10) This register stores the zero-return dwell time of positioning (axis 10).

  • Page 381

    Name Description SD5956 Positioning maximum speed [Low-order] (axis 12) This register stores the maximum speed of positioning (axis 12). SD5957 Positioning maximum speed [High-order] (axis 12) SD5958 Positioning bias speed [Low-order] (axis 12) This register stores the bias speed of positioning (axis 12). SD5959 Positioning bias speed [High-order] (axis 12) SD5960...

  • Page 382

    Name Description SD6098 CH2 Latest alarm code This register stores the latest alarm code. SD6099 CH2 Latest error code This register stores the latest error code. SD6180 Digital input value This register stores the digital input value. SD6181 Digital operation value This register stores the digital operation value.

  • Page 383

    Name Description SD8140 PLSY Accumulated number of pulses output [Low-order] This register stores the PLSY instruction accumulated number of (axis 1) pulses output (to axis 1). SD8141 PLSY Accumulated number of pulses output [High-order] (axis 1) SD8142 PLSY Accumulated number of pulses output [Low-order] This register stores the PLSY instruction accumulated number of (axis 2) pulses output (to axis 2).

  • Page 384

    Name Description SD8233 Number of communication error at slave station No.3 This register stores the number of communication error at slave station No.3. SD8234 Number of communication error at slave station No.4 This register stores the number of communication error at slave station No.4.

  • Page 385

    Name Description SD8496 Default gateway IP address setting [Low-order] This register stores the default gateway IP address. SD8497 Default gateway IP address setting [High-order] SD8498 IP address storage area write error code This register stores error codes if writing to IP address storage area is failed.

  • Page 386

    Name Description SD8624 Header 3 and 4 (ch1) This register stores the header 3 and 4 (ch1). SD8625 Terminator 1 and 2 (ch1) This register stores the terminator 1 and 2 (ch1). SD8626 Terminator 3 and 4 (ch1) This register stores the terminator 3 and 4 (ch1). SD8631 Timeout time (ch2) This register stores the timeout time (ch2).

  • Page 387

    Name Description SD8884 Message to message delay (ch3) This register stores the request to request delay (ch3). SD8885 Number of retries (ch3) This register stores the number of retries during timeout (ch3). SD8890 Communication format (ch4) This register stores the communication format (ch4). SD8891 Slave node address (ch4) This register stores the host station number (ch4).

  • Page 388

    Name Description SD9082 Refresh range setting This register stores the refresh range setting. SD9083 Retry count setting This register stores the retry count setting. SD9084 Communication time-out setting This register stores the communication time-out setting. SD9090 Master station/slave station setting The master station/slave station settings are stored.

  • Page 389

    Built-in Ethernet The special registers for built-in Ethernet are shown below. R: Read only, R/W: Read/Write Name Description SD10050 Local node IP address [Low-order] This register stores the local node IP address. SD10051 Local node IP address [High-order] SD10060 Subnet mask [Low-order] This register stores the subnet mask.

  • Page 390

    Name Description SD10340 MELSOFT direct connection continuous unlock failure This register stores the MELSOFT direct connection continuous number of times unlock failure number of times. SD10680 Open completion signal b0: Connection No.1 b1: Connection No.2 b2: Connection No.3 b3: Connection No.4 b4: Connection No.5 b5: Connection No.6 b6: Connection No.7...

  • Page 391

    Name Description SD10743 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10744 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 392

    Name Description SD10763 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10764 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 393

    Name Description SD10783 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10784 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 394

    Name Description SD10803 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10804 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 395

    Name Description SD10823 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10824 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 396

    Name Description SD10843 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10844 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 397

    Name Description SD10863 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10864 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 398

    Name Description SD10883 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.2. packet No.2) Element No. where the verification result did not match (b0 to b7) The cause of mismatch (verification result code) (b8 to b15) SD10884 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.3.

  • Page 399

    CC-Link IE Field Network Basic function The special registers for CC-Link IE Field Network Basic function are shown below. R: Read only, R/W: Read/Write Name Description SD11100 Total number of connected stations The total number of connected stations set in parameter is stored.

  • Page 400

    Name Description SD11128 Diagnostic information status flag After the END instruction of the scan where the bit 0 of 'Diagnostic information display request' (SD11126)) is turned off and on is executed, the status (valid or invalid) of diagnostic information (Diagnostic information 1, Diagnostic information 2) of the slave station specified in 'Diagnostic request information' (SD11127) is stored.

  • Page 401

    Name Description SD11144 Diagnostic information 2 When Diagnostic information 2 is valid (1 is stored in b8 to b15 of SD11128), the manufacturer code, model code, device SD11153 version, module information, error code, and detailed module information are stored. When Diagnostic information 2 is invalid (0 is stored in b8 to b15 of SD11128), 0 is stored.

  • Page 402: Appendix 3 Error Code

    The error code can be checked in either of the following ways. • Module diagnostics of engineering tool (MELSEC iQ-F FX5 User's Manual (Startup)) • Special register (SD0 (latest self-diagnostics error code), SD10 to SD25 (self-diagnostics error code)) (Page 348 Special Register List) This section describes errors that may occur in the CPU module and actions to be taken for the errors.

  • Page 403: Operation When An Error Occurs

    Operation when an error occurs There are two types of errors: continuation errors and stop errors. Stop error If a stop error occurs, the CPU module stops its operation and the operating state will be in STOP. Modules can communicate with the CPU module even after a stop error occurs in the CPU module.

  • Page 404

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 1821H Write during RUN • Writing during RUN (change or deletion) • Verify that the writing during RUN (change or Error location At END error (axis 1) is performed on an instruction being deletion) is performed on an instruction information...

  • Page 405

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 1829H Write during RUN • Writing during RUN (change or deletion) • Verify that the writing during RUN (change or Error location At END error (axis 9) is performed on an instruction being deletion) is performed on an instruction information...

  • Page 406

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 1FE3H Module • The module specified in the I/O • Make sure that the parameters are System At power-on, configuration assignment setting of the parameters is consistent with the connections. configuration at RESET error...

  • Page 407

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 21A1H File specification • The file specified in parameter cannot be • Check the detailed information (parameter Drive/file At power-on, error created. information) of the error by executing module information at RESET diagnostics using the engineering tool, and...

  • Page 408

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 2320H Remote • A module supporting remote passwords • Recheck the remote password parameter System At power-on, password setting is not connected to the module number setting or module configuration. configuration at RESET error...

  • Page 409

    If the same error information at RESET appears, the hardware of the CPU module may be malfunctioning. Consult your local Mitsubishi Electric representative. 3003H Boot function • A mismatch between the file password • Check the file password 32 of the boot...

  • Page 410

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3015H Data restoration • A folder with a value that matches the • Check and correct the restoration target date CPU module At power-on, function restoration target date folder setting folder setting value or number folder setting data backup/ at RESET...

  • Page 411

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3050H System bus error • Communication with the module failed • Verify that the connected module is powered System At power-on, due to power discontinuity or the like. configuration at RESET •...

  • Page 412

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3057H System bus error • A timeout occurred during • Verify that extension cables are correctly System At END communication with a connected module connected. configuration instruction during system processing.

  • Page 413

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3200H Program • The device/label assignment does not • If the index modification setting of the PLC Drive/file At power-on, execution error match the device/label assignment in the parameter is changed, write the parameter information at RESET...

  • Page 414

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 33E2H Program • An instruction that should start from the • Rewrite the program file. Error location At power-on, structure error bus line is not connected to the bus line. information at RESET 33E3H...

  • Page 415

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 350CH Operation error • The variation of measured value is • The operation is continued with the Error location At instruction greater than the maximum value or lower maximum or minimum value.

  • Page 416

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 351CH Operation error • The auto tuning time is longer than • Increase the difference (ULV - LLV) between Error location At instruction necessary. the upper limit and lower limit of the output information execution value for auto tuning, set a smaller value to...

  • Page 417

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3617H CH7 pulse width, • The value of the special register to set • Modify the value of the special register and Error location At END period setting the pulse width and cycle of the PWM/ restart PWM.

  • Page 418

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3628H Axis 8 limit • Both the forward and reverse limits were • Recheck the relationship between the near- Error location At END detection error detected at the time of zero return or the point dog and limits.

  • Page 419

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3634H Axis 4 positioning • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END address error the unit of the positioning address was information instruction converted.

  • Page 420

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3638H Axis 8 positioning • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END address error the unit of the positioning address was information instruction converted.

  • Page 421

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 363CH Axis 12 • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END positioning the unit of the positioning address was information instruction address error...

  • Page 422

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 364BH Axis 11 • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At instruction command speed the unit of the command speed was information execution error...

  • Page 423

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3654H Axis 4 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END (deceleration positioning was starting, the PLC and restart the positioning.

  • Page 424

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3658H Axis 8 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END (deceleration positioning was starting, the PLC and restart the positioning.

  • Page 425

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 365CH Axis 12 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END (deceleration positioning was starting, the PLC and restart the positioning.

  • Page 426

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 366BH Axis 11 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END (immediately positioning was rising, the PLC stopped and restart the positioning.

  • Page 427

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 367CH Axis 12 • The value of an operand in the table is • Set the correct value to the table. Error location At END positioning table abnormal.

  • Page 428

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 3691H Axis 1 positioning • Table shift cannot be completed in time • Set the interval of table shifts to 10 ms or Error location At interrupt table shift error because one or more tables shifted per greater.

  • Page 429

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 369AH Axis 10 • Table shift cannot be completed in time • Set the interval of table shifts to 10 ms or Error location At interrupt positioning table because one or more tables shifted per greater.

  • Page 430

    Error Error name Error details and cause Action Detailed Diagnostic code information timing 36AAH Axis 10 • The counterpart axis table for the • Set the table of the counterpart axis Error location At instruction interpolation interpolation operation cannot be found. correctly.

  • Page 431

    RESET CPU module may be malfunctioning. information Consult your local Mitsubishi Electric representative. 3C01H Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If...

  • Page 432

     At power-on, the same error appears, the hardware of the at RESET CPU module may be malfunctioning. Consult your local Mitsubishi Electric representative. 3C20H Memory error • A memory error was detected. • Reset the CPU module and perform RUN. If ...

  • Page 433

    Error codes of the CPU module (4000H to 4FFFH) The following table lists the error codes detected by other causes than the self-diagnostics function of the CPU module. Error Error name Error details and cause Action code 4000H Common error •...

  • Page 434

    Error Error name Error details and cause Action code 4040H Intelligent • The request contents cannot be executed in the specified • Check whether the specified module is the intelligent function module intelligent function module. function module having the buffer memory. specification error 4041H...

  • Page 435

    Error Error name Error details and cause Action code 413BH File related error • The same file was simultaneously accessed from different • Execute again after a while. engineering tools. ■When CPU Module Logging Configuration Tool is used • An operation was performed to a file being accessed. 413EH File related error •...

  • Page 436

    Error Error name Error details and cause Action code 41CDH File related error • An access to the file is prohibited in the system. • Do not access the specified file or subdirectory. ■When CPU Module Logging Configuration Tool is used •...

  • Page 437

    Error Error name Error details and cause Action code 4279H Data logging • An attempt was made to register data logging in a state • The number of saved files has exceeded the preset number function error where the number of saved files is more than the preset of saved files in the storage memory for a result of data number.

  • Page 438

    Error Error name Error details and cause Action code 480DH iQ Sensor • The specified command cannot be executed because the • Execute the command again after the communication Solution related communication setting reflection function of iQ Sensor setting reflection processing ends. error Solution is being executed.

  • Page 439

    Error Error name Error details and cause Action code 4C11H CPU function • An SD memory card is not inserted. • Insert or re-insert an SD memory card, and execute the dedicated error • An SD memory card is disabled by SM606 (SD memory function again.

  • Page 440

    Error codes of the CC-Link IE Field Network Basic (CFC0H to CFFFH) The following table lists the error codes detected by the CC-Link IE Field Network Basic function. Error Error name Error details and cause Action code CFC0H Cyclic transmission •...

  • Page 441: Appendix 4 Parameter List

    Appendix 4 Parameter List A parameter list is shown below. System parameters Classification-Level 1 Classification-Level 2 Classification-Level 3  I/O Assignment Setting Model Name  Intelligent Module No.  Serial Communication ch  Number of Input Points Number of Output Points ...

  • Page 442: Module Parameters

    Module parameters Ethernet Port Classification-Level 1 Classification-Level 2 Classification-Level 3 Basic Settings Own Node Settings IP Address Communication Data Code CC-Link IEF Basic Setting To Use or Not to Use CC-Link IEF Basic Setting Network Configuration Settings Refresh Settings External Device Configuration External Device Configuration Application Settings FTP Server Settings...

  • Page 443

    ■MC Protocol Classification-Level 1 Classification-Level 2 Classification-Level 3 Basic Settings Communication Protocol Type Communication Protocol Type Advanced Settings Data Length Parity Bit Stop Bit Baud Rate Sum Check Code Fixed Setting Station Number Station Number Message Pattern Message Pattern Time-out Period Time-out Period SM/SD Setting Latch Setting...

  • Page 444

    ■Inverter Communication Classification-Level 1 Classification-Level 2 Classification-Level 3 Basic Settings Communication Protocol Type Communication Protocol Type Advanced Settings Data Length Parity Bit Stop Bit Baud Rate Fixed Setting Response Waiting Time Response Waiting Time SM/SD Setting Latch Setting Advanced Settings Response Waiting Time FX3 Series Compatibility SM/SD for Compatible...

  • Page 445

    High Speed I/O Settings Classification-Level 1 Classification-Level 2 Classification-Level 3 Input Function General/Interrupt/Pulse catch General/Interrupt/Pulse catch High Speed Counter High Speed Counter Pulse Width Measurement Pulse Width Measurement Output Function Positioning Positioning Input Check Input Response Time Input Response Time Input Interrupt Rising Falling...

  • Page 446

    Classification-Level 1 Classification-Level 2 Classification-Level 3 High Speed Compare Table Counter CH   Comparison Type Output Destination Device   Comparison Value 1 Specification Method  Comparison Value 1 Direct  Comparison Value 1 Indirect  Comparison Value 2 Specification Method Comparison Value 2 Direct ...

  • Page 447

    ■Positioning Classification-Level 1 Classification-Level 2 Classification-Level 3 Basic Settings Basic Parameters 1 Pulse Output Mode Output Device (PULSE/CW) Output Device (SIGN/CCW) Rotation Direction Setting Unit Setting Pulse No. of per Rotation Movement Amount per Rotation Position Data Magnification Basic Parameters 2 Interpolation Speed Specified Method Max.

  • Page 448

    ■PWM Classification-Level 1 Classification-Level 2 Classification-Level 3 Basic Settings Use PWM Output Use/Not Use Output Signal Output Signal Pulse Width/Cycle Unit Pulse Width/Cycle Unit Output Pulse Logic Output Pulse Logic Pulse Width Pulse Width Cycle Cycle Input Response Time Setting Classification-Level 1 Classification-Level 2 Classification-Level 3...

  • Page 449: Memory Card Parameters

    Memory card parameters Classification-Level 1 Classification-Level 2 Classification-Level 3 Boot Setting Boot Setting Clear the CPU built-in memory before boot Boot File Setting Setting of File/Data Use or Not in Memory Card Module Extended Parameter APPX Appendix 4 Parameter List...

  • Page 450: Appendix 5 Event List

    Appendix 5 Event List Information including errors detected in the CPU module, expansion board and expansion adapter, and errors that occur in the network are collected and saved in the CPU built-in memory or SD memory card by the CPU module. (Page 160 Event History Function) When an event occurs, its event code and details can be read by using an engineering tool.

  • Page 451: Event List

    Event list The following table lists events related to the CPU module. Event Event Event Detected event Description Detailed information code type category Detailed Detailed Detailed information information information 00800 System Warning Link-down The CPU module has entered into the link- Operation Communicatio ...

  • Page 452: Appendix 6 Processing Time

    Appendix 6 Processing Time Each of the processing time that constitutes the scan time is as follows. Data logging function processing time Shows the processing time taken to store the data when executing the data logging function. Shows the minimum specified time value that can collect without losing the data when executing the continuous logging.

  • Page 453: Appendix 7 How To Use Cpu Module Logging Configuration Tool

    For details on GX LogViewer, refer to the following: GX LogViewer Version 1 Operating Manual FX5 CPU module is supported in version 1.64S or later of GX LogViewer. ■Operating environment of CPU Module Logging Configuration Tool For details on the operating environment for CPU Module Logging Configuration Tool, refer to following manual which is stored in the installer.

  • Page 454

    To connect the CPU module to a personal computer, use the following methods: (Page 470 Transfer setup) ■Connection through an RS-232C communication port Connect the CPU module that is hooked up with an FX5-232-BD or FX5-232ADP with an RS-232C cable. ■Connection through an Ethernet port •...

  • Page 455: Specifications

    Specifications Describes the specifications of the data logging function. Functional specifications The following table lists functional specifications. Item Specifications Number of data logging settings Data storage location • Data memory (only data logging configuration file) • SD memory card Logging type •...

  • Page 456

    Folder configuration The following figure shows the folder configuration of the SD memory card attaching to a CPU module. $MELPRJ$ *1*2 Stack file (setting No.1) LOGGING LOG01 *1*2 LOG01.BIN 00000001 00000001.BIN 00000101 00000002.BIN Stack file (setting No.2) LOG02 LOG02.BIN Stack file (setting No.3) LOG03 LOG03.BIN *1 Folder names cannot be modified.

  • Page 457

    Data output type Describes each file output type. ■Binary file output format The following figure shows the configuration of the binary format and details of each data. • Configuration figure of binary format (1) Identification code: Fixed to 4 bytes (fixed to "MFCB") (2) File version: 1 byte (fixed to 1) (3) File type: 1 byte (fixed to 1)

  • Page 458

    • Details of each data Item Description Size (byte) Identification code MFCB is always output to identify the file. File version File version 1 is displayed. File type The file type is output. (fixed to 1: Continuous/trigger logging) Model information The module model name that outputted binary file is output.

  • Page 459

    Item Description Size (byte) (21) Trigger occurrence flag The trigger occurrence information is output. (1) 1: Trigger occurred, 0: Trigger not occurred (22) Data Data collected by the data logging function is output corresponding to (13) Data length and (10) •...

  • Page 460: Data Logging Procedure

    Data logging procedure Describes the data logging procedure. Install and launch CPU Module Logging Configuration Tool. (CPU Module Logging Configuration Tool/GX LogViewer Installation Instructions (BCN-P5999-0506)) Configure the data logging setting. (Page 462 Setting data logging) Attach an SD memory card into the CPU module, and power up the module. Connect the CPU module to a personal computer.

  • Page 461

    Launch GX LogViewer. Help Open Manual E-Manual Viewer opens and its manual is displayed. Connection to MITSUBISHI The Mitsubishi Electric Corporation FA website is displayed. ELECTRIC FA Global Website About Configuration tool The product information is displayed. Project management This function creates and saves the project, and reads/writes it from/to an SD memory card.

  • Page 462

    ■Read logging setting from memory card(SD) The following procedure is to read the data logging setting written in an SD memory card attached to the personal computer. Operating procedure Attach an SD memory card to the personal computer. Open the following window. [Project][Read Logging Setting from Memory Card(SD)] Select the drive from which data is read and data to be read.

  • Page 463

    ■Write logging setting into memory card(SD) The following procedure is to write the settings being edited in a format with which the CPU module can operate. Once writing the settings directly into an SD memory card attached to the personal computer and attaching the card to the CPU module, the data logging starts.

  • Page 464

    Setting data logging This menu item launches a wizard that helps users to configure the required settings for using the data logging function. Edit item tree[FX5CPU][Data Logging Setting][Edit] button ■Logging type The following window configures the data logging type (Page 132 Logging Type) Window Displayed items Item...

  • Page 465

    Displayed items Item Description Setting range Default   Each scanning cycle Select this item to collect scan data obtained for each scan operation. Time specification Select this checkbox to collect data at a timing when • ms: 10 to 32767 10 ms the first END processing is done after the specified •...

  • Page 466

    ■Batch insertion of data The following window is to insert data items into the data list at once. Data is inserted into blank rows in the list of the "Data" setting window in order from the top (when a setting already exists in the target insertion row, the row is skipped without overwriting it).

  • Page 467

    ■Trigger The following window specifies the trigger condition when the trigger logging is selected (Page 134 Trigger Condition) Window Displayed items Item Description Setting range Default Condition specification Configure the trigger condition based on the device Page 134 Condition specification Checked data condition.

  • Page 468

    ■Binary Output The following window specifies the items to be output into the file. (Page 455 Data output type) Window Displayed items Item Description Setting range Default *1*2  Date Output date Add a time stamp to data for the data logging. Checked Trigger information Output trigger information...

  • Page 469

    ■Save The following window configures the target storage for data logging file and switching timing of storage files. (Page 137 Switching to a storage file) Window Displayed items Item Description Setting range Default Logging Save destination in the SD Specify the storage folder for the data logging file. 60 characters or less (double- file save memory card...

  • Page 470

    *1 Date and/or time can be added in any format by using the following character strings. ⋅ Year: YYYY for four-digit expression; YY for two-digit expression ⋅ Month: MM ⋅ Day: DD ⋅ Day of the week: ddd (Sunday: Sun, Monday: Mon, Tuesday: Tue, Wednesday: Wed, Thursday: Thu, Friday: Fri, Saturday: Sat) ⋅...

  • Page 471

    ■Finish The following window is to give the data logging setting a name. Window Displayed items Item Description Setting range Default Data logging name Give the data logging setting being configured a 32 characters or less LOG [Logging name. setting No.] ...

  • Page 472

    Online operation The online operation enables users to read/write/remove the data logging settings, view the data logging status, and operate the data logging file. ■Transfer setup The following window specifies the communication route between the CPU module and a personal computer. [Online][Transfer Setup] Window Displayed items...

  • Page 473

    ■Read logging setting The following procedure reads the data logging setting from the target memory. Operating procedure Open the "Read Logging Setting" window. [Online][Read Logging Setting] Select the memory where the data to be read is stored from the "Target memory" list. Select the checkbox corresponding to the data item to be read in the "Target logging setting data"...

  • Page 474

    ■Write logging setting The following procedure is to write the data logging setting to the target memory. Operating procedure Open the "Write Logging Setting" window. [Online][Write Logging Setting] Select the memory where the data to be written is stored from "Target memory" list. Select the checkbox in the "Target logging setting data"...

  • Page 475

    ■Delete logging setting The following procedure removes the data logging setting on the target memory. Operating procedure Open the "Delete Logging Setting" window. [Online][Delete Logging Setting] Select the memory where the data to be removed is stored from the "Target memory" list. Select the checkbox corresponding to the data item to be removed in the "Target logging setting data"...

  • Page 476

    ■Logging status and operation The following procedure is to execute or stop the data logging. Also the data logging status can be checked through this procedure. Operating procedure Open the "Logging Status and Operation" window. [Online][Logging Status and Operation] Specify the target memory (either data memory or SD memory card) where the effective setting data is stored. Select the checkbox corresponding to the setting number to be executed (One or more numbers can be selected).

  • Page 477

    Displayed items Item Description Monitor status [Start (Stop)] button Start or stop monitoring. SD memory card data Free space View the amount of free space of the SD memory card. Logging status Target memory Select the memory used for this operation. [Select All] button Select all the checkboxes in the setting data list.

  • Page 478

    E-Manual Viewer opens and its manual is displayed. Operating procedure [Help][Open Manual] ■Connection to MITSUBISHI ELECTRIC FA Global Website Access Mitsubishi Electric Corporation FA site home page. Operating procedure [Help][Connection to MITSUBISHI ELECTRIC FA Global Website] ■Checking version information Check the version of CPU Module Logging Configuration Tool.

  • Page 479: Appendix 8 Substitute Functions

    File registers To use a file register of the FX3 PLC, use functions of the FX5 PLC. A file register is a device that sets an initial value to a data register that has the same device number. The values of the file registers set in the built-in memory or memory cassette is transferred collectively to the data registers when the power of the FX3 PLC is OFF→ON or the PLC is STOP→RUN.

  • Page 480: Appendix 9 Added And Enhanced Functions

    Appendix 9 Added and Enhanced Functions The functions added or changed with the CPU module and engineering tool, and the supported CPU modules' firmware version and engineering tool software version are given below. • The firmware version can be confirmed with module diagnosis (CPU diagnosis). Refer to the User's Manual (Hardware) for the CPU module in use for details on diagnosing the module (CPU diagnosis).

  • Page 481

    MEMO APPX Appendix 9 Added and Enhanced Functions...

  • Page 482: Index

    INDEX High-speed counter ..199 (pulse density measurement mode) ......304 Annunciator (F) High-speed counter .

  • Page 483

    ......61 ......55 Online change Watchdog timer .

  • Page 484: Revisions

    3, 4, 9 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 485: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. Gratis Warranty Term and Gratis Warranty 2. Onerous repair term after discontinuation of production Range If any faults or defects (hereinafter "Failure") found to Mitsubishi shall accept onerous product repairs for be the responsibility of Mitsubishi occurs during use of seven (7) years after production of the product is the product within the gratis warranty term, the...

  • Page 486: Trademarks

    TRADEMARKS   Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Ethernet is a trademark of Xerox Corporation. Anywire and ANYWIREASLINK is a registered trademark of the Anywire Corporation. ...

  • Page 488

    Manual number: JY997D55401H Model: FX5-U-OU-E Model code: 09R537 When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN...

Comments to this Manuals

Symbols: 0
Latest comments: