Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
3
Table of Contents
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Table of Contents
Positioning of This Manual..................................................................................................... 11
Related Manuals...................................................................................................................... 14
Generic Names and Abbreviations Used in Manuals .......................................................... 17
1. Outline 18
1.1 Outline of Structured Programs and Programming languages.............................................. 18
1.1.1 Outline of Structured Programs.....................................................................................................18
1.1.2 Programming languages ...............................................................................................................19
1.2 PLC Series and Programming Software Version..................................................................... 20
1.3 Cautions on Creation of Fundamental Programs .................................................................... 20
1.3.1 I/O PROCESSING AND RESPONSE DELAY ..............................................................................20
1.3.2 Double output (double coil) operation and countermeasures........................................................ 21
1.3.3 Circuits which cannot be created by structured ladder programs and countermeasures..............22
1.3.4 Handling of general flags............................................................................................................... 22
1.3.5 Handling of operation error flag.....................................................................................................25
1.3.6 Handling of function extension flag................................................................................................25
1.3.7 Limitation in the number of instructions and limitation in simultaneous instruction instances ....... 26
2. Instruction List 28
2.1 Basic Instructions....................................................................................................................... 28
2.2 Step Ladder Instructions............................................................................................................ 29
2.3 Applied Instructions ................................................................................................................... 29
3. Configuration of Instruction 42
3.1 Expression and Operation Form of Sequence Instructions ................................................... 42
3.2 Labels........................................................................................................................................... 44
3.3 Devices and Addresses.............................................................................................................. 47
3.4 EN and ENO................................................................................................................................. 48
4. How to Read Explanation of Instructions 50
5. Basic Instruction 52
5.1 LD, LDI, AND, ANI, OR, ORI........................................................................................................ 53
5.2 LDP, LDF, ANDP, ANDF, ORP, ORF .......................................................................................... 57
5.3 OUT (Excluding timers and counters)....................................................................................... 62
5.4 Operating Timer .......................................................................................................................... 65
5.4.1 OUT_T........................................................................................................................................... 65
5.5 Operating Counters .................................................................................................................... 69
5.5.1 OUT_C, OUT_C_32 ......................................................................................................................69
5.6 AND(...), OR(...) ............................................................................................................................ 71
5.7 MPS, MRD, MPP .......................................................................................................................... 73
5.8 INV ................................................................................................................................................ 77
5.9 MEP, MEF..................................................................................................................................... 79
5.10 SET, RST.................................................................................................................................... 81
5.11 PLS, PLF .................................................................................................................................... 85
5.12 MC, MCR .................................................................................................................................... 87