John Ridley provides comprehensive information on usage, design and programming for the Mitsubishi FX range of programmable logic controllers, in this step-by-step, practical guide. Professional engineers working with Mitsubishi PLCs, as well as students following courses focusing on these devices, will find this book to be an essential resource for this popular PLC family. Numerous worked examples and assignments are included, to reinforce the practical application of these devices, widely used in industry. Fully updated throughout from coverage of the FX PLC to now cover the FxN PLC family from Mitsubishi, John Ridley also focuses on use of the Fx2N - the most powerful and diverse in function of this PLC group. The second edition contains advanced topics along with numerous ladder diagrams and illustrative examples.
- A hands-on approach to the programming, design and application of FX PLC based systems
- Programmed using GX Developer software - used worldwide for the whole range of the FX PLC family
- Covers Ladder Logic tester - the GX developer simulator that enables students and designers to test and debug their programs without a PLC
Inhaltsverzeichnis
1;Cover;1 2;Contents;8 3;Preface;16 4;Acknowledgements;18 5;Resources;20 6;Glossary;22 7;1. Introduction to PLCs;24 7.1;Basic PLC units;24 7.2;Comparison of PLC and RELAYsystems;25 7.3;PLC sof t war e;25 7.4;Gx-Developer software;26 7.5;Hardware configuration;26 7.6;Base unit,extension units and extension blocks;27 7.7;PLC voltage supplies;27 7.8;Smaller FX2NPLCs;27 7.9;Larger FX2NPLCs;29 7.10;5 V DC supply;29 7.11;Special unit power supply requirements;29 7.12;Part number;30 7.13;Serial number;30 7.14;PLC inputs;31 7.15;AC i nputs;31 7.16;PLC outputs;32 7.17;Source - sink inputs;33 7.18;The source/sink - S/S connection;34 7.19;Source inputs - blockdiagram;34 7.20;Sink inputs - block diagram;35 7.21;Proximity sensors;35 7.22;S/S terminal configurations;36 7.23;PLC ladder diagramsymbols;36 7.24;PLC address ranges;38 7.25;Basic operation of a PLC system;38 7.26;Block diagram - basic operation of a PLC system;39 7.27;Principle of operation;40 8;2. Gx-Developer startup procedure;41 8.1;Opening a newproject;42 8.2;Display settings - Zoom;42 8.3;Ladder diagramnumbers;45 8.4;Project data list;45 9;3. Producing a ladder diagram;47 9.1;PLC program - FLASH1;47 9.2;Entering a ladder diagram;48 9.3;Conversion to an instruction program;50 9.4;Saving the project;51 9.5;Program error check;51 9.6;Instruction programming;52 9.7;Program search;54 10;4. Modifications to an existing project;63 10.1;Copying a project;63 10.2;Modification of the ladder diagramFLASH2;65 10.3;Modification details;65 10.4;Deleting;73 11;5. Serial transfer of programs;78 11.1;Downloading a project to a PLC unit;78 11.2;Executing the project;79 11.3;Reducing the number of steps transferred to the PLC;80 11.4;Communication setup;81 11.5;System image;82 11.6;Change of communications port;83 11.7;Verification;85 11.8;Uploading a project from a PLC;86 12;6. Monitoring;89 12.1;Ladder diagram monitoring;89 12.2;Entry data monitoring;90 12.3;Combined ladder and entry data monitoring;93 13;7. Basic PLC programs;94 1
3.1;Traffic light controller - TRAF1;94 13.2;Furnace temperature controller - FURN1;97 13.3;Interlock circuit - INTLK1;101 13.4;Latch relays;103 13.5;Counters;104 13.6;Online programming;107 13.7;Batch counter BATCH1;109 13.8;Assignment - BATCH2;110 13.9;Master control - MC1;110 14;8. PLC sequence controller;114 14.1;Sequence function chart - SFC;115 14.2;Ladder diagram - PNEU1;116 14.3;Simulation - PNEU1;120 14.4;Pneumatic panel operation;121 14.5;Forced input/output;124 14.6;Assignment - PNEU2;127 15;9. Free line drawing;128 15.1;Inserting an output in parallel with an existing output;131 15.2;Delete free line drawing;132 16;10. Safety;134 16.1;Emergency stop requirements;134 16.2;Safety relay specification;135 16.3;Emergency stop circuit - PNEU1;136 16.4;Safety relay - fault conditions;137 16.5;Systemstart-up check;138 17;11. Documentation;139 17.1;Comments;140 17.2;Statements;146 17.3;Display of comments and statements;147 17.4;Comment display - 15/16 character format;148 17.5;Comment display - 32 character format;151 17.6;Notes;153 17.7;Segment/note - block edit;155 17.8;Ladder diagram search using statements;156 17.9;Change of colour display;157 17.10;Display of comments, statements and notes;158 17.11;Printouts;160 17.12;Multiple printing;164 17.13;Saving comments in the PLC;169 18;12. Entry ladder monitoring;174 18.1;Ladder diagram - PNEU1;175 18.2;Principle of operation - entry ladder monitoring;176 18.3;Deleting the entry ladder monitor diagram;179 19;13. Converting a MEDOC project to Gx-Developer;180 19.1;Importing a MEDOC file into Gx-Developer;180 20;14. Change of PLC type;185 21;15. Diagnostic fault finding;188 21.1;CPU errors;188 21.2;Battery error;189 21.3;Program errors;189 21.4;Help display program errors;191 21.5;Program error check;192 22;16. Special M coils;194 22.1;Device batch monitoring;194 22.2;Option setup;196 22.3;Monitoring the Xinputs;197 23;17. Setreset programming;198 23.1;PNEU 4;198 23.2;Sequence of operation automatic cycle;199 23.3;
Sequence function chart PNEU4;199 23.4;Ladder diagram PNEU4;200 23.5;Principle of operation;200 23.6;Simulation and monitoring procedure;201 23.7;Monitoring PNEU4;202 24;18. Trace;203 24.1;Principle of operation;203 24.2;Ladder diagram PNEU4;204 24.3;Trace setup procedure;205 24.4;Trace data;205 24.5;Trace conditions;206 24.6;Transfer Trace data to PLC;208 24.7;Saving theTrace setup data;208 24.8;Reading the Trace setup data from file;209 24.9;Start Trace operation;210 24.10;Start trigger X0;212 24.11;Obtaining theTrace waveforms;213 24.12;Trace results;213 24.13;Measuring the time delay T0;216 24.14;Calculation of elapsed time;217 25;19. Data registers;218 25.1;Number representation - binary/decimal;218 25.2;Converting a binary number to its decimal equivalent;219 25.3;Binary numbers and binary coded decimal;220 25.4;Advanced programming instructions;221 26;20. Introduction to programs using data registers;223 26.1;Binary counter - COUNT3;223 26.2;BCD counter - COUNT4;225 26.3;Multiplication program - MATHS1;228 26.4;RPM counter - REV1;229 26.5;Timing control of a bakery mixer - MIXER1;233 27;21. Ladder logic tester;237 27.1;Introduction;237 27.2;Program execution;237 27.3;Input simulation;239 27.4;Device memory monitor;240 27.5;Timing charts;245 27.6;Producing the timing chart waveforms;247 27.7;Resetting the timing chart display;248 27.8;Saving the setup details;248 27.9;I/O system settings;248 27.10;Procedure - I/O system setting;249 27.11;Entering the Conditions and Input No.settings;251 27.12;Executing the I/O system;255 27.13;Resetting a data register using the I/O system;257 27.14;LLT2 modification;261 27.15;Simulating PNEU1using ladder logic tester;263 27.16;PNEU1 procedure using ladder logic tester;264 27.17;Monitoring procedure;265 28;22. Bi-directional counters;267 28.1;Ladder diagram COUNT5;267 28.2;Special memory coils M8200M8234;268 28.3;Principle of operation COUNT5;268 28.4;Operating procedure;268 28.5;Monitoring COUNT5;269 29;23. High-speed counter
s;270 29.1;Introduction;270 29.2;Types of high-speed counters;270 29.3;FX range of high-speed counters;272 29.4;High-speed counter inputs;273 29.5;Up/down counting;274 29.6;Selecting the high-speed counter;274 29.7;Maximum total counting frequency;275 29.8;High-speed counter - HSC1;276 29.9;Decade divider - HSC2;277 29.10;Motor controller - HSC3;280 29.11;A/B phase counter - HSC4;283 30;24. Floating point numbers;288 30.1;Floating point number range;288 30.2;Number representation;288 30.3;Floating point instructions;288 30.4;Storing floating point numbers - FLT1;289 30.5;Monitor - ladder diagram FLT1;290 30.6;Device batch monitoring;290 30.7;Floating point format;291 30.8;Obtaining the floating point value;292 30.9;Device batch monitoring - floating point numbers;293 30.10;Area of a circle - FLT2;293 30.11;Ladder diagram - FLT2;294 30.12;Principle of operation - FLT2;295 30.13;Monitored results - FLT2;296 30.14;Floating point - ladder logic tester;296 31;25. Master control nesting;298 31.1;Nesting level;298 31.2;Ladder diagram MC2;299 31.3;Principle of operation;300 32;26. Shift registers;302 32.1;Shift register applications;302 32.2;Basic shift register operation;302 32.3;Ladder diagram - SHIFT1;303 32.4;Principle of operation - SHIFT1;303 32.5;Operating procedure;304 32.6;Monitoring - SHIFT1;304 33;27. Rotary indexing table;305 33.1;Index table system - plan view;305 33.2;System requirements;306 33.3;Shift register layout;307 33.4;Ladder diagram - ROTARY1;308 33.5;Principle of operation - ROTARY1;310 33.6;Monitoring procedures;312 33.7;Instruction scan and execution;314 34;28. Index registers V and Z;316 34.1;Index register instructions;316 34.2;Stock control application INDEX1;317 34.3;System block diagram;317 34.4;Warehouse - look-up table;317 34.5;Ladder diagram - INDEX1;318 34.6;Principle of operation;318 34.7;Monitoring - INDEX1;319 35;29. Recipe application BREW1;321 35.1;System diagram;322 35.2;Sequence of operation;322 35.3;Recipe look-up tables;322 35.4;E
ntering values into a look-up table (DWR);323 35.5;Downloading the recipe look-up table;326 35.6;Selecting the device memory range;326 35.7;Monitoring the recipe look-up table values;328 35.8;Ladder diagram - BREW1;328 35.9;Principle of operation - BREW1;329 35.10;Monitoring - BREW1;330 35.11;Test results;332 35.12;Excel spreadsheet - recipe1;332 36;30. Sub-routines;333 36.1;Sub-routine program flow;334 36.2;Principle of operation;334 36.3;Temperature conversion - SUB1;335 36.4;Ladder diagram - SUB1;335 36.5;Labels;336 36.6;Principle of operation - SUB1;336 36.7;The sub-routine instructions;336 36.8;Monitoring - SUB1;336 37;31. Interrupts;338 37.1;Interrupt application;338 37.2;Interrupt project - INT1;339 37.3;Sequence of operation - automatic cycle;339 37.4;Waveforms;340 37.5;Ladder diagram - INT1;341 37.6;Principle of operation - INT1;342 37.7;Interrupt service routine;345 37.8;Monitoring - INT1;345 38;32. Step counter programming;347 38.1;Ladder diagram - STEP_CNTR1;348 38.2;Principle of operation - STEP_CNTR1;349 38.3;Simulation and monitoring procedure;352 38.4;Entry data monitoring - STEP_CNTR1;353 38.5;Pneumatic panel operation;354 39;33. Automatic queuing system;355 39.1;System hardware;355 39.2;FIFO memory stack;356 39.3;Software diagram;356 39.4;Ladder diagram - QUEUE1;357 39.5;Principle of operation - QUEUE1;359 39.6;Testing - QUEUE1;365 39.7;Monitoring - QUEUE1;366 39.8;Analysis of results;366 40;34. Analogue to digital conversion FX2N-4AD;367 40.1;Introduction;367 40.2;FX2N-4AD buffer memory addresses and assignments;367 40.3;Voltage and current conversion;368 40.4;Resolution - maximum input voltage;369 40.5;Resolution - maximum input current;370 40.6;Relationship between Vin and digital output;371 40.7;ADC equations;372 40.8;Resolution - independent of input voltage;373 40.9;Highest possible resolution;374 40.10;Example - voltage conversion;375 40.11;Example - current conversion;376 40.12;Count averaging;377 40.13;Positioning the analogue unit;378 40.
14;ADC wiring diagram;378 40.15;Hexadecimal numbering system for special units;379 40.16;Channel initialisation;379 40.17;TO and FROM instructions;380 40.18;ADC errors - BFM 29;382 40.19;Buffer memory - EEPROM;383 40.20;Software programming of offset and gain;383 40.21;Detecting an open circuit;384 40.22;Voltage/current specification;384 40.23;Ladder diagram - ADC1;385 40.24;Principle of operation - ADC1;387 40.25;Practical - analogue to digital conversion;389 40.26;ADC results;390 40.27;Monitoring using buffer memory batch;390 40.28;Test results;391 41;35. Digital to analogue conversion FX2N-4DA;393 41.1;Introduction;393 41.2;Voltage resolution;393 41.3;FX2N-4DA buffer memory addresses and assignments;394 41.4;Error codes - BFM 29;395 41.5;Hardware diagram;396 41.6;DAC special unit no.1;396 41.7;Output mode select;397 41.8;Ladder diagram - DAC1;397 41.9;Principle of operation - DAC;398 41.10;Practical - digital to analogue conversion;400 42;Assignments;401 43;Index;410