EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R4 - Page 413

Mitsubishi Electric MELSEC iQ-RJ71C24-R4
574 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
Loading...
25 AUTOMATIC REMOVAL OF NULL CHARACTERS INCLUDED IN SEND DATA
25.4 Program Example
411
25
Example of arbitrary data transmission
C24 transmits a string data using the NULL character automatic removal function to the target device.
Ex.
Transmitting given data with OUTPUT dedicated instruction
Program example
For information on the module FB to be used, refer to the following manual.
MELSEC iQ-R Serial Communication Module Function Block Reference
Category Label name Description Device
Module label C24_1 Target module
Label to be defined Define the global label as shown below.
1
31H 32H 33H 41H 42H 43H
23ABC
X50
M0
M1
OUTPUT
ON
ON
(H) (L)
00
H
04
H
(0004
H
)
32
H
,
31
H
(3231
H
)
00
H
,
33
H
(0033
H
)
42
H
,
41
H
(4241
H
)
00
H
,
43
H
(0043
H
)
Target device
(Arbitrary data)
C24
Transmission
command
CPU module
Completion device
Abnormal
completion
Status display
device
at completion
Normal
completion
Buffer memory (transmission area)
1 scan
Transmission
data count
Transmission
data
(The data count is in word units)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R4

Related product manuals