Mitsubishi Electronics FX5 Bedienungsanleitung

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Mitsubishi Electronics FX5 an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Mitsubishi Electronics FX5, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Mitsubishi Electronics FX5 die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Mitsubishi Electronics FX5. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung Mitsubishi Electronics FX5 sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Mitsubishi Electronics FX5
- Den Namen des Produzenten und das Produktionsjahr des Geräts Mitsubishi Electronics FX5
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Mitsubishi Electronics FX5
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Mitsubishi Electronics FX5 zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Mitsubishi Electronics FX5 und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Mitsubishi Electronics finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Mitsubishi Electronics FX5 zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Mitsubishi Electronics FX5, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Mitsubishi Electronics FX5 widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

  • Seite 1

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

  • Seite 2

    [...]

  • Seite 3

    1 SAFETY PRECAUTIONS (Read these precau ti ons before use.) Before using this product, please read this manual and the relevant manuals introdu ced in this manual carefully and pay attention to safety in order to handle the product correctly . This manual classifies the safety precautions into two categories: [ W ARNING] and [ CAUTION]. Depending o[...]

  • Seite 4

    2 [DESIGN PRECAUTIONS] [INST ALLA TION PRECAUTIONS] [WIRING 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 prog ram size. Design circ uits so that the entire system will always operate safely , regardles s of thi[...]

  • Seite 5

    3 [ST AR TUP AND MAINTENANCE PRECAUTIONS] [PRECAUTIONS IN OPERA TION] WA R N I N G ● Do not touch any terminal while the PLC's power is on . Doing so may c ause electric shock or malfunctions. ● Before modifying the program in mid-op eration, forc ing o utput, running or stoppin g the PLC, re ad this manual and the associate d manuals care[...]

  • Seite 6

    4 INTRODUCTION This manual contains text, diagrams and expla nations which will guide the reader in the correct installation, safe use and operation of the FX5 Programmable Contro llers and shou ld be read and understood before attempting to install or use the module. Always forward it to the end user . Regarding use of this product • This produc[...]

  • Seite 7

    5 MEMO[...]

  • Seite 8

    6 CONTENTS SAFETY PRECAUTIO NS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 RELEV ANT MANUAL[...]

  • Seite 9

    7 CONTENTS CHAPTER 6 CLOCK FUNCTION 46 6.1 T ime S etting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Seite 10

    8 CHAPTER 10 CONST ANT SCAN 84 10.1 Constant scan settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 CHAPTER 1 1 REMOTE OPERA TION 86 1 1.1 Remote RUN/ STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Seite 11

    9 CONTENTS CHAPTER 18 SECURITY FUNCTIONS 1 13 CHAPTER 19 BUIL T -IN I/O FUNCTION 1 14 19.1 High-speed C ounter Func tion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 14 High-speed co unter functi on overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Seite 12

    10 FX3-compat ible pulse catch functi on execution procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 9 FX3-compatibl e pulse cat ch parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 Operation o f FX3-compatibl e pulse cat ch funct ion[...]

  • Seite 13

    11 CONTENTS 21.5 Inde x Registe rs (Z/LZ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 7 T y pes of in dex regist ers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Ind[...]

  • Seite 14

    12 RELEV ANT MANUALS User's manuals for th e applicable modules TERMS Unless otherwise specified, this manual uses the following terms. •  indicates a variable portion used to collectively call multiple models or versions. (Example) FX5U-32MR/ES, FX5U-32MT/ES  FX5U-32M  /ES • For details on the FX3 devices that can be connected wi[...]

  • Seite 15

    13 • Input module (extension co nnector type) Generic term for FX5-C32EX/D and FX5-C32EX/ DS Output module Generic term for output module s (ext ension cable type) and output module s (extension connector type) • Output module (extension cable type) Generic term for FX5-8EYR/ ES, FX5-8EYT/ES, FX5-8EYT/E SS, FX5-16EYR/ES, FX5-16EYT/ ES, and FX5-[...]

  • Seite 16

    14 MEMO[...]

  • Seite 17

    15 PA R T 1 P ART 1 PROGRAMMING This part consists of the following chapters. 1 PROGRAM EXECUTION 2 PROCESSING OF OPERA TIONS ACCORD ING TO CPU MODULE OPERA TION ST A TUS 3 CPU MODULE MEMOR Y CONFIGURA TION[...]

  • Seite 18

    16 1 PROGRAM EXECUTION 1.1 Scan Configuration 1 PROGRAM EXECUTION 1.1 Scan Configuration The configuration of th e scan of the CPU module is explained below . Initial processing and initialization processing in RUN mode Initial processing according to CPU module status and init ial ization processing in the RUN status are explained below .  : Ex[...]

  • Seite 19

    1 PROGRAM EXECUTION 1.1 Scan Configuration 17 1 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/i ntelligent function modu le When executing constant scan, I/O refresh is ex ecuted[...]

  • Seite 20

    18 1 PROGRAM EXECUTION 1.2 Scan Time 1.2 Scan T ime The CPU module repeats the followi ng processing. The scan time is the sum total of each process and execution time. *1 This process is included in the initial scan time. Initial scan time This refers to the initial scan time when the CPU modul e is in the RUN mode. How to check the initial scan t[...]

  • Seite 21

    1 PROGRAM EXECUTION 1.3 Program Execution Sequence 19 1 1.3 Program Execution Sequence When the CPU module enters the RUN status, the programs are executed successively acco rding to the execution type of the programs and execution order setting. When the exec ution type of the programs is th e same, the programs are executed in the order in whi ch[...]

  • Seite 22

    20 1 PROGRAM EXECUTION 1.4 Execution Type of Program 1.4 Execution T ype of Program Set the program execution conditions. Initial execution type program This program type is executed only once when th e CPU mo dule changes from the STOP/P AUSE to the RUN status. This program type is used for programs, that do not need to be ex ecuted from the next [...]

  • Seite 23

    1 PROGRAM EXECUTION 1.4 Execution Type of Program 21 1 Scan execution type program This program type is executed only once pe r scan from the scan foll owing the scan w here an initial executi on type program was executed. When multiple scan execution type programs are executed, th e execution time of the scan execution type programs beco mes the t[...]

  • Seite 24

    22 1 PROGRAM EXECUTION 1.4 Execution Type of Program 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) assigne d to a[...]

  • Seite 25

    1 PROGRAM EXECUTION 1.4 Execution Type of Program 23 1 Action when the execution condition is satisfied Performs the following acti on. ■ 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 i s enabled. Note tha t if the execution co[...]

  • Seite 26

    24 1 PROGRAM EXECUTION 1.4 Execution Type of Program ■ Operation in the fixed scan execution mo de This section describes the operation which can be performed in the fi xed scan execution mode. • Execution Count T akes Priority The program is executed for al l the pending number of executions so that it can be executed the same number of times [...]

  • Seite 27

    1 PROGRAM EXECUTION 1.4 Execution Type of Program 25 1 Event execution type program Execution of this program type is triggered by a user-specified event. (  Page 25 T rigger type ) *1 Measurement of elapsed time is 10 ms or mo re because it is determined depending on the scan time. T rigger type T riggers for eve nt execution type programs are [...]

  • Seite 28

    26 1 PROGRAM EXECUTION 1.4 Execution Type of Program ■ Bit dat a ON (TRUE) When it is the turn of the co rresponding pr ogram to be executed, the pr ogram is executed if the spec ified bit data is ON. T his eliminates the need for creating a program for monitoring triggers in a separate program. Applicable devices are as follows. *1 Indexed devic[...]

  • Seite 29

    1 PROGRAM EXECUTION 1.4 Execution Type of Program 27 1 T rigger setting Use the event execution type detail setting. Navigation w indow  [Paramet er]  [FX5UCPU]  [CPU P arameter]  "Program Setting " Operating procedure Displayed items When "Clear Output and Current V alue of Timer" is enabled together with "ON o[...]

  • Seite 30

    28 1 PROGRAM EXECUTION 1.4 Execution Type of Program S t and-by type program This program is executed only when there is an execution request. Saving programs in library Subroutine programs or i nterrupt programs are saved as sta ndby type programs so that they can be used when contro lled separately from the main routine program. Multiple subr out[...]

  • Seite 31

    1 PROGRAM EXECUTION 1.5 Program Type 29 1 1.5 Program T ype Programs that use pointers (P) or inte rrupt pointers (I) are explained below . Subroutine program This is the program from pointer (P) up to the RET instructi on. Subroutine prog rams are exec uted only when th ey are called by the CALL instruction. Pointer type labels also can be used in[...]

  • Seite 32

    30 1 PROGRAM EXECUTION 1.5 Program Type Interrupt program This is the program from interrupt pointer (I) up to the IRET instruction. When an interrupt is generated, the interrup t program corresp ond ing to that interrupt pointer number is executed. Note, however , that interrupt enabled status must be set with the EI instruction before ex ecuting [...]

  • Seite 33

    1 PROGRAM EXECUTION 1.5 Program Type 31 1 Operation when an interrupt is generated Operation when an interrupt is generate d is explained below . ■ If an interrupt cause oc curs when interrupt is disabled (DI) The interrupt that was generated is stored, and the stored interrupt program is exec uted the moment that the status changes to interrupt [...]

  • Seite 34

    32 1 PROGRAM EXECUTION 1.5 Program Type ■ If an interrupt cause with the same or a lower priority occurs while the interrupt p rogram is being executed • For I0 to I23 and I50 to I177 The occurred interrupt ca use is memorized, and the interrupt program correspond ing to the factor will be executed after the running interrupt program finishes. [...]

  • Seite 35

    1 PROGRAM EXECUTION 1.5 Program Type 33 1 ■ If the same interrupt cause oc curs while the interrupt program is being executed • For I0 to I23 and I50 to I177 The interrupt cause that occured is memori zed, and the interrupt program corresponding to the cause will be executed after the running interrupt program finishes. Even if the same interru[...]

  • Seite 36

    34 1 PROGRAM EXECUTION 1.5 Program Type Processing at st artup 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 st arted up, the values of the index registers (Z , LZ) in the cu rrently executi[...]

  • Seite 37

    2 PROCESSING OF OPERA TIONS ACCORD ING TO CPU MODULE OPERA TION ST A TUS 35 2 2 PROCESSING OF OPERA TIONS ACCORDING T O CPU MODULE OPERA TION ST A TUS The CPU module has three opera tion statuses as follows: • RUN status • ST OP status • Paused Processing of operations on the CPU modu le in each status is explained below . Processing of opera[...]

  • Seite 38

    36 2 PROCESSING OF OPERA TIONS ACCORDING TO CPU MODULE OPERA TION ST A TUS Processing of operations by the CP U module during switch operations Processing of operations by t he CPU module is as follows according to the RUN or STOP mode. The CPU module performs the following processing regardless of RUN or STOP status or p aused status. • Refreshi[...]

  • Seite 39

    3 CPU MODULE MEMORY CONFIGURA TION 3.1 Memory Configuration 37 3 3 CPU MODULE MEMOR Y CONFIGURA TION 3.1 Memory Configuration CPU module memory is explained below . Memory configuration The configuration of CPU modul e memory is explaine d below . Dat a memory The following files a re stored in data memo ry . Device/label memory Device/label memo r[...]

  • Seite 40

    38 3 CPU MODULE MEMORY CONFIGURA TION 3.1 Memory Configuration SD memory card The following files are stored in SD memory card. Category File type Max. number of files Storage area size Remarks Program Program file 32 1 Mbytes  FB files 16 (Up to 15 f or user)  Restored informati on Restored inf ormation files 48 1 Mbytes  Parameters Param[...]

  • Seite 41

    3 CPU MODULE MEMORY CONFIGURA TION 3.2 F iles 39 3 3.2 Files The CPU module files are explaine d below . File type and storage destination memory File types and their storage destination memory are explained below .  : Can be stored,  : Cannot be stored *1 For serial communications file. *2 For Ethernet file. Execut able file operations File [...]

  • Seite 42

    40 3 CPU MODULE MEMORY CONFIGURA TION 3.2 Files MEMO[...]

  • Seite 43

    41 PA R T 2 P ART 2 FUNCTIONS This part consists of the following chapters. 4 FUNCTION LIST 5 SCAN MONITORING FUNCTION 6 CLOCK FUNCTION 7 ONLINE CHANGE 8 INTERRUPT FUNCTION 9 PID CONTROL FUNCTION 10 CONST ANT SCAN 1 1 REMOTE OPERA TION 12 DEVICE/LABEL ME MORY AREA SETTING 13 INITIAL DEVICE V ALUE SETTING 14 LA TCH FUNCTION 15 MEMORY CARD FUNCTION 1[...]

  • Seite 44

    42 4 FUNCTION LIST 4 FUNCTION LIST The following table lists the functions of the CPU module. Function Description Reference Scan monitoring f unction (W atchdog timer setting) Detects an erro r in the hardware and program of the CPU module by monitoring the scan time. Page 44 Clock function This function is used for t he time ma nagement in the fu[...]

  • Seite 45

    4 FUNCTION LIST 43 4 MODBUS RTU communication function Connection wit h the prod ucts which support MODBUS RTU is available. The master and slave functi ons can be used. MELSEC iQ-F FX5 User's Manual (MODBUS Commu nicati on) Function Description Reference[...]

  • Seite 46

    44 5 SCAN MONITORING FUNCTION 5.1 Scan time monitoring time setting 5 SCAN MONIT ORING FUNCTION This function detects CPU modul e hardware or program errors by monitoring t he scan time. Using the wa tchdog timer , which is an internal timer in the CPU mo dule, the follow ing scans are monitored. • Initial scan (1st scan) • 2nd scan and after 5[...]

  • Seite 47

    5 SCAN MO NITORING FUNCTION 5.3 Precautions 45 5 Scan time when the WDT instruction is used Even though the watchdog timer is reset usin g the WDT instruction, th e scan time val ue is not reset. The scan timer value is the value measured up to the END instruction. Internal processing time Program Internal processing time Scan execution program A S[...]

  • Seite 48

    46 6 CLOCK FUNCTION 6.1 Time Setting 6 CLOCK FUNCTION The CPU module has an internal clock and is used to manage time in functions performed by the system such as dates of the error history . 6.1 T ime Setting T ime operation continues with the larg e internal capacitor in the CPU module even th ough the power in the CPU module is turned OFF or the[...]

  • Seite 49

    6 CLOCK FUNCTION 6.1 Time Setting 47 6 Reading clock dat a There are the following methods to read clock data. • Using SM/SD • Using instructions Using SM/SD 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 mo dule using the TR D(P) instruction. (  MELS[...]

  • Seite 50

    48 6 CLOCK FUNCTION 6.2 Setting Time Zone 6.2 Setting T ime Zone The time zone used for the CPU module can be specified . S pecif ying the time zone enables the clock of the CPU mo dule to work in the local time zone. Navigation wi ndow  [Param eter]  [FX5UCPU]  [CPU Parameter]  "Operation R elated Setting"  "Clo ck Re[...]

  • Seite 51

    6 CLOCK FUNCTION 6.3 System clock 49 6 6.3 System clock There are two types of system clocks, one is to execute ON/OFF by the system and the other is to execute ON/OFF in the intervals specified by the user . S pecial relay used for system clock S pecial relays used for system clock are as follows. S pecial register used for system clock S pecial r[...]

  • Seite 52

    50 7 ONLINE CHANGE 7.1 Online Ladder Block Change 7 ONLINE CHANGE This chapter describes online chan ge. 7.1 Online Ladder Block Change Writes the portion edited on the ladd er edit wi ndow of the engineering tool to the CPU m odu le in increments of ladders. Edited contents spanning multiple files or multiple portions can be written to the CPU mod[...]

  • Seite 53

    7 ONLINE CHANGE 7.1 Online Ladder Block Change 51 7 Instructions not comp atible with online ladder block change Do not execute online chang e to ladder block including the follo wing instruction. DSZR instruction, DVIT instru ction, TBL instruction, DRVTBL instruction, PLSV instructio n, DRVI instruction, DR V A instruction, DRVMUL instruct ion, P[...]

  • Seite 54

    52 7 ONLINE CHANGE 7.1 Online Ladder Block Change ■ Falling instruction When a falling instruction exists within t he range to be changed, the falling instruction will no t be executed even if the execution condition (ON to OF F) is fulfille d at completion of online program change. (1) The falling instruction will not be execut ed even if the ex[...]

  • Seite 55

    8 INTERRUPT FUNCTION 8.1 Multiple Interrupt Function 53 8 8 INTERRUPT FUNCTION This chapter describes the interrupt fu nction. 8.1 Multiple Interrupt Function When an inte rrupt occurs while an interrupt program tri ggered by another cause is runn ing, stops the program if its priority is lower than that of the new interru pt, and runs the higher-p[...]

  • Seite 56

    54 8 INTERRUPT FUNCTION 8.1 Multiple Interrupt Function Interrupt priority setting The interrupt priority (1 to 3) of interruptions from modules can be changed . Navigation w indow  [Parameter]  [FX5UCPU]  [CPU Parameter]  "Interrupt Settings"  "Interrupt Priority Setting from Module" Operating procedure Displayed[...]

  • Seite 57

    9 PID CONTROL FUNCTION 9.1 Outline of Function 55 9 9 PID CONTROL FUNCTION 9.1 Outline of Function PID control is performed by PID control inst ruction. The PID inst ruction requires the system to calculate the output (MV) value from the measured (PV) value. Through combining the P (proportion al) action, I (integra l) action, and D (derivative) ac[...]

  • Seite 58

    56 9 PID CONTROL FUNCTION 9.3 How to Use PID Instruction Expression for calculating the measured value (aft er the filter) in sam pling at this time (PVnf) The value "PVnf" is obtained from the following expression based on the read measured value. Measured value after filter: PVnf = PVn+L (PVnf-1-PVn) 9.3 How to Use PID Instruction This [...]

  • Seite 59

    9 PID CONTROL FUNCTION 9.4 Relationship Between Parameter Setting and Auto-Tuning 57 9 ■ Set item ■ Precautions for using the PID instruction For the precautions for using the PID inst ruction, refer to the followi ng manual.  MELSEC iQ-F FX5 Programming Manual (Instruc tions, S tandard Func tions/Function Blocks) 9.4 Relationship Between Pa[...]

  • Seite 60

    58 9 PID CONTROL FUNCTION 9.5 Parameter 9.5 Parameter *1 ( s3)+20 to +24 become used only if b1, b2, or b5 are se t to "1" to determin e the action (ACT) (s3) of +1. Set item Description/Setting range Remarks (s3) Sampling time (TS) 1 to 32767 (ms) It cannot be shorter than operat ion cycle of the PLC. (s3)+1 Operation setting (ACT) b0 0:[...]

  • Seite 61

    9 PID CONTROL FUNCTION 9.6 Details of Parameters 59 9 9.6 Det ails of Parameters This chapter describes the details of parameters. Sampling time (s3) Set the cycle time (ms) for the PID operation. Settin g range: 1 to 32767 (ms) • In PID control and auto-tuning (Limit cycle method) Set the sampling time longer than t he operation cycle of the PLC[...]

  • Seite 62

    60 9 PID CONTROL FUNCTION 9.6 Details of Parameters • Relationship between the forward/backward operation an d th e output (MV), measured value (PV) and target value (SV) The relationshi p is as follows. Alarm setting (for input variation and output variation) If b1 and b2 in (s3) +1 are turned ON, the input variatio n and the output variation ca[...]

  • Seite 63

    9 PID CONTROL FUNCTION 9.6 Details of Parameters 61 9 Upper and lower limi t s for output value When the upper and lower limi t settings of the output value are valid, the outp ut value is as shown in the chart. The upper lim it and lower limit of the output va lue can moderate th e increase of the integral ite m in the PID control. When using the [...]

  • Seite 64

    62 9 PID CONTROL FUNCTION 9.6 Details of Parameters Proportional gain (s3)+3 During the proportiona l operation, the output (MV) increases in prop ortion to the deviation (difference between the target value (SV) and the measured value (PV)). This deviation is called proportiona l gain (Kp), and expressed in the following relational expression: Out[...]

  • Seite 65

    9 PID CONTROL FUNCTION 9.6 Details of Parameters 63 9 Integral time (s3)+4 During the integral op eration, the time after devia tion is genera ted until the integral operation output become s the proportion al operation output. This is called integr al time and is expressed as "TI". As TI becomes smalle r , the integral operation b ecomes[...]

  • Seite 66

    64 9 PID CONTROL FUNCTION 9.6 Details of Parameters The integral operation changes the ou tput so that the continuously gene rated devia tion is eliminated. As a result, the remaining deviation gene rated in th e proportional op eration can be elimin ated. Differential gain (s3)+5 The filter is applied to the ou tput at the differential operati on.[...]

  • Seite 67

    9 PID CONTROL FUNCTION 9.6 Details of Parameters 65 9 Differential time (s3)+6 Use the differential time (TD) to respond sensitively to fluctuat ions in th e measured value (PV) caused by disturbance, etc. and to minimize the fluctu ations. Setting range: 0 to 32767 (  10 ms) • When the dif ferential time (TD) is large, it prevent larg e fluct[...]

  • Seite 68

    66 9 PID CONTROL FUNCTION 9.6 Details of Parameters Ex. PID operation in forward operation (cooling) Output value (MV) T emperature T arget value (SV) Ti m e Ti m e TD3>TD2>TD1 TD3>TD2>TD1 TD3 (PID operation) PI operation (without differential operation) PI operation (without differential operation) TD2 (PID operation) TD3 (PID operatio[...]

  • Seite 69

    9 PID CONTROL FUNCTION 9.6 Details of Parameters 67 9 Alarm output (s3)+24 If the input variation and the ou tput variation specified with (s3) +20 to (s3) +23 are exceeded, each bit of (s3) +24 turns ON as a warning output. In the case of input variation In the case of output variation Item Description Remarks Alarm output (s3)+24: b0 OFF: Input v[...]

  • Seite 70

    68 9 PID CONTROL FUNCTION 9.7 Auto-Tuning 9.7 Auto-T uning This chapter describes the auto-t uning fun ction of PID instruction. The auto-tuning function will automatically set the important constants, such as the proportional gain and the integral time , t o ensure optimum PID control. There ar e two auto-tuning methods: limit cycle method and ste[...]

  • Seite 71

    9 PID CONTROL FUNCTION 9.7 Auto-Tuning 69 9 ■ Operation characteristics (in an exa mple of backward operation) During the "  W" period after the tuning cycl e is finished, the output value is held at th e output Lowe r Limit V alue (L L V), and then normal PID control is started. The value "  W" can be obtained by the ex[...]

  • Seite 72

    70 9 PID CONTROL FUNCTION 9.7 Auto-Tuning Parameters set in limit cycle method The parameters specified in the limit cycle method are shown below . Auto-tuning procedure 1. Set forward or backward ope ration Set the operation direction flag (b0) in the operatio n setting parameter (ACT) (s3)+1. 2. Select the auto-tuning me thod (limit cycl e method[...]

  • Seite 73

    9 PID CONTROL FUNCTION 9.7 Auto-Tuning 71 9 S tep 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 explai n s the step response method to ob tain three constants in the PID control (proportional gain[...]

  • Seite 74

    72 9 PID CONTROL FUNCTION 9.7 Auto-Tuning Auto-tuning procedure 1. T ransferring the output value for auto-tuning to the outpu t value (d) Set the output value for auto-tuning to the maximum available out put value multiplie d by 0.5 to 1 fo r the output equip ment. 2. Setting the parameter (s3), target value (SV), etc. that cannot be set in auto t[...]

  • Seite 75

    9 PID CONTROL FUNCTION 9.8 Examples of Program 73 9 9.8 Examples of Program System configuration example An example of the system con figuration when t he PID control function is used is shown below . System configuration Operation of the electric heater ■ During PID control ■ During auto-tuning Program examples Program example Des cription Ref[...]

  • Seite 76

    74 9 PID CONTROL FUNCTION 9.8 Examples of Program Program example 1 This is an example of the sa mple program for PID control. Use device The content of the devices used for the program is as follows.  : This is an item not occupied. *1 T he setting is always necessary . *2 When C H1 is used. Item Device Setting value During auto-tun ing During [...]

  • Seite 77

    9 PID CONTROL FUNCTION 9.8 Examples of Program 75 9 Program OUTHS ST0 K2000 MOV SM402 Initial pulse SM402 Initial pulse SM402 Initial pulse X011 PID control is started M3 PID operation is executed ST0 Heater operation cycle M3 PID operation is executed M3 PID operation is executed ST0<D502 X011 PID control is started MOV MOV MOV MOV MOV MOV SD60[...]

  • Seite 78

    76 9 PID CONTROL FUNCTION 9.8 Examples of Program Program example 2 This is an example of the sample program for auto tuning (limit cycl e method). Use device The content of the devices used for the program is as follows.  : This is an item not occupied. *1 T he setting is always necessary . *2 When C H1 is used. Item Device Setting value During[...]

  • Seite 79

    9 PID CONTROL FUNCTION 9.8 Examples of Program 77 9 Program OUTHS ST0 K2000 MOV X010 Auto-tu ni ng i s started SM402 Initial pulse D511.4 Auto-tun ing is executed Auto-tun ing is executed Auto-tun ing is executed Auto-tun ing is executed X010 Auto-tu ni ng i s started M4 ST0 Heater operation cycle M4 M4 Auto-tun ing is executed ST0<D502 D511.4 M[...]

  • Seite 80

    78 9 PID CONTROL FUNCTION 9.8 Examples of Program Program example 3 This is an example of the sample program for auto tuning (ste p response method). Use device The content of the devices used for the program is as follows.  : This is an item not occupied. *1 T he setting is always necessary . *2 When C H1 is used. Item Device Setting value Duri[...]

  • Seite 81

    9 PID CONTROL FUNCTION 9.8 Examples of Program 79 9 Program OUTHS ST0 K2000 MOV X010 Auto-tu ni ng i s started SM402 Initial pulse D511.4 Auto-tun ing is executed Auto-tun ing is executed Auto-tun ing is executed Auto-tun ing is executed X010 Auto-tu ni ng i s started M4 ST0 Heater operation cycle M4 M4 Auto-tun ing is executed ST0<D502 D511.4 M[...]

  • Seite 82

    80 9 PID CONTROL FUNCTION 9.8 Examples of Program Program example 4 This is an example of the sample program for auto tuning (limit cycl e method) + PID control. Use device The content of the devices used for the program is as follows.  : This is an item not occupied. *1 T he setting is always necessary . *2 When C H1 is used. Item Device Settin[...]

  • Seite 83

    9 PID CONTROL FUNCTION 9.8 Examples of Program 81 9 Program OUTHS ST0 K2000 MOV SM402 Initial pulse SM402 Initial pulse Initial pulse SM402 PID c ont r ol is s t ar t ed afte r aut o-tu ni ng PID is executed PID is executed X010 PID c ont r ol is s t ar t ed afte r aut o-tu ni ng X011 PID c ont r ol is s t ar t ed (with out au to-tun in g) M4 ST0 H[...]

  • Seite 84

    82 9 PID CONTROL FUNCTION 9.8 Examples of Program Program example 5 This is an example of the sample program for au to tuning (step respon se method) + PID control. Use device The content of the devices used for the program is as follows.  : This is an item not occupied. *1 T he setting is always necessary . *2 When C H1 is used. Item Device Set[...]

  • Seite 85

    9 PID CONTROL FUNCTION 9.8 Examples of Program 83 9 Program OUTHS ST0 K2000 MOV SM402 Initial pulse SM402 Initial pulse Initial pulse SM402 PID c ont r ol is s t ar t ed afte r aut o-tu ni ng PID is executed PID is executed X010 PID c ont r ol is s t ar t ed afte r aut o-tu ni ng X011 PID c ont r ol is s t ar t ed (with out a uto-tu ni ng) M4 ST0 H[...]

  • Seite 86

    84 10 CONST A NT SCAN 10.1 Constant scan settings 10 CONST ANT SCAN Since the processing time differs as per the execution/n on-execution of command used in the program, the scan timer changes with every scan. By setting the constant scan, bec ause a program can be repeatedly executed while keeping scan time at a specified amount of time, even when[...]

  • Seite 87

    10 CONST ANT SCAN 10.1 Constant scan settings 85 10 Conditions of setting time Set a value that meets the following relational equ ation for the setting time of the constant scan. "WDT setting time" > "Constan t scan setting time" > "Maximum scan time of the program" When the maximum scan time of the program is l[...]

  • Seite 88

    86 1 1 REMOT E OPERA TION 11.1 Remote RUN/STOP 11 REMOTE OPERA TION A remote operation is an o peration to externally change th e operation status of the CP U 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. • Remote RUN/ST OP • Remote P AUSE • Remote RESE[...]

  • Seite 89

    1 1 REMOTE OPERA TION 11.1 Remote RUN/STOP 87 11 • When set to STOP at contact ON When contact is set to OFF , the CPU module is in the RUN status. When contact is set to ON, the CPU module is in the ST OP status. Engineering tool method Refer to the fol lowing.  GX Works3 Operating Manual Method using external devices that use SLMP Execute by[...]

  • Seite 90

    88 1 1 REMOT E OPERA TION 11.2 Remote PAUSE 11 . 2 Remote P AUSE With the RUN/STOP/RESET switch set to the RUN position of the CPU module, the operation status is changed to P AUSE status from outside. The P AUSE status is a status in which operation of the CPU module is stopped by holdi ng the ON/OFF status of all output (Y). Application of remote[...]

  • Seite 91

    1 1 REMOTE OPERA TION 11.3 Remote RESET 89 11 Precautions ■ When keeping in forced ON o r OFF status in advance When keeping in forced ON or OFF status in advance, interlock using the P AUSE contact (SM204). 11 . 3 Remote RESET This is an operation to reset the CPU module by an external operation when the CPU modul e is in the STOP status. In add[...]

  • Seite 92

    90 1 1 REMOT E OPERA TION 11.3 Remote RESET Method of execution of remote RESET The following are the methods of executio n of remote RESET . Engineering tool method Refer to the fol lowing.  GX Works3 Operating Manual Method using external devices that use SLMP Refer to the fol lowing.  MELSEC iQ-F FX5 User's Manual (SLMP) When executin[...]

  • Seite 93

    1 1 REMOTE OPERA TION 11.4 Relationship Between Remote Operation and CPU Module 91 11 11 . 4 Relationship Between Remote Operation and CPU Module Relationship between remote operation a nd RUN/ST OP status of the CPU module The following table shows operation status of the CPU module by the combination of remote opera tion and RUN/STOP status of th[...]

  • Seite 94

    92 12 DEVICE/LABEL MEMOR Y AREA SETTING 12.1 Default Capacity of Each Area 12 DEVICE/LABEL MEMOR Y AREA SETTING The capacity of each area in device/label memory can be specified. 12.1 Default Cap acity of Each Area The default capacity of each area is as follows. (1) The capacity of each area can be changed. (  Page 94 Device/Label Memory Area S[...]

  • Seite 95

    12 DEVICE/LABEL MEMORY AREA SETTING 12.2 The Setting Range of the Capacity of Each Area 93 12 12.2 The Setting Range of the Cap acity of Each Area The setting range of the capacity of each area on the device/label memory is as follows. Restriction of a label /latch label area capacity ■ When device area setting using by label/latch label is st an[...]

  • Seite 96

    94 12 DEVICE/LABEL MEMOR Y AREA SETTING 12.3 Device/Label Memory Area Setting 12.3 Device/Label Memory Area Setting The capacity of each data area allocated within the device/labe l memory can be changed. Navigation w indow  [Paramet er]  [FX5UCPU]  [CPU P arameter]  "Memory/Device Setting"  "Device/Label Memory Area S[...]

  • Seite 97

    12 DEVICE/LABEL MEMORY AREA SETTING 12.4 Device Setting 95 12 12.4 Device Setting The number of points of each user device can be changed. Navigation w indow  [Paramet er]  [FX5UCPU]  [CPU P arameter]  "Memory/Device Setting"  "Device/Label Memory Area Setting"  "Device/Label Memory Area Detailed Setting&q[...]

  • Seite 98

    96 12 DEVICE/LABEL MEMOR Y AREA SETTING 12.4 Device Setting Range of use of device point s The following table lists the range of use of dev ice points to be set in the devi ce setting. Device (high speed) Setting Device (st andard) Setting Ty p e Device name Symbol Range of use Incremen t of setting Bit Input X X0 to X1777  Bit Output Y Y0 to Y[...]

  • Seite 99

    13 INITIAL DEVICE V ALU E SETTING 13.1 Setting Initial Device Values 97 13 13 INITIAL DEVICE V ALUE SETTING Directly sets the initial val ue of a device used by the program (i.e., not via the program). 13.1 Setting Initial Device V alues This section describes the settings re quired to use initial device values. Setting initial device values This s[...]

  • Seite 100

    98 13 INITIAL DEVICE V ALU E SETTING 13.2 Applicable Device s Initial value setting Configure the initial value se tting. Navigation w indow  [Paramet er]  [FX5UCPU]  [CPU P arameter]  "File Setting"  "Initial V alue Setting" Window Displayed items *1 If nothing is specified, initial g lobal device values are not [...]

  • Seite 101

    14 LA TCH FUNCTIO N 14.1 Types of Latch 99 14 14 LA TCH FUNCTION The contents of each device/label of the CPU module is cl eared in the cases described below and change d to its default value. • At power OF F  ON of the CPU module • At reset • A power failure that exceeded allowable momentary power interruption The contents of each device [...]

  • Seite 102

    100 14 LA TCH F UNCTION 14.3 Latch Settings 14.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. T wo 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. ?[...]

  • Seite 103

    14 LA TCH FUNCTIO N 14.4 Clearing of Data of the Latch Range 101 14 Setting latch on labels This subsection describes latch setting on labels. Operating procedure 14.4 Clearing of Dat a of the Latch Range The data of the latch range can be cleared by the following ways. Method of latch clearing By using engineering tools. (  GX Works3 Operating [...]

  • Seite 104

    102 14 LA TCH F UNCTION 14.5 Precautions 14.5 Precautions The precaution to be taken when using a latch function is describ ed 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 t[...]

  • Seite 105

    15 MEMORY CARD FUNCTION 15.1 SD Memory Card Forced Stop 103 15 15 MEMOR Y CARD FUNCTION The following explai ns the functions that use SD memory card. 15.1 SD Memory Card Forced S top SD memory card can be disabled without turning power ON  OFF , even when a function that uses SD memory card is being executed. Methods of SD memo ry card forced s[...]

  • Seite 106

    104 15 MEMORY CARD FUNCTION 15.2 Boot Operation Releasing the SD memory card forced stop st atus After the SD memory card h as turned to disable status, rel ease the SD memory card forced stop status by the operation shown below . 1. Load SD card again. *1 2. T urn OFF  ON the power or reset the CPU module. *1 T he CARD READY LED will blink  [...]

  • Seite 107

    15 MEMORY CARD FUNCTION 15.2 Boot Operation 105 15 Configuring th e boot setting Carry out the settings requi red fo r the boot operation. Navigation w indow  [Paramet er]  [FX5UCPU]  [Memory Card Parameter]  [Boot Setting] Operating procedure Displayed items "Boot Setting" window 1. Click "Detailed Setting" on the &[...]

  • Seite 108

    106 15 MEMORY CARD FUNCTION 15.2 Boot Operation Maximum number of boot fil es that can be specified It is the same as the number of files that can be stored in transfer destination memory . Operation when security functions are enabled This section describes the operation when security functions are enabled. ■ When a security key is set When a se[...]

  • Seite 109

    16 DEVICE/LABEL ACCESS SERVICE PROCESSING SETTING 107 16 16 DEVICE/LABEL ACCESS SER VICE PROCESSING SETTING This is a function to optionally desig nate t he frequency of execution of the service process that is carried out by the END process in the p arameter . Improvement of communication response with pe ripheral equipment and extension of scan t[...]

  • Seite 110

    108 16 DEVICE/LABEL ACCESS SER VICE PROCESSING SETTING *1 Show s 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 reques t from the peripheral equipment to returning a response. *4 Show[...]

  • Seite 111

    17 RAS FUNCTIONS 17.1 Self-Diagnostics Function 109 17 17 RAS FUNCTIONS 17.1 Self-Diagnostics Function Checks if a problem exis ts with the CPU m odule. Self-diagnostics timing If an error occurs when the CPU module is powered on or wh ile it is in the RUN/STOP stat e, the CPU module detects, and displays it, and stops operation. However , dependin[...]

  • Seite 112

    110 17 RAS FUNCTIONS 17.1 Self-Diagnostics Funct ion CPU Module Operation Upon Error Detection Setting Configure each CPU Mo dule Operation settin g when an error i s detected. Error Detection Setting Sets whether or not to detect errors. Navigation w indow  [Paramet er]  [FX5UCPU]  [CPU P arameter]  "RAS Setting"  "Er[...]

  • Seite 113

    17 RAS FUNCTIONS 17.1 Self-Diagnostics Function 111 17 CPU Module Operation Setting S pecify the operati on which the CPU module should perform when an error occurs on each intelligent function module. Navigation w indow  [Paramet er]  [System Parameter]  [I/O Assignment Setting] Window Displayed items LED display setting Set whether or no[...]

  • Seite 114

    112 17 RAS FUNCTIONS 17.1 Self-Diagnostics Funct ion Error Clear This function clears all the exis ting continuation errors at once. Errors that can be cleared How to clear errors Errors can be cleared in two ways: ■ Using the engineering tool Clear errors with the module diagnosti cs function of eng ineering tool. (  GX Works3 Operating Manua[...]

  • Seite 115

    18 SECURITY FUNCTIONS 113 18 18 SECURITY FUNCTIONS These functions prevent theft, tampering, wrongful operation , illegal execution, et c. of a cu stomer's assets saved on a personal computer or in module s in the FX5 system as a resu lt of illegal access by a third party . Use of the security fun ctions according to the follow ing purposes. P[...]

  • Seite 116

    114 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction 19 BUIL T -IN I/O FUNCTION The built-in input/output (I/O) function of the CPU module is expla ined below . Each respective function is set by parameters in GX Works3. 19.1 High-speed Counter Function High-speed counter function is explained below . High-speed counter function overview[...]

  • Seite 117

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 115 19 Other high-speed c ounter instructions In addition to the dedicate d instructions, there are instructi ons such as DHSCS, DHSCR , and DHSZ (hereafter referred to as "high-speed comparison instruction") for high-speed counters. For details, refer to the following.  MELSE[...]

  • Seite 118

    116 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction ■ 1 phase, 2 input counter Counting method of 1 phase, 2 input counter is as follows. ■ 2 phase, 2 input counter [1 edge count] Counting method of 2 phase, 2 input c ounter [1 edge count] is as follows. ■ 2 phase, 2 input counter [2 edge count] Counting method of 2 phase, 2 input[...]

  • Seite 119

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 117 19 ■ 2 phase, 2 input counter [4 edge count] Counting method of 2 phase, 2 input c ounter [4 edge count] is as follows. ■ Internal clock Counting method of internal clock is as follows. Under ordinary circumstances, the internal clock counts up/down by 1 MHz clock. Ex ternal input [...]

  • Seite 120

    118 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Precautions • The input circuit of the CPU module has restrictions for maximum frequency • If input response time is set, maximum frequency is affected by the setting value. • Under ordinary circumstances, the internal cl ock counts at 1 MHz (fixed) during operation. Matched outp[...]

  • Seite 121

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 119 19 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 accord ing to functions set for each channels by parameter . When using internal clock, assig nment is same [...]

  • Seite 122

    120 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Input assignment-wise / maximum frequency fo r high-speed counters Input assignment-wise maximum frequency fo r 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[...]

  • Seite 123

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 121 19 A: A phase input, B: B phase input, P: Exte rnal preset input, E: Extern al enable in put ■ FX5U-64M  , FX5U-80M  • X10 to X17 are input frequencies up to 10 KHz, regardless of maximu m frequency value. • Preset input and Enable Input are input frequencies u p to 10 KHz,[...]

  • Seite 124

    122 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction A: A phase input, B: B phase input, P: Exte rnal preset input, E: Extern al enable in put CH3 1 -phase 1-count (S/W) A P E 200 KHz 1-phase 1- count (H/W) A B P E 200 KHz 1-phase 2- count A B P E 200 KHz 2-phase 2-cou nt [1 edge count] A B P E 200 KHz 2-phase 2-cou nt [2 edge count] A B[...]

  • Seite 125

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 123 19 High-speed counter p a rameters High-speed counter parameters are explain ed below . High-speed counter parameters are set by GX Works3. Outline of p arameters High-speed counter settings, high-speed comparison table, mult iple point high-spee d comparison table setting and input re[...]

  • Seite 126

    124 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction High-speed counter (normal mode) Normal mode for high-speed coun ters is explained below . Use normal mode if you want to use as an ordinary hi gh-speed counter . Set operation mode to normal mode by high-spe ed counter parameter setting. Sets detailed settings for channel used. Naviga[...]

  • Seite 127

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 125 19 Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations different from the p arameter settings are possible by tra n sferring val ues to special relays and special regi sters while changing these values in the progra m. For details concerni[...]

  • Seite 128

    126 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction High-speed counter (pulse density measurement mode) The pulse density measurement mode for high-spee d counters is explained below . When in pulse density measurement mode, pulse is counted from count input of the high-sp eed counter , and the number of pulses for a specified amount of[...]

  • Seite 129

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 127 19 Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations different from the p arameter settings are possible by tra n sferring val ues to special relays and special regi sters while changing these values in the progra m. For details concerni[...]

  • Seite 130

    128 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Precautions ■ Count direction switch during measuremen t The pulse density measurement mode calcula tes pulse density based on difference in measurin g unit time of the current value of high-sp eed counters. Y ou should therefore note that the input number of pulses ma y differ from [...]

  • Seite 131

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 129 19 High-speed counter (rot ational speed measurement mode) The rotational speed measurement mode for high-speed cou nters is explained below . When in rotational speed measu rement mode, pulse is counted from count input of t he high-speed counter , and the rotational speed for a speci[...]

  • Seite 132

    130 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations different from the p arameter settings are possible by tra n sferring val ues to special relays and special regi sters while changing these values in the progra m. For details concerning [...]

  • Seite 133

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 131 19 Precautions ■ Count direction switch during measuremen t The rotational speed measurement mode calculates ro tational speed based on current value difference of high-speed counters in the measuring u nit time. Y ou should therefore no te that the input number of pulses may differ [...]

  • Seite 134

    132 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction High-speed comp arison ta ble The high-speed comparison table is explained below . Used to set high-speed comparison table for high-speed counters. Sets match output setting for high-speed counters. Navigation windo w  [Parameter]  [FX5UCPU]  [Module Parameter]  [High Speed[...]

  • Seite 135

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 133 19 ■ 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. Operation is the same as for the DH SCR instru ction. For information on the DHSCR instruction, re fer to  MELSEC iQ-F F[...]

  • Seite 136

    134 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction ■ Other precautions There are common precautions when using high-speed cou nters. For details, refer to  Page 163 Precautions when using high-speed counters. Multiple point output, high-speed comp arison ta bles Multiple point output, high-spee d comp arison tables are explained b[...]

  • Seite 137

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 135 19 Multiple point output, high-speed comp arison t able operation Operation of each type high-speed comparison table is explained below . ■ Bit output When comparison value 1 matches the current value of the set high-speed counter , output data is transferred to the output devices. E[...]

  • Seite 138

    136 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Comp arison st art/stop for multiple poi nt output, high-speed comparison t able Multiple point output, high-spee d comp arison tables cannot execute comparison by setting the parameter alone. The HIOEN instruction is required to start/stop multiple point output, high-speed comparison [...]

  • Seite 139

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 137 19 S pecial 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 W rite R: Read only Special relay Func tion Operation Default [...]

  • Seite 140

    138 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction SM4564 High-speed counter count direction monitor (CH1) (1-phase 2-input, 2- phase 2-input) Down-counting Up-cou nting OFF R SM4565 High-speed counter count direction monitor (CH2) (1-phase 2-input, 2- phase 2-input) SM4566 High-speed counter count direction monitor (CH3) (1-phase 2-in[...]

  • Seite 141

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 139 19 Special relays shared by all channels A list of special relays for high-speed counter shared by all channels is provided below . R/W: Read or W rite R: Read only SM4628 High-speed counter enable input logic (CH1) Negative logic Positive logic Parameter setting values R/W SM4629 High[...]

  • Seite 142

    140 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction S pecial relay det ails Details concerning special relays used for high-speed counters are explained below . High-speed counter operating Device for monitori ng operation status of each channel of the hig h-speed counter . ■ Corresponding devices The device numbers corresponding to e[...]

  • Seite 143

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 141 19 High-speed counter overflow Flag that detects counter value overflow o f high-speed counter . ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Operation Description The content of the operation when ON and when OFF is as follows. • Do[...]

  • Seite 144

    142 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction High-speed counter (1-phase 2-input, 2- phase 2-input) cou nt direction monitor Device for monitori ng counter direction when using 1-phase 2-input, 2-phase 2-input counter . ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Operation Descr[...]

  • Seite 145

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 143 19 High-speed counter preset input logic These devices are used for setting the preset input logic. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Operation Description The content of the operation when ON and when OFF is as follows. •[...]

  • Seite 146

    144 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction ■ Up date timing The timing of device update is as follows. • Cannot be modified while th e high-speed counter is o perating. Operates in the configured status when the high-speed counter starts. • When the current value of a high-speed counter is rewritten with th e DHCMOV inst [...]

  • Seite 147

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 145 19 ■ Operation Description The content of the operation when ON and when OFF is as follows. These devices do not operate when the FX3 co mpatible high-speed counte r function is valid. ■ Up date timing The timing of device update is as follows. • Cannot be modified while th e hig[...]

  • Seite 148

    146 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction High-speed comparison t able (high-speed comp are instruction) error occurrence This device turns ON when driving the DHSCS, DHSCR, DHSZ inst ructions in excess of the limi tation of the number of instructions driven at the same time. ■ Corresponding devices The device number is shar[...]

  • Seite 149

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 147 19 ■ Up date timing The timing of device update is as follows. Multi-point output high-speed comparison t ab le completion This device turns ON when the high-speed counter's multi- point output high-spee d comparison tables have finished comparing all of the set tables. ■ Corr[...]

  • Seite 150

    148 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction S pecial registers list The following list sho ws the special registers u sed with high-sp eed counters. All set values exc ept for ring length are handled as signed. Special registers fo r individual channels The following list shows the speci al register s for individual high-speed c[...]

  • Seite 151

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 149 19 SD4548 High-speed counter number of pulses per rotatio n (CH2) 1 to 2147 483647 Parameter set value R/W SD4549 SD4550 to SD4559 Not used   SD4560 High-speed counter current value (CH3) -2147483648 to +2147483647 0 R/W SD4561 SD4562 High-speed counter maximum value ( CH3) -2[...]

  • Seite 152

    150 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction SD4622 High-speed counter maximum value ( CH5) -2147483648 to +2147483647 -2147483648 R/W SD4623 SD4624 High-speed counter minimum value (CH5) -2147483648 to +2147483 647 2147483647 R/W SD4625 SD4626 High-speed counter pulse density (CH5) 0 to 2147483647 0 R/W SD4627 SD4628 High-speed [...]

  • Seite 153

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 151 19 Special registers shared by all channels The following list shows the speci al register s shared b y all high-speed counter channels. R/W: Read or W rite R: Read only SD4688 High-speed counter rotational speed (CH7) 0 to 2147483647 0 R/W SD4689 SD4690 High-speed counter preset c ont[...]

  • Seite 154

    152 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction S pecial register det ails This section describes details about the spec ial registers used with the high-speed counters. High-speed counter current value These devices store the current va lues of the high-speed counters. ■ Corresponding devices The device numbers corresponding to e[...]

  • Seite 155

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 153 19 ■ Up date timing When the current value of a high-speed counter exceed s the ma ximum value, the value is updated in END processin g. When the value is read using the HCMOV instruct ion, it is fi rst updated to the latest value and then read. Further , wh en the FX3 compatible hig[...]

  • Seite 156

    154 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction • Power ON, Reset, STOP/P AUSE  RUN High-speed counter rotational speed These devices store the measurement resu lts of rotational speed measurement mode. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Description These devices stor[...]

  • Seite 157

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 155 19 ■ Description of operation This section describes the operations when the preset input logic and the preset con trol switch are co mbined. The preset value is set to 0. • Operation when preset input logic: positi ve logic, preset control switch: rising ed ge The preset is execut[...]

  • Seite 158

    156 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction • Operation when preset input logic: positive logic, preset control switch: constant when ON The preset is constantly execut ed while the preset input is ON. • Operation when preset input logic: negativ e lo gic, preset control switch : rising edge The preset is executed when the p[...]

  • Seite 159

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 157 19 • Operation when preset input logic: negative logic, p reset control switch: rising edge + fall ing edge The preset is executed when the preset input changes ON  OFF and when it changes OFF  ON. • Operation when preset input logic: negative lo gic, p reset control switch: [...]

  • Seite 160

    158 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction High-speed counter ring length These devices set the ring length of the high-speed counters. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Description These devices set the ring length of the high-speed counters. These set values are va[...]

  • Seite 161

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 159 19 High-speed counter number of pulses per rotation These devices set the number of pulses per rotation fo r rotational speed measurement mode. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Description These devices set the number of pu[...]

  • Seite 162

    160 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Multi-point output high-speed co mparison t able comparison number This device stores the number of the tabl e currently being compared in the multi-point output high-spe ed comparison tables. ■ Corresponding devices The device number is shared for all channels. ■ Description This [...]

  • Seite 163

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 161 19 S pecial relays/special registers capable of high-speed transfers with the HCMOV instruction The table below shows the devices that can read and write the latest value with the HCMOV in struction from special relays and special registers re lated to the high -speed counters. When sp[...]

  • Seite 164

    162 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction Special registers fo r individual channels This section only lists the devices for high-speed counte r CH1. The devices for high-spe ed counter CH2 and subsequent counters have the same operation as CH1.  : High-speed transfer capable (special register is immediately updated)  : [...]

  • Seite 165

    19 BUIL T -IN I/O FUNCTION 19.1 High-speed Counter Function 163 19 Precautions when using high-speed counters This section describes the precaut io ns when using high-speed counters. Common precautions when using high-speed counter instructions and p arameters This section describes the common precau tions when us ing high-speed comparison tables a[...]

  • Seite 166

    164 19 BUIL T-IN I/O FUNCTION 19.1 High-speed Counter Fun ction ■ High-speed counter current value modificatio n operation by instructions The table below shows the operations when the current valu e of a high-speed counter is rewritten by instructio ns. ■ Limit ation in the number of inst ances of each instruction in a p rogram and number of i[...]

  • Seite 167

    19 BUIL T -IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction 165 19 19.2 FX3-comp atible high-speed counter function FX3-compatible high-speed counter function is expla ined below . FX3-comp atible high-speed counter function overview The FX3 compatible high-speed counte r can assign the input termi nals compatible with FX3 and use t[...]

  • Seite 168

    166 19 BUIL T-IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction The element s of the composition of the LC device Each element that compo ses the LC device is shown below . The comp arison between the UDCNTF instruction and HIOEN instruction The comparison between the UDCNTF instruction and the HIOEN instruction is d escribed below .[...]

  • Seite 169

    19 BUIL T -IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction 167 19 • If the UDCNTF instructions and HIOEN instructions are us ed for the same CH, it is not possible to use the HIOEN instruction to stop the high-speed counter star ted by UDCNTF instructions. On th e other hand, the instruction started by t he HIOEN instruction can [...]

  • Seite 170

    168 19 BUIL T-IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction  : Change is possible  : Change is impossible The assignment of th e high-speed counter and the m aximum frequ ency when the FX3 comp atible function is valid Shown below is the assignment of the high-speed coun ter and the maximum frequ ency when the FX 3 compatib[...]

  • Seite 171

    19 BUIL T -IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction 169 19 FX3-comp atible high-speed counter setting This section describes the setting of the case when the FX3 compatible high-speed counter is used. FX3-compatible high-speed counter are set by GX Works3. • If a high-speed comparison t able or a multi-point ou tput high-s[...]

  • Seite 172

    170 19 BUIL T-IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction Window Displayed items Item Description Setting range Default Use/Not Use Set whether us e counter or not. • Disable • Enable  Counter device Select the high speed counter of input assignment which is compatible with FX3. CH1 • LC35 (Operation equivalent to C235[...]

  • Seite 173

    19 BUIL T -IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction 171 19 Parameters are enabled when the CPU module is powered ON or after a reset. S pecial relay list A list of special relays used for high-speed counters is provided below . Only the special relay corresponding to the LC device used as th e high-speed counter operates whe[...]

  • Seite 174

    172 19 BUIL T-IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction LC  count direction monitor This is the device to monitor the directions of the counters from LC35 to LC55 wh en the FX3 co mpatible high-speed counter is used. ■ Operation Description The content of the operation when ON and when OFF is as follows. ■ Up date timi[...]

  • Seite 175

    19 BUIL T -IN I/O FUNCTION 19.2 FX3-compatible high-speed counter fu nction 173 19 LC device  : High-speed transfer capable (special relay is immediately updated)  : Normal transfer capable (special relay is updated in END processing)  : T ransfer not possible (read-only) Precautions when using FX3-comp atible high-speed counters Shown bel[...]

  • Seite 176

    174 19 BUIL T-IN I/O FUNCTION 19.3 Pulse Width Measurement Function 19.3 Pulse Wid th Measurement Function This section describes the pu lse width measurement function. Pulse wid th measurement function overview The CPU module has a built-in pulse width measurement function and it is capable of measuring the pulse width/period of a maximum of 4 cha[...]

  • Seite 177

    19 BUIL T -IN I/O FUNCTION 19.3 Pulse Width Measurement Function 175 19 Switching positive lo gic/negative logic The pulse input logic can be switched . Positive logic or negativ e logic can be set for each channel with parameter settings. ■ Operation for positive logic ■ Operation for negative logic Continuous measurement/one -time measurement[...]

  • Seite 178

    176 19 BUIL T-IN I/O FUNCTION 19.3 Pulse Width Measurement Function Pulse wid t h measurement p a rameters This section explains the parame ters for pulse width measurement. Set the parameters for pulse wid th measurement in GX W orks3. Outline of p arameters Parameters for pulse width measurement are input allocatio n , logical switch ,measurement[...]

  • Seite 179

    19 BUIL T -IN I/O FUNCTION 19.3 Pulse Width Measurement Function 177 19 List of special relays/special registers The list of special relays/special registers used in pulse wi dth measurement is shown below . R/W: Read or write (Note, however , that only writing is allowed for the HCMOV instruction .) R: Read only Special relays/ special registers F[...]

  • Seite 180

    178 19 BUIL T-IN I/O FUNCTION 19.3 Pulse Width Measurement Function Det ails of special relays/special registers Details of special relays/special registers used in pulse width measurement are explained belo w . Pulse wid th measurement st atus flag This flag is a device for monitoring the measurement in prog ress/measurement stop ped status of pul[...]

  • Seite 181

    19 BUIL T -IN I/O FUNCTION 19.3 Pulse Width Measurement Function 179 19 Falling edge flag This flag turns ON a t the end of the 1st pu lse width measur emen t. During measurement in th e alwa ys measurement mode, it stays ON. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Up date timing Devices are u[...]

  • Seite 182

    180 19 BUIL T-IN I/O FUNCTION 19.3 Pulse Width Measurement Function Rising edge ring counter value The ring counter value when the rising edge is detected is sto red. Ring counter values can be changed only by the HCMOV instruction. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Up date timing Device[...]

  • Seite 183

    19 BUIL T -IN I/O FUNCTION 19.3 Pulse Width Measurement Function 181 19 Pulse wid th 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 fa lling edge. • When logic switching i s set to negative lo gic, th e difference from the falling edge [...]

  • Seite 184

    182 19 BUIL T-IN I/O FUNCTION 19.3 Pulse Width Measurement Function Period maximum value The maximum value of the period is stored. • When logic switching is set to positive logic, the difference from rising edge to rising edge. • When logic switchin g is set to negative logic, the difference from falling edge to falling edge . • The maximum [...]

  • Seite 185

    19 BUIL T -IN I/O FUNCTION 19.3 Pulse Width Measurement Function 183 19 Examples of program An example of a program using the pulse wid th measurement function is explained below . Outline of operation A program for measuring the delay time betwe en the rising edges of input signal s X1 and X2 o n the CPU module is explained below . Parameter s ett[...]

  • Seite 186

    184 19 BUIL T-IN I/O FUNCTION 19.4 Pulse Catch Function 19.4 Pulse Catch Function This section explains t he pulse catch function. Outline of pulse catch function The CPU module has a built-in pulse catch function whi ch enable s pulse signal s that are incompletely sampled in regular input processing to be caught. Inputs X0 to X17 on the CPU modul[...]

  • Seite 187

    19 BUIL T -IN I/O FUNCTION 19.4 Pulse Catch Function 185 19 Pulse catch p arameters This section explains the pulse catch parameters. Set the pulse catch paramet ers in GX Works3. Outline of p arameters Pulse catch parameters are pulse ca tch settin g and input response time. Parameter s etting This section explains how to set pulse catch parameter[...]

  • Seite 188

    186 19 BUIL T-IN I/O FUNCTION 19.4 Pulse Catch Function Operation of pulse catch function Operation of the pu lse catch function is explained be low . Basic operation of pulse catch function The corresponding input device is turned ON for the duration of the scan following the scan whe re the pulse signal is detected. The inp ut device is turned OF[...]

  • Seite 189

    19 BUIL T -IN I/O FUNCTION 19.4 Pulse Catch Function 187 19 ■ Operation when the same pulse is de tected for two scans or more The input device is turned ON for the detected number of scans . Input pulse signals at intervals of one scan or longer . ■ Operation when a pulse having an ON wid th of two scans or more is input The input device is tu[...]

  • Seite 190

    188 19 BUIL T-IN I/O FUNCTION 19.5 FX3-Compatible Pulse Catch Function 19.5 FX3-Comp atible Pulse Catch Function This section explains the FX3- compatible pulse catch function. Outline of FX3-comp atible 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 speci[...]

  • Seite 191

    19 BUIL T -IN I/O FUNCTION 19.5 FX3-Compatible Pulse Catch Function 189 19 FX3-comp atible pulse catch function execution procedure The procedure for executing the FX3-compatib le pulse catch function is explained below. 1. Check the FX3-compatible pu lse catch specificatio ns. Check specifications such as the input response time and corre sponding[...]

  • Seite 192

    190 19 BUIL T-IN I/O FUNCTION 19.5 FX3-Compatible Pulse Catch Function Displayed items Parameters are enabled when the CPU module is powered ON or after a reset. Operation of FX3-comp at ible pulse catch function Operation of the FX3-comp atible pulse catch function is explained below . Operation of FX3-compatib le pulse catch function When the sta[...]

  • Seite 193

    19 BUIL T -IN I/O FUNCTION 19.6 General-purpose Input Functions 191 19 19.6 General-purpose Input Functions The FX5 PLC general-purpose inpu ts 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. S pecifications of general-purpose input s Perfo[...]

  • Seite 194

    192 19 BUIL T-IN I/O FUNCTION 19.6 General-purpose In put Functions General-purpose input function p arameters This section explains the ge neral-purpose input parameters. Set the input response ti me parameters in GX Works3. Parameter s etting This section explains how to set the input response time parameters. Set the input response ti me. Naviga[...]

  • Seite 195

    19 BUIL T -IN I/O FUNCTION 19.7 PWM Function 193 19 19.7 PWM Function This chapter explains the PWM functi on. Outline of PWM output The CPU module has a built-in PWM function, which allo ws PWM output on up to four channels. For PWM output, the output channel assignment, pulse/cycle units, output pulse logic, pulse wi dth, cycle, etc. are set usin[...]

  • Seite 196

    194 19 BUIL T-IN I/O FUNCTION 19.7 PWM Function ■ When negative logic is set The relationshi p between the period and pulse wi dth when the output pulse logic at start of pulse output is set to "negative logic" is shown below . (The pulse width is called the "OFF width".) • When negative logic is set, PWM output begins when [...]

  • Seite 197

    19 BUIL T -IN I/O FUNCTION 19.7 PWM Function 195 19 PWM output p arameters This section explains the PWM output parameters. Set the PWM output pa rameters in GX Works3. Outline of p arameters PWM output parameters are output destination , pulse width /cycle unit, output pulse logic, pulse width, and period. Parameter s etting This section explains [...]

  • Seite 198

    196 19 BUIL T-IN I/O FUNCTION 19.7 PWM Function List of S pecial 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 Det ails of special relays/special registers Details of special relays/special regi sters used in PWM output are explained below . Operation monito[...]

  • Seite 199

    19 BUIL T -IN I/O FUNCTION 19.7 PWM Function 197 19 Number of output pulses The number of output pulses of PWM output is stored. When "0" is set, o utput is continued with out any limitation. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Up date timing The timing to reflect the device in o[...]

  • Seite 200

    198 19 BUIL T-IN I/O FUNCTION 19.7 PWM Function Period The period of PW M output is stored. ■ Corresponding devices The device numbers corresponding to each ch annel are as follows. ■ Up date timing The timing to reflect the device in operation is as follows. • When the HCMOV instructi on is executed (values update d immediately) • When th [...]

  • Seite 201

    19 BUIL T -IN I/O FUNCTION 19.7 PWM Function 199 19 Cautions when using the PWM function • Set the pulse width to a value 2  s more and period to a value 5  s more. • Set the value s o that pulse width  period. • The PWM instruction is not executed when a channel num ber not selected for PWM output in parameters setting is specified [...]

  • Seite 202

    200 19 BUIL T-IN I/O FUNCTION 19.7 PWM Function ■ Program • Example of program for PWM output using th e HIOEN instruction • Example of program for PWM output using th e PWM instruction HIOEN K0 K1 K50 Interrupt program is permitted. DHCMOV K1 SD5300 SM402 RST Y0 I0 SM400 FEND K0 SM400 EI IMASK D0 MOV H1 SM402 D0 IRET END The number of pulses[...]

  • Seite 203

    20 BUIL T -IN ANALOG FUNCTION 20.1 Function Outline 201 20 20 BUIL T -IN ANALOG FUNCTION The analog I/O terminal functions built into th e FX5U CPU module are explained below. 20.1 Function Outline There are two lines of analog voltage input and one line of ana log voltage output built into the FX5U CPU module. Functions must be configured using pa[...]

  • Seite 204

    202 20 BUIL T-IN ANALOG FUNCTION 20.2 Analog Input/Output Specifica tions List of analog input functions List of analog output functions List of Functions Description Function to enable/disable A/ D conv ersion Function to en able or disable A/D conversion per channel. The conversion process time can be reduced by disabl ing conversi on for unused [...]

  • Seite 205

    203 PA R T 3 P ART 3 DEVICES/LABELS This part consists of the following chapters. 21 DEVICES 22 LABELS[...]

  • Seite 206

    204 21 DEVICE S 21.1 List of Devices 21 DEVICES This chapter explains devices. 21.1 List of Devices A list of devices is provi ded below . S p ecify code of timer/retentive time r/counter/long counter by T/ST/C/L C if type is determine d like instruction when specifying device. If type is not determined, speci f y by code from among contact, coil o[...]

  • Seite 207

    21 DEVICES 21.2 User Devices 205 21 21.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 sw itches, limit switches, digital switches, etc. Concept of input Y ou can think each input point as having a vi rtual relay Xn built into a single CP[...]

  • Seite 208

    206 21 DEVICE S 21.2 User Devices 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 pow er OFF  ON • Reset • Latch clear Latch relay (L) Auxiliary relay that can latch (backup by battery) i n the CPU module. Computatio n res[...]

  • Seite 209

    21 DEVICES 21.2 User Devices 207 21 How to turn annunciator (F) ON Use SET F  instruction. The annunciator (F) turns ON onl y during the rise time of input conditio ns (OFF  ON); the annunciator (F) remains ON even if the input condition is OFF . • The annunciator (F) can also be turned ON b y OUT F  instruction, but because it is proces[...]

  • Seite 210

    208 21 DEVICE S 21.2 User Devices How to turn annunciator (F) OFF Annunciators (F) are turned OFF by the following instructi on. Y ou can turn OFF by OUT F  as well, but "Processing when annunciator (F) is OFF" descri bed below is not carried out even if annuncia tor numbers are turned OF F by OUT F  instruction. If a nnunciator (F)[...]

  • Seite 211

    21 DEVICES 21.2 User Devices 209 21 T imer (T/ST) Device whereby measurement starts when the timer coil is turn ed ON, time up occurs when current value reaches the setting value, and the contact is turne d ON. The timer is an additi on type counter . When time is up, the current value and setting value are the same value. T ypes of timers There ar[...]

  • Seite 212

    210 21 DEVICE S 21.2 User Devices Current value and measurement range o f timer ■ T imer The current value range is 0 to 32767. Timer processing method The timer's coil is turned ON/OFF , the current value is upda ted and the contact is turned ON/OFF when timer's coil (OUT T  instruction) is executed. The difference between a ti mer [...]

  • Seite 213

    21 DEVICES 21.2 User Devices 211 21 Routine timer setting The setting of the routine timer is made. Navigation w indow  [Paramet er]  [FX5UCPU]  [CPU P arameter]  "Memory/Device Setting"  "Device/Label Memory Area Setting" Window Displayed items Item Description Setting range Default T o use or not to use the rout[...]

  • Seite 214

    212 21 DEVICE S 21.2 User Devices Counter (C/LC) Device that counts number of rises of input conditi ons in t he 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 165 FX3-compatible high-sp[...]

  • Seite 215

    21 DEVICES 21.2 User Devices 213 21 Counter reset Current value of counters is not cleared even if its coil input is turned OFF . T o clear (reset) the current value of the counte r 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  ins[...]

  • Seite 216

    214 21 DEVICE S 21.2 User Devices T o handle th is, arrange so that C0 coil is not turn ed OFF while OUT C0 instructio n execution condition (M0) is ON, by in serting the NC contact execution condition of the OU T C0 instruction in the execution condit ion of the RST C0 instruction as shown by the following circuit example. • When a counter is re[...]

  • Seite 217

    21 DEVICES 21.3 System Devices 215 21 Dat a 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 betw een link registers (L W) in netw[...]

  • Seite 218

    216 21 DEVICE S 21.4 Module Access Device 21.4 Module Access Device Device that allows you to d irectly access the buffer memory of intel ligent function modules connected to the CPU module from the CPU module. S pecification method S pecified by U [module number of intellige nt function modules][buffer memory address]. (Example: U5G1 1) Processi[...]

  • Seite 219

    21 DEVICES 21.5 Index Registers (Z/LZ) 217 21 21.5 Index Registers (Z/LZ) Device used for indexing of devices. T ypes of index registers There are 2 types: the index register (Z) and long index register (LZ) Index register (Z) Used for 16-bit index modifica tion. Long index register (LZ) Used for 32-bit index modifica tion. Index register setting A[...]

  • Seite 220

    218 21 DEVICE S 21.6 File Register (R) 21.6 File Register (R) Device capable of storing numerical data. 21.7 Nesting (N) Device for programming operating con ditions by nesting using master control instru ctions (MC/MCR instructio n) *1 . Operation conditions are specified in ascending order (N0 to N14) from outside the nesting. *1 Instruction for [...]

  • Seite 221

    21 DEVICES 21.8 Pointer (P) 219 21 21.8 Pointer (P) Device used by instructions such as ju mp instruction (CJ instruct ion) and subroutine program call instruction (C ALL instruction, etc.). T ypes of pointers are as follows. Pointers are used fo r the following p urposes. • S pecifies label and where to jump to for jump instruction (CJ instructi[...]

  • Seite 222

    220 21 DEVICE S 21.9 Interrupt Pointer (I) Interrupt causes of the interrupt pointer numbers A list of interrupts is provided below . The priority for the interrupt pointer numbers and interrupt factors The priority for the interrupt pointer numbers and interrupt factors are indicated. • The interru pt priority is the order which is executed at t[...]

  • Seite 223

    21 DEVICES 21.10 Constant 221 21 21.10 Const a nt This section explains constants. Decimal const ant (K) Device that specifies decimal data for the program. S pecified by K  . (Example: K1234) The specification range is determined by type of argu ment data of instruction using a decimal constant. Hexadecimal const ant (H) Device that specifies h[...]

  • Seite 224

    222 22 LABELS 22 LABELS Label is identifier (character string) that specifies a characte r string in I/O data or internal processing. When a label is us ed in programming, a program can be created wit hout bei ng conscious about the device No. *1 *1 Label and device can be used in mixed manner . For details on label, refer to the following.  MEL[...]

  • Seite 225

    22 LABELS 223 22 MEMO[...]

  • Seite 226

    224 APPENDIX Appendix 1 Special Relay List APPENDIX Appendix 1 S pecial Relay List Diagnostic information The special relays for diagnostic information are shown belo w . R: Read only , R/W: Read/Write System information The special relays for system information are shown below . R: Read only , R/W: Read/Write System clock The special relay about s[...]

  • Seite 227

    APPENDIX Appendix 1 Special Relay List 225 A Drive information The special relays for drive information are shown below . R: Read only , R/W: Read/Write SM401 Always OFF R SM402 After RUN, ON for one scan only R SM403 After RUN, OFF for one scan only R SM409 0.01 second clock R SM410 0.1 second clock R SM41 1 0.2 second clock R SM412 1 second clock[...]

  • Seite 228

    226 APPENDIX Appendix 1 Special Relay List Instruction re lated The special relays related to instruction exec ution are shown below . R: Read only , R/W: Read/Write FX high-speed input and output The special relays for FX high-speed input and ou tput are shown below . R: Read only , R/W: Read/Write SM605 Memory card interchange protect OFF: Remove[...]

  • Seite 229

    APPENDIX Appendix 1 Special Relay List 227 A SM4521 High-speed counter pulse den sity/Rotation speed measurement (CH6) OFF: S topped ON: Measurement R SM4522 High-speed counter pulse den sity/Rotation speed measurement (CH7) OFF: S topped ON: Measurement R SM4523 High-speed counter pulse den sity/Rotation speed measurement (CH8) OFF: S topped ON: M[...]

  • Seite 230

    228 APPENDIX Appendix 1 Special Relay List SM4583 High-speed counter co unt switching (CH4) (1-phase 1- input S/W) OFF: Up-counting ON: Down-counting R/W SM4584 High-speed counter co unt switching (CH5) (1-phase 1- input S/W) OFF: Up-counting ON: Down-counting R/W SM4585 High-speed counter co unt switching (CH6) (1-phase 1- input S/W) OFF: Up-count[...]

  • Seite 231

    APPENDIX Appendix 1 Special Relay List 229 A SM4645 High-speed count er ring length (CH2) OFF: Disabled ON: Enabled R/W SM4646 High-speed count er ring length (CH3) OFF: Disabled ON: Enabled R/W SM4647 High-speed count er ring length (CH4) OFF: Disabled ON: Enabled R/W SM4648 High-speed count er ring length (CH5) OFF: Disabled ON: Enabled R/W SM464[...]

  • Seite 232

    230 APPENDIX Appendix 1 Special Relay List SM5303 PWM function op eration (CH4) OFF: S topped ON: Operation R SM5500 Built-in position ing instruction activation (axis 1) OFF: Stopped ON: Operation R SM5501 Built-in position ing instruction activation (axis 2) OFF: Stopped ON: Operation R SM5502 Built-in position ing instruction activation (axis 3)[...]

  • Seite 233

    APPENDIX Appendix 1 Special Relay List 231 A SM5645 Built-in positioni ng pulse decelerates stop command (a xis 2) (With remaining dist ance operation) OFF: Pulse output is not stopped ON: Pulse output decelerates stop R/W SM5646 Built-in positioni ng pulse decelerates stop command (a xis 3) (With remaining dist ance operation) OFF: Pulse output is[...]

  • Seite 234

    232 APPENDIX Appendix 1 Special Relay List Built-in analog The special relays for built-in analog are shown be low . R: Read only , R/W: Read/Write No. Name Description R/W SM6020 CH1 A/D conversion completed flag OFF: A/D conversio n not completed ON: A/D conversion co mpleted R SM6021 CH1 A/D conversion enable/disab l e setting OFF: A/D conversio[...]

  • Seite 235

    APPENDIX Appendix 1 Special Relay List 233 A FX comp atible area The special relays of FX compatible area are shown below . R: Read only , R/W: Read/Write SM6098 CH2 A/D alarm flag OFF: No alarm ON: Alarm R/W SM6099 CH2 A/D error f lag OFF: No error ON: Error R/W SM6180 D/A conversion enable/disa ble setting OFF: D/A conversion enable ON: D/A conve[...]

  • Seite 236

    234 APPENDIX Appendix 1 Special Relay List SM8016 T ime read display is stopped When SM8016 turns ON, the time display is st opped. R/W SM8017  30 seconds correcti on At the edge from OFF to ON, the RTC i s set to the nearest minute. (When the seco nd 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[...]

  • Seite 237

    APPENDIX Appendix 1 Special Relay List 235 A SM8059 I0  0 disable (Counter interrupt disable) OFF: Interrupt enabled ON: Interrupt disable d R/W SM8063 Serial communication error1 (ch1) OFF: No error ON: Error R SM8067 Operation erro r OFF: No error ON: Error R SM8068 Operation error latch O FF: No error ON: Error (latch) R SM8090 Block comparis[...]

  • Seite 238

    236 APPENDIX Appendix 1 Special Relay List SM8248 LC48 counting directio n monitoring OFF: Down count operation ON: Up count operation R SM8249 LC49 counting directio n monitoring OFF: Down count operation ON: Up count operation R SM8250 LC50 counting directio n monitoring OFF: Down count operation ON: Up count operation R SM8251 LC51 counting dire[...]

  • Seite 239

    APPENDIX Appendix 1 Special Relay List 237 A Serial communication The special relays for serial communication are shown below . R: Read only , R/W: Read/Write SM8423 MODBUS communication error (latched ) (ch2) OFF: No error ON: Error (latch) R SM8424 RS2 Carrier detection f lag (ch2)/MODBUS communication mode (ch2) Carrier detection flag or list en[...]

  • Seite 240

    238 APPENDIX Appendix 1 Special Relay List SM8573 Carrier detection flag (ch2) This device turns ON in synchronization with the CD (DCD) signal. R SM8574 Data set rea dy flag (ch2) This device turns ON in synchronizatio n with the DR (DSR) signal. R SM8575 T ime-out check flag (ch2) This device turn s ON when dat a receiving is suspended and the ne[...]

  • Seite 241

    APPENDIX Appendix 1 Special Relay List 239 A SM8891 Host st ation No. setting SD latch enabled (ch4) OFF: Latch disabled ON: Latch enabled R SM8920 Inverter communication (ch1) OFF: No communicati on ON: Communication R SM8921 IVBWR instruction error (ch1) OFF: No error ON: Error R SM8930 Inverter communication (ch2) OFF: No communicati on ON: Comm[...]

  • Seite 242

    240 APPENDIX Appendix 2 Special Register List Appendix 2 S pecial Register List Diagnostic information The special register for diagnosti c information are shown below. R: Read only , R/W: Read/Write No. Name Description R/W SD0 Latest self diagnostics error code This register stores the latest self-diagn osis error code. R SD1 Clock time for self [...]

  • Seite 243

    APPENDIX Appendix 2 Special Register List 241 A SD81 to S D 111 Detailed info rmation 1 • Detailed informati on 1 corresponding to the error code (SD0) is stored. • There are six types of information to be stored as show n in the following figures. • The type of detailed information 1 can be obtained using SD80 (the value of the "Det ail[...]

  • Seite 244

    242 APPENDIX Appendix 2 Special Register List SD81 to S D 111 Detailed info rmation 1 (5) System configuration information (6) Number of times information (7) T ime information R SD1 12 Detailed informati on 2 information category • Detailed information 2 informati on category code is stored. • The following codes are stor ed into the informati[...]

  • Seite 245

    APPENDIX Appendix 2 Special Register List 243 A SD1 13 to SD143 Detailed info rmation 2 • Detailed informati on 2 corresponding to the error code (SD0) is stored. • There are four types of info rmation to be stored as shown in the following figures. • The type of detailed information 2 can be obtained using SD1 12 (the value of the "Det [...]

  • Seite 246

    244 APPENDIX Appendix 2 Special Register List System information The special registers for system information are shown below . R: Read only , R/W: Read/Write No. Name Description R/W SD200 Switch S tatus This regist er stores the CPU switch status. 0: RUN 1: STOP R SD201 LED status Thi s regist er stores the LED status. R SD203 CPU St atus This re[...]

  • Seite 247

    APPENDIX Appendix 2 Special Register List 245 A System clock The special registers for syst em clock are shown below . R: Read only , R/W: Read/Write Scan information The special registers for scan informatio n are shown below . R: Read only , R/W: Read/Write Drive information The special registers for drive information are shown belo w . R: Read o[...]

  • Seite 248

    246 APPENDIX Appendix 2 Special Register List Instruction re lated The special registers related to in struction execution are shown below . R: Read only , R/W: Read/Write Mask p attern of interrupt pointers The special registers for the mask pattern of interrupt pointers are shown below . R: Read only , R/W: Read/Write FX dedicated The special reg[...]

  • Seite 249

    APPENDIX Appendix 2 Special Register List 247 A FX high-speed input and output The special registers for FX high-sp eed input and outpu t are shown below . R: Read only , R/W: Read/Write SD4124 Error code 15 details This register stores the self-diagno sis error code details. • Module position [Low order 8 bit] 0H: Built-in high-speed I/O 41H: Bu[...]

  • Seite 250

    248 APPENDIX Appendix 2 Special Register List SD4504 High-speed counter minimum value [Low-order] (CH1) This regist er stores the high-speed counter minimum value (CH1). R/W SD4505 High-speed counter minimum value [High-order] (CH1) SD4506 High-speed counter pulse density [Lo w-order] (CH1) This register stores the high-speed counter pulse densi ty[...]

  • Seite 251

    APPENDIX Appendix 2 Special Register List 249 A SD4572 High-speed counter preset value [Low-ord er] (CH3) This re gister stores the high-spe ed counter preset value (CH3). R/W SD4573 High-speed counter preset value [High-or der] (CH3) SD4574 High-speed counter ring length [Low-orde r] (CH3) This re gister stor es the high-speed counter ring length [...]

  • Seite 252

    250 APPENDIX Appendix 2 Special Register List SD4638 High-speed counter number of pulse s per rotation [Low- order] (CH5) This register stores the high-speed counter number of pulses per rotation (CH5). R/W SD4639 High-speed counter number of pulse s per rotation [High- order] (CH5) SD4650 High-speed counter current value [Low-or der] (CH6) This re[...]

  • Seite 253

    APPENDIX Appendix 2 Special Register List 251 A SD4714 High-speed counter minimum value [Low-order] (CH8) This regist er stores the high-speed counter minimum value (CH8). R/W SD4715 High-speed counter minimum value [High-order] (CH8) SD4716 High-speed counter pulse density [Lo w-order] (CH8) This register stores the high-speed counter pulse densi [...]

  • Seite 254

    252 APPENDIX Appendix 2 Special Register List SD5042 Pulse width measurement falling rin g counter value [Low- order] (CH2) This register stores the pulse wid th measurement falling ring counter value (CH2). R/W SD5043 Pulse width measurement falling rin g counter value [High- order] (CH2) SD5044 Pulse width measurement latest value [Low-o rder] (C[...]

  • Seite 255

    APPENDIX Appendix 2 Special Register List 253 A SD5082 Pulse width measurement falling rin g counter value [Low- order] (CH4) This register stores the pulse wid th measurement falling ring counter value (CH4). R/W SD5083 Pulse width measurement falling rin g counter value [High- order] (CH4) SD5084 Pulse width measurement latest value [Low-o rder] [...]

  • Seite 256

    254 APPENDIX Appendix 2 Special Register List SD5348 PWM pulse output number [Low-order] (CH4) This regist er stores the PWM pulse output number (CH4). R/W SD5349 PWM pulse output number [ High-order] (CH4) SD5350 PWM pulse width [Low-order] (CH4) This reg ister stores the PWM pulse width (CH4). R/W SD5351 PWM pulse width [High-order] (CH4) SD5352 [...]

  • Seite 257

    APPENDIX Appendix 2 Special Register List 255 A SD5546 Built-in positioning execution ta ble number (axis 2) This register stores the execution table number of built-in positioning (a xis 2). R SD5550 Built-in positioning error code (axis 2) This register stores the error code of built-in positioning (axis 2). R/W SD5551 Built-in positioning error [...]

  • Seite 258

    256 APPENDIX Appendix 2 Special Register List Built-in analog The special registers for built-in analog are shown be low . R: Read only , R/W: Read/Write SD5613 Built-in positioning zero-return dwell time (axis 3) This register stores the zero-return dwell time of built-in positioning (a xis 3). R/W SD5620 Built-in positioning current a ddress (use[...]

  • Seite 259

    APPENDIX Appendix 2 Special Register List 257 A FX Comp atible area The special registers for FX compatible area are shown below . R: Read only , R/W: Read/Write SD6034 CH1 Process alarm lower lower limit value This regist er stores the process alarm lower lower limit value. R/W SD6058 CH1 Latest alarm code This register stores the latest alarm cod[...]

  • Seite 260

    258 APPENDIX Appendix 2 Special Register List SD8018 RTC: Y ear data This register stores the year data. R SD8019 RTC: Day of week data This register stores the day of week data. R SD8039 Constant scan duration This regist er stores the constant scan duration. R/W SD8040 ON state number 1 This regist er stores the ON state number 1. R/W SD8041 ON s[...]

  • Seite 261

    APPENDIX Appendix 2 Special Register List 259 A SD8212 Code of communication error at slave st ation No.1 This re gister stores the code of communication error at slave station No.1. R SD8213 Code of communication error at slave st ation No.2 This re gister stores the code of communication error at slave station No.2. R SD8214 Code of communication[...]

  • Seite 262

    260 APPENDIX Appendix 2 Special Register List Serial communication The special registers for serial communication are shown below . R: Read only , R/W: Read/Write SD8419 Operation mode (ch1) This register sto res the operation mode (ch1). R SD8422 RS2 amount of remaining data (ch2)/MOD BUS communication error code (ch2) This register stores the amo[...]

  • Seite 263

    APPENDIX Appendix 2 Special Register List 261 A SD8573 Receive sum (received data) (ch2) This register stores the rece ive sum (received data) (ch2). R SD8574 Receive sum (received result) (ch2) This regi ster stores the receive sum (received result) (ch2). R SD8575 Send sum (ch2) This register stores the send sum (ch2). R SD8580 Remaining points o[...]

  • Seite 264

    262 APPENDIX Appendix 2 Special Register List SD8860 Communication format (ch1) This register stores the communication format (ch1). R SD8861 Slave node address (ch1) This register stores the host st ation number (ch1). R SD8862 Slave response timeout (ch1) This register stores the slave response time out (ch1). R SD8863 Turn around del ay (ch1) Th[...]

  • Seite 265

    APPENDIX Appendix 2 Special Register List 263 A Built-in Ethernet The special registers for built -in Etherne t are shown below . R: Read only , R/W: Read/Write SD9061 Code of communication error at master sta tion This register stores the code of communicati on error at master station. R SD9062 Code of communication error at slave st ation No.1 Th[...]

  • Seite 266

    264 APPENDIX Appendix 2 Special Register List SD10271 Remote p assword lock status system port b2: MELSOFT application communication port (TCP) b3: MELSOFT direct conn ection 0: Unlock status/remote p assword setting none 1: Lock status R SD10320 Connection 1 continuou s unlock failure number of times This register stores the connection 1 continuou[...]

  • Seite 267

    APPENDIX Appendix 2 Special Register List 265 A SD10714 Number of registered pr edefined protocols S tores the pr ot ocol number of the registere d protocol setting dat a. R SD10722 Predefin ed protocol registration (1 to 16) Whether protocol settin g data is registered or not is stored. R SD10723 Predefin ed protocol registration (17 to 32) SD1072[...]

  • Seite 268

    266 APPENDIX Appendix 2 Special Register List SD10758 Connection No.1 protocol execut i on count S tores the number of protocol executions in Connection No.1. 0: Protocol not executed 1 to 65535: Number of executions R SD10759 Connection No.1 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.1. 0: No cancellation[...]

  • Seite 269

    APPENDIX Appendix 2 Special Register List 267 A SD10778 Connection No.2 protocol execut ion count S tores the number of protoc ol executions in connection No.2. 0: Protocol not executed 1 to 65535: Number of executions R SD10779 Connection No.2 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.2. 0: No cancellati[...]

  • Seite 270

    268 APPENDIX Appendix 2 Special Register List SD10798 Connection No.3 protocol execut ion count S tores the number of protoc ol executions in connection No.3. 0: Protocol not executed 1 to 65535: Number of executions R SD10799 Connection No.3 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.3. 0: No cancellation[...]

  • Seite 271

    APPENDIX Appendix 2 Special Register List 269 A SD10818 Connection No.4 protocol execut ion count S tores the number of protoc ol executions in connection No.4. 0: Protocol not executed 1 to 65535: Number of executions R SD10819 Connection No.4 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.4. 0: No cancellati[...]

  • Seite 272

    270 APPENDIX Appendix 2 Special Register List SD10838 Connection No.5 protocol execut ion count S tores the number of protoc ol executions in connection No.5. 0: Protocol not executed 1 to 65535: Number of executions R SD10839 Connection No.5 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.5. 0: No cancellation[...]

  • Seite 273

    APPENDIX Appendix 2 Special Register List 271 A SD10858 Connection No.6 protocol execut ion count S tores the number of protoc ol executions in connection No.6. 0: Protocol not executed 1 to 65535: Number of executions R SD10859 Connection No.6 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.6. 0: No cancellati[...]

  • Seite 274

    272 APPENDIX Appendix 2 Special Register List SD10878 Connection No.7 protocol execut ion count S tores the number of protoc ol executions in connection No.7. 0: Protocol not executed 1 to 65535: Number of executions R SD10879 Connection No.7 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.7. 0: No cancellation[...]

  • Seite 275

    APPENDIX Appendix 2 Special Register List 273 A SD10898 Connection No.8 protocol execut ion count S tores the number of protoc ol executions in connection No.8. 0: Protocol not executed 1 to 65535: Number of executions R SD10899 Connection No.8 protocol cancella tion specificatio n Cancels the protocol exec uted in connection No.8. 0: No cancellati[...]

  • Seite 276

    274 APPENDIX Appendix 3 Error Code Appendix 3 Error Code The CPU module stores error code in special registe r (SD) upon detection of an error using the self-diagnostics function. The error details and cause can be identified by ch ecking the error co d e. The error code can be checked in either of the following ways. • Module diagnostics of eng [...]

  • Seite 277

    APPENDIX Appendix 3 Error Code 275 A How to clear errors Continuation errors can be clea red. (  Page 1 12 Error Cl ear) List of error codes Self-diagnostics error codes of the CPU module (1000H to 3FFFH) The following table lists the error codes detected by the self-diagno stics function of the CPU module. Error code Error name Error details an[...]

  • Seite 278

    276 APPENDIX Appendix 3 Error Code 1FE5H Module configuration error • The I/O numbers of the re served module specified in t he I/O assignment setti ng of the parameters overlap those of other modules. • Make sure that the parameters are consistent with the connect ions. System configuration information At power-on, at RESET 1FE6H Module config[...]

  • Seite 279

    APPENDIX Appendix 3 Error Code 277 A 2301H Security key authentication error • The program is locked by the security key , but the securit y key is not written in the CPU module. • Write the security key to the CPU modul e. Drive/file information At power-on, at RESET , at STOP  RUN state 2302H Security key authentication error • The secur[...]

  • Seite 280

    278 APPENDIX Appendix 3 Error Code 2823H Device specification error • Ve rify that the specified module has buffer memory . • Check the buffer memory range of the specified module. • Ve rify that the size specified from the specified buf fer memory number is within the buf fer memory range. • Review the program or check the conte nts of the[...]

  • Seite 281

    APPENDIX Appendix 3 Error Code 279 A 3057H System bus error • A timeout occurred duri ng communication with a connected modu le when an instruction was executed. • V erify that extension cables are correctl y connected. • V erify that the version of the CPU modu le is compatible with t he module where the error was detected. • Implement ant[...]

  • Seite 282

    280 APPENDIX Appendix 3 Error Code 3341H FOR-NEXT instruction error • The relationship between FOR and NEXT instructions is invalid. • Make sure that FOR and NEXT instructions are each executed the same number of times. In addition, check synt ax for any invalid jump instructions. Error location information At END instruction execution 3342H FO[...]

  • Seite 283

    APPENDIX Appendix 3 Error Code 281 A 33F3H Program structure error • More than two STL instructions for the same S number are programmed. • Recheck the structure of the step ladd er. Error location information At power-on, at RESET , at STOP  RUN state 3400H Operation error • A value of 0 was input as a divisor in an applied instruction. ?[...]

  • Seite 284

    282 APPENDIX Appendix 3 Error Code 3514H Operation error • The auto tuning result in the step response method i s abnormal. • The deviation at start of auto tu ning is 150 or less. • The deviation at end of auto tuning is 1/3 or more of the deviati on at start of auto tuning. • Check the measured value and target value, and then execute aut[...]

  • Seite 285

    APPENDIX Appendix 3 Error Code 283 A 361 1H CH1 pulse width, period setting error • The value of the special register to set the pulse width and cycle of the PWM instruction is abn ormal. • Modify the value of the special register and restart PW M. Error location information and system configuration information At END instruction execution 3612[...]

  • Seite 286

    284 APPENDIX Appendix 3 Error Code 3634H Axis 4 positioning address error • The 32-bit range was exceeded when the unit of the positioning address was converted. • The total transfer dist ance before and after the int errupt of the DVIT instruction or 1-speed positioning with interruption exceeded 7FFFFFFFH. • Pulses of 7FFFFFF FH or greater [...]

  • Seite 287

    APPENDIX Appendix 3 Error Code 285 A 3663H Axis 3 error stop (immediately stop) • When pulses were being output or positioning was rising, the PLC stop ped the pulse output immediately by the pulse stop command or detection of the all outputs disab le flag. • Eliminate the error that has caused the stop and restart th e positioning. Error locat[...]

  • Seite 288

    286 APPENDIX Appendix 3 Error Code 3694H Axis 4 positioning table shif t error (table shif t) • T able shift cannot be co mpleted in time because one or more tables shifted per 10 ms. • Set the interval of table shif ts to 10 ms or greater . Error location information and system configuration information At interru pt occurrence 36A1H Axis 1 in[...]

  • Seite 289

    APPENDIX Appendix 3 Error Code 287 A 3C00H Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If the same error app ears, the hardware of the CPU module may be malfunctioning. Consult your local Mit subishi Electric represen tative. System configuration information At power-on, at RESET 3C01H Hardware fa[...]

  • Seite 290

    288 APPENDIX Appendix 3 Error Code Error codes of the CPU module (4000H to 4FFFH) The following table lists the error codes detected by other ca uses than the self-diagnostics function of the CPU module. Error code Error name Error details and cause Action 4000H Common error • Serial communication sum ch eck error . • Connect the serial communi[...]

  • Seite 291

    APPENDIX Appendix 3 Error Code 289 A 4053H Protect error • An error occurred when writing d ata to the specified drive (memory). • Check the specified drive (memory). Or , write data again after changing the co rresponding drive (memory). 4060H Online registration erro r • The online debug function is being executed with another engineering t[...]

  • Seite 292

    290 APPENDIX Appendix 3 Error Code 41D0H File related error • The specified drive (memory) has no free space. Or , the number of files in the dire ctory of the sp ecified dr ive (memory) has exceeded the maximum. • Execute again after increasing the free sp ace of the drive (memory). • Delete files in the drive (memory), and execute the funct[...]

  • Seite 293

    APPENDIX Appendix 4 Parameter List 291 A Appendix 4 Parameter List A parameter list is shown below . System p arameters CPU p arameters Classification-Level 1 Classification -Level 2 Classificat ion-Level 3 I/O Assignmen t Setting Mod el Name  Intelligent Module No.  Serial Communication ch  CPU Module Operation at Error Detect ion  Cla[...]

  • Seite 294

    292 APPENDIX Appendix 4 Parameter List Module p arameters Ethernet Port 485 Serial Port ■ MELSOFT Connection ■ Non-Protocol Communication ■ MC Protocol Classification-Level 1 Classification -Level 2 Classificat ion-Level 3 Basic Sett ings Own Node Settings IP Address External Device Configur ation External Device Configuration Application Set[...]

  • Seite 295

    APPENDIX Appendix 4 Parameter List 293 A ■ MODBUS_RTU Communication ■ Predefined Protocol Support Functi on ■ Inverter Communication ■ N:N Network SM/SD Setting Latch Setting Advanced Settings S tation Number Header Setting V alue T ime-out Period FX3 Series Compatibility SM/SD for Compatib le Classification-Level 1 Classification -Level 2 [...]

  • Seite 296

    294 APPENDIX Appendix 4 Parameter List High Speed I/O Set tings ■ General/Interrupt/Pulse catch Link Device Pattern Pattern Link Device Bit Device Link Device Word Device SM/SD Setting La tch Setting Host Station No. T otal Number of Local S tation Refresh Range Timeout Retry Count Setting Monitoring T ime FX3 Series Compatibility SM/SD for Compa[...]

  • Seite 297

    APPENDIX Appendix 4 Parameter List 295 A ■ High S peed Counter ■ Pulse Wid th Measurement Classification-Level 1 Classification -Level 2 Classificat ion-Level 3 Basic Settings Use/Do Not Use Counter Use/Not Use Operation Mode Operation Mode Pulse Input Mode Pulse Input Mode Preset Input Preset Input Enable/Disable Input Logic Preset V alue Inpu[...]

  • Seite 298

    296 APPENDIX Appendix 4 Parameter List ■ Positioning ■ PWM Classification-Level 1 Classification -Level 2 Classificat ion-Level 3 Basic Sett ings Basic Parameters 1 Pulse Output Mode Output Device (PULSE/CW) Output Device (SIGN/CCW) Rotation Di rection Setting Unit Setting Pulse No. of per Rot ation Movement Amount per Rotat ion Position Dat a [...]

  • Seite 299

    APPENDIX Appendix 4 Parameter List 297 A Input Response Time Setting Analog Input Setting Analog Output Setting Extended Board Setting Memory card p arameters Classification-Level 1 Classification -Level 2 Classificat ion-Level 3 Input Response T ime X0 t o X377  Classification-Level 1 Classification -Level 2 Classificat ion-Level 3 Basic Sett i[...]

  • Seite 300

    298 INDEX A Annunciator (F) . . . . . . . . . . . . . . . . . . . . . . . . 206 B Boot operation . . . . . . . . . . . . . . . . . . . . . . . . 104 Built-in analog . . . . . . . . . . . . . . . . . . . . . . . . . 201 C Character strin g constant . . . . . . . . . . . . . . . . . 221 Clock function . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Seite 301

    299 I Remote RESET . . . . . . . . . . . . . . . . . . . . . . . . 89 Remote RUN . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Remote STOP . . . . . . . . . . . . . . . . . . . . . . . . . 86 Retentive timer (ST) . . . . . . . . . . . . . . . . . . . . 209 Routine time r . . . . . . . . . . . . . . . . . . . . . . . . . 209 RUN status . . [...]

  • Seite 302

    300 REVISIONS  2014 MITSUBISHI ELECTRIC CORPORA TION Revision date Revision Description October 2014 A First Edition January 2015 B ■ Added function s Fixed scan execution type progr am, Onl ine change, PID control function, FX3-comp atible high- speed counter functio n, Routine timer ■ Added or modified part s Section 1.3, 3.1, 3.2, Chap te[...]

  • Seite 303

    301 W ARRANTY 1. Please confirm the following product warranty details before using this product. [Gratis Warranty Term] If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales repr[...]

  • Seite 304

    302 TRADEMARKS Microsoft  and Windows  are either registered trademarks or trademarks of Microso ft Corporat ion in the United S tates and/or other countries. Ethernet is a trademark of Xerox Corporation. MODBUS  is a registered trademark of Schneider Electric SA. SD logo and SDHC logo are trademarks or registered trademarks of SD-3C, LLC.[...]

  • Seite 305

    [...]

  • Seite 306

    HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN Specifications are subject to change without notice. When exported from Japan, this manual does not require application to the Ministry of Economy , T rade and Industry for service transaction permission. Manual number: JY997D55401 C Model: FX5-U-OU-E Model code: 09R53[...]