Thank you for purchasing the MELSEC-Q, A series PLC.
Please read this manual carefully so that equipment is used to its optimum.
SAFETY PRECAUTIONS..............................................................................................................................A- 1
REVISIONS ....................................................................................................................................................A- 2
CONTENTS....................................................................................................................................................A- 3
How to use this manual..................................................................................................................................A-13
Regarding Compiler BASIC ...........................................................................................................................A-13
About Module Names ....................................................................................................................................A-13
1.1 Features .................................................................................................................................................. 1- 2
2.3 Line Format ............................................................................................................................................. 2- 4
2.4 Spaces and Keywords ............................................................................................................................ 2- 5
2.5 Characters Used in BASIC ..................................................................................................................... 2- 6
2.7 Constants ................................................................................................................................................ 2-10
2.7.2 Numeric constants............................................................................................................................ 2-10
2.8 Variables.................................................................................................................................................. 2-12
2.8.2 Array variables.................................................................................................................................. 2-13
2.9 Type Conversion ..................................................................................................................................... 2-17
2.10 Expressions and Operators .................................................................................................................. 2-18
2.10.1 Arithmetic operators ....................................................................................................................... 2-18
2.10.2 Relational operators ....................................................................................................................... 2-20
2.10.3 Logical operators............................................................................................................................ 2-21
A - 3
INTRODUCTION
CONTENTS
1- 1 to 1- 3
2- 1 to 2- 24
A - 3