Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 187

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Explanation of function and operation
1) This function connects a character string stored in devices specified in
stored in devices specified in
specified in
When connecting a character string stored in devices specified in
indicates the end of a character string stored in devices specified in
After two character strings are connected, "00H" is automatically added at the end.
High-order byte Low-order byte
1st word
2nd word
3rd word
2) A character string (data) stored in devices specified in
in units of byte in the range starting from the specified device.
3) For direct specification, up to 32 characters can be specified (input).
When word devices are specified in
4) When both a character string stored in devices specified in
specified in
in
.
d
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling character string data in structured programs, you cannot specify 16-bit devices directly,
different from simple projects. Use labels when handling character string data.
Use global labels when specifying labels.
Error
An operation error occurs in the following cases. The error flag M8067 turns ON, and D8067 stores the error
code.
1) When the number of devices after the device number specified in
devices required for storing the character string obtained by connection
(In this case, "00H" cannot be stored after all character strings and final character.)
(Error code: K6706)
2) When devices which store character strings specified in
in
which will store the character string obtained by connection
d
(Error code: K6706)
3) When "00H" does not exist in the corresponding device range after devices specified in
(Error code: K6706)
, and outputs the character string obtained by connection to devices
s1
.
d
"ABCDE"
42H(B)
41H(A)
1st word
44H(D)
43H(C)
2nd word
00H
45H(E)
3rd word
4th word
s1
begin with "00H" (when character = 0), this function stores "0000H" in devices specified
s2
5.8 Standard Character String Functions
s2
"123456"
High-order byte Low-order byte
32H(2)
31H(1)
34H(4)
33H(3)
36H(6)
35H(5)
0000H
indicates the data until "00H" is detected first
s
and
, this restriction (up to 32 characters) is not applicable.
s2
and a character string stored in devices
s1
and
s1
s2
after a character string
s2
, this function ignores "00H" which
.
s1
"ABCDE123456"
High-order byte Low-order byte
1st word
42H(B)
41H(A)
2nd word
44H(D)
43H(C)
3rd word
31H(1)
45H(E)
4th word
33H(3)
32H(2)
5th word
35H(5)
34H(4)
6th word
00H
36H(6)
is smaller than the number of
d
overlap device numbers specified
and
s1
1
2
3
4
5
6
A
s2
185

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents