Home
Mitsubishi
Controller
MELSEC Q Series
Mitsubishi MELSEC Q Series Structured Programming Manual
5
of 1
of 1 rating
268 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
3-2
3.1 Input Pins Variable Functio
n
3.1
Input Pins V
ariable Function
Some functions allow the number of input pins to be changed.
T
o change
the number of input pins, select
the t
arget function and change the number
.
For the number of input pins change oper
ation
GX Works2 V
ersion1 Operating Manual
(S
tructured Project)
Adding a pin
Deleting a pin
19
21
Table of Contents
Default Chapter
3
Default Chapter
3
Safety Precautions
3
Revisions
4
Table of Contents
5
Manuals
8
1 Overview
9
Purpose of this Manual
10
Generic Terms and Abbreviations in this Manual
12
2 Function Tables
13
How to Read Function Tables
14
Type Conversion Functions
15
Standard Functions of One Numeric Variable
16
Standard Arithmetic Functions
16
Standard Bitwise Boolean Functions
16
Standard Selection Functions
17
Standard Comparison Functions
17
Standard Character String Functions
17
Functions of Time Data Types
17
Standard Bistable Function Blocks
17
Standard Edge Detection Function Blocks
18
Standard Counter Function Blocks
18
Standard Timer Function Blocks
18
3 Functions
19
Input Pins Variable Function
20
Functions with en
21
Labels
22
Global Labels
22
Local Labels
22
Label Classes
22
Setting Labels
23
Data Types
24
Device and Address
26
Device
26
Address
26
Expressing Methods of Constants
28
Precautions on Programming
28
Precautions on Assigning a Name
28
4 How to Read Functions
31
5 Application Functions
35
Type Conversion Functions
36
Bit Type → Word (Signed), Double Word (Signed) Type Conversion
38
Bit Type → String Type Conversion
39
Bit Type → Word (Unsigned)/16-Bit String, Double Word (Unsigned)/32-Bit String Type Conversion
41
Bit Type → Time Type Conversion
44
Word (Signed) Type → Double Word (Signed) Type Conversion
47
Double Word (Signed) Type → Word (Signed) Type Conversion
50
Word (Signed), Double Word (Signed) Type → Bit Type Conversion
53
Word (Signed), Double Word (Signed) Type → Single-Precision Real Type Conversion
57
Word (Signed), Double Word (Signed) Type → Double-Precision Real Type Conversion
62
Word (Signed), Double Word (Signed) Type → String Type Conversion
63
Word (Signed), Double Word (Signed) Type → Word (Unsigned)/16-Bit String Type Conversion
67
Word (Signed), Double Word (Signed) Type → Double Word (Unsigned)/32-Bit String Type Conversion
70
Word (Signed), Double Word (Signed) Type → BCD Type Conversion
73
Word (Signed), Double Word (Signed) Type → Time Type Conversion
78
Single-Precision Real Type → Word (Signed), Double Word (Signed) Type Conversion
79
Double-Precision Real Type → Word (Signed), Double Word (Signed) Type Conversion
84
Single-Precision Real Type → Double-Precision Real Type Conversion
85
Double-Precision Real Type → Single-Precision Real Type Conversion
88
Single-Precision Real Type → String Type Conversion
91
Word (Unsigned)/16-Bit String, Double Word (Unsigned)/32-Bit String Type → Bit Type Conversion
95
Word (Unsigned)/16-Bit String Type → Word (Signed), Double Word (Signed) Type Conversion
98
Double Word (Unsigned)/32-Bit String Type → Word (Signed), Double Word (Signed) Type Conversion
101
Word (Unsigned)/16-Bit String Type → Double Word (Unsigned)/32-Bit String Type Conversion
104
Double Word (Unsigned)/32-Bit String Type → Word (Unsigned)/16-Bit String Type Conversion
107
Word (Unsigned)/16-Bit String, Double Word (Unsigned)/32-Bit String Type → String Type Conversion
110
Word (Unsigned)/16-Bit String, Double Word (Unsigned)/32-Bit String Type → Time Type Conversion
113
String Type → Bit Type Conversion
116
String Type → Word (Signed), Double Word (Signed) Type Conversion
119
String Type → Single-Precision Real Type Conversion
122
String Type → Word (Unsigned)/16-Bit String, Double Word (Unsigned)/32-Bit String Type Conversion
126
String Type → Time Type Conversion
129
String Type → BCD Type Conversion
132
BCD Type → Word (Signed), Double Word (Signed) Type Conversion
135
BCD Type → String Type Conversion
138
Time Type → Bit Type Conversion
141
Time Type → Word (Signed), Double Word (Signed) Type Conversion
146
Time Type → String Type Conversion
147
Time Type → Word (Unsigned)/16-Bit String, Double Word (Unsigned)/32-Bit String Type Conversion
150
Standard Functions of One Numeric Variable
153
Absolute Value
153
Standard Arithmetic Functions
156
Addition
156
Multiplication
159
Subtraction
162
Division
165
Modulus Operation
168
Exponentiation
171
Move Operation
174
Standard Bitwise Boolean Functions
177
Boolean AND, Boolean OR, Boolean Exclusive OR, and Boolean NOT
177
Standard Selection Functions
182
Selection
182
Multiplexer
185
Standard Comparison Functions
188
Comparison
188
Standard Character String Functions
191
Extract MID String
191
String Concatenation
194
String Insertion
197
String Deletion
200
String Replacement
203
Functions of Time Data Type
206
Addition
206
Subtraction
209
Multiplication
212
Division
215
Standard Bistable Function Blocks
218
Standard Bistable Function Blocks (Set-Dominant)
218
Standard Bistable Function Blocks (Reset-Dominant)
221
Standard Edge Detection Function Blocks
224
Rising Edge Detector
224
Falling Edge Detector
226
Standard Counter Function Blocks
228
Up Counter
228
Down Counter
231
Up/Down Counter
234
Counter Function Blocks
237
Standard Timer Function Blocks
239
Pulse Timer
239
On Delay Timer
242
Off Delay Timer
245
Timer Function Blocks
248
Appendix
253
Appendix 1 Correspondence between Generic Data Types and Devices App
254
Appendix 2 Correspondence between Devices and Addresses App
258
Index
261
Other manuals for Mitsubishi MELSEC Q Series
User Manual
664 pages
Programming Manual
1296 pages
Handbook
130 pages
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?
Ask a question
Mitsubishi MELSEC Q Series Specifications
General
Brand
Mitsubishi
Model
MELSEC Q Series
Category
Controller
Language
English
Related product manuals
Mitsubishi MELSEC System Q
170 pages
Mitsubishi MELSEC-Q/L
850 pages
Mitsubishi Melsec-Q QD75P1
768 pages
Mitsubishi MELSEC
200 pages
Mitsubishi MELSEC QCPU
285 pages
Mitsubishi MELSEC AC10TB
149 pages
Mitsubishi MELSEC A1SY10
149 pages
Mitsubishi MELSEC A1S62P
149 pages
Mitsubishi MELSEC AC30TB
149 pages
Mitsubishi MELSEC A1SY22
149 pages
Mitsubishi MELSEC A1SY42
149 pages
Mitsubishi MELSEC F2-40MR
28 pages