EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 420

Mitsubishi Electric MELSEC iQ-RJ71C24-R2
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...
418
25 AUTOMATIC REMOVAL OF NULL CHARACTERS INCLUDED IN SEND DATA
25.6 Program Example
Example of data transmission
C24 transmits a string data using the NULL character automatic removal function to the target device.
Ex.
Transmitting given data with BIDOUT 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.
(H)
D3
D10
D11
D12
D13
(L)
00
H
,
08
H
(0008
H
)
42
H
,
41
H
(4241
H
)
00
H
,
43
H
(0043
H
)
00
H
,
33
H
(0033
H
)
32
H
,
31
H
(3231
H
)
(H) (L)
00
H
,
08
H
(0008
H
)
42
H
,
41
H
(4241
H
)
00
H
,
43
H
(0043
H
)
00
H
,
33
H
(0033
H
)
32
H
,
31
H
(3231
H
)
X50
M0
M1
BIDOUT
ON
ON
L
E
N
Q
05
H
06
H
A
C
K
H
(0006)
06
H
1
00
H
2
31
H
3
32
H
A
33
H
B
41
H
C
42
H
L
43
H
H
62
H
01
H
Target device
C24
Data length
Data area Sum
check
code
Transmission
command
CPU module
Completion device
Abnormal
completion
Status display device
at completion
Normal
completion
(The data count is in byte units)
1 scan
Transmission data count
Transmission data
Transmission data
Transmission
data
Program
device memory
Buffer memory
(transmission area)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals