3
Table of Contents
FXCPU Structured Programming Manual
(Application Functions)
Table of Contents
Positioning of This Manual.......................................................................................................7
Related Manuals......................................................................................................................10
Generic Names and Abbreviations Used in Manuals.......................................................... 13
1. Outline 14
1.1 Outline of Structured Programs and Programming Languages.................................................... 14
1.1.1 Outline of structured programs......................................................................................................14
1.1.2 Programming languages...............................................................................................................15
1.2 PLC Series and Programming Software Version.......................................................................... 15
1.3 Cautions on Creation of Fundamental Programs..........................................................................16
1.3.1 I/O processing and response delay...............................................................................................16
1.3.2 Double output (double coil) operation and countermeasures........................................................17
1.3.3 Circuits not available in structured ladder programs and countermeasures..................................18
1.3.4 Handling of general flags...............................................................................................................18
1.3.5 Handling of operation error flag.....................................................................................................21
2. Function List 22
2.1 Type Conversion Functions.......................................................................................................... 22
2.2 Standard Functions Of One Numeric Variable..............................................................................24
2.3 Standard Arithmetic Functions......................................................................................................24
2.4 Standard Bit Shift Functions..........................................................................................................25
2.5 Standard Bitwise Boolean Functions............................................................................................ 25
2.6 Standard Selection Functions....................................................................................................... 25
2.7 Standard Comparison Functions...................................................................................................26
2.8 Standard Character String Functions............................................................................................26
2.9 Functions Of Time Data Types..................................................................................................... 26
2.10 Standard Function Blocks........................................................................................................... 27
3. Function Construction 28
3.1 Applied Function Expression and Execution Type........................................................................28
3.2 Labels............................................................................................................................................29
3.3 Device and Address......................................................................................................................32
3.4 EN and ENO................................................................................................................................. 33
4. How to Read Explanation of Functions 34