EasyManua.ls Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #567 background imageLoading...
Page #567 background image
7-193
DABIN(P),DDABIN(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.4
Conversion from decimal ASCII to BIN 16-bit and 32-bit data (DABIN(P),DDABIN(P))
Program Example
(1) The following program converts the decimal, 5-digit ASCII data and sign set at D20 through
D22 to BIN values, and stores the result at D0.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program converts the decimal, 10-digit ASCII data and sign set at D20 through
D25 to BIN values and stores the result at D10 and D11.
[Ladder Mode] [List Mode]
[Operation]
Step Instruction Device
D21
2D
H
( )20
H
(space)
20
H
(space)32
H
(2)
b15 b8b7 b0
D20
D0
BIN value
276
37
H
(7)36
H
(6)D22
- 276
(Regarded as -00276)
Step Instruction Device
D21
D22
D23
20
H
(space)20
H
(space)
20
H
(space)20
H
(space)
b15 b8
b7
b0
33
H
(3)39
H
(9)
D20
36
H
(6)38
H
(8)
33
H
(3)37
H
(7)
30
H
(0)
D24
D25
D11
BIN value
D10
(Regarded as +0003968370)
396 8370
3968370

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
SeriesMELSEC Q Series
TypeModular PLC
Programming SoftwareGX Works2, GX Works3
CategoryProgrammable Logic Controller (PLC)
I/O ModulesDigital I/O, Analog I/O, High-Speed Counter, Positioning
CommunicationEthernet, CC-Link
Programming LanguagesLadder Logic, Structured Text, Function Block Diagram, Sequential Function Chart, Instruction List
MemoryFlash Memory
I/O PointsUp to 4096 points (expandable with additional modules)
Power SupplyAC or DC power supply options available, depending on the base unit and modules.
MountingDIN rail mounting
Operating Temperature0°C to 55°C
Storage Temperature-25°C to 75°C
Humidity5% to 95% (non-condensing)
Vibration Resistance10 to 57 Hz, 0.075mm amplitude
WeightVaries depending on the module, from a few grams to several kilograms.
Shock Resistance147 m/s² (3 times each in X, Y, Z directions)

Related product manuals