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 #605 background imageLoading...
Page #605 background image
7-231
RIGHT(P),LEFT(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.15 Extracting character string data from the right or left (RIGHT(P),LEFT(P))
7.11.15 Extracting character string data from the right or left
(RIGHT(P),LEFT(P))
RIGHT(P),LEFT(P)
Function
RIGHT
(1) Stores n number of characters from the right side of the character string (the end of the
character string) being stored in devices starting from that whose number is designated by
, in devices starting from that whose number is designated by .
When n 5
: Character string or head number of the devices where the character string is stored (character string)
: Head number of the devices where the character string consisting of n characters starting from the right or
left of will be stored (character string)
n : Number of characters to be extracted (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
Other
Bit Word Bit Word K, H $
–– –– –– ––
–– –– –– –– ––
n –– ––
Process
High
performance
Redundant
Universal
Basic
LCPU
Command
P
n
n
S
D
Command
RIGHTP,LEFTP
RIGHT,LEFT
indicates an instruction symbol of RIGHT/LEFT.
S
D
S
D
S
S
D
S
D
+1
ASCII code for the 1st character
ASCII code for the 2nd character
ASCII code for the 3rd character
ASCII code for the 4th character
ASCII code for the (last - n + 1)th characterASCII code for the (last - n + 2)th character
ASCII code for the (last - n + 3)th character
ASCII code for the (last - n + 4)th character
ASCII code for the (last - 2)th character
ASCII code for the (last - 1)th character
ASCII code for the last character
00
H
+1
ASCII code for the (last - n + 1)th character
ASCII code for the (last - n + 2)th character
ASCII code for the (last - n + 3)th character
ASCII code for the (last - n + 4)th character
ASCII code for the (last - 2)th character
ASCII code for the (last - 1)th character
ASCII code for the last character
00
H
b15 b8b7 b0
S
S
b15 b8
b7
b0
D
D
+1
41
H
(A)42
H
(B)
43
H
(C)44
H
(D)
+1
31
H
(1)32
H
(2)
33
H
(3)34
H
(4)
45
H
(E)46
H
(F)
31
H
(1)32
H
(2)
33
H
(3)34
H
(4)
35
H
(5)
00
H
+2
+3
+4
+5
+2
35
H
(5)00
H
ASCII code for the 5th character
"ABCDEF12345"
"12345"
b15 b8b7 b0
S
S
S
S
S
S
D
D
D
b15 b8b7 b0

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