EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 339

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...
16 TRANSPARENT CODES AND ADDITIONAL CODES
16.4 Data Communication Using Nonprocedural Protocol
337
16
Transmission by 1st/2nd combinations of transparent code for sending specification
Ex.
Transparent code designation (1st): Additional code: 10H (DLE),Transparent code: 02H (STX)
Transparent code designation (2nd): Additional code: 10H (DLE),Transparent code: 03H (ETX)
Program example
When C24 transmits data to the target device by transparent code designation (2nd combination of transparent code for
sending specification is set.)
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.
0123
B
A
OUTPUT
X50
M0
M1
ON
ON
10H 03H 00H
30H 31H32H 33H10H 02H 00H 41H 0DH0AH42H
D
L
E
D
L
E
S
T
X
E
T
X
N
U
L
L
N
U
L
L
C
R
L
F
(NULL) (ETX)
00H , 03H
(NULL) (ETX)
00H , 03H
00H , 06H
(1) (0)
31H , 30H
(3) (2)
33H , 32H
(NULL) (STX)
00H , 02H
(B) (A)
42H , 41H
(LF) (CR)
0AH , 0DH
00H , 06H
(1) (0)
31H , 30H
(3) (2)
33H , 32H
(NULL) (STX)
00H , 02H
(B) (A)
42H , 41H
(LF) (CR)
0AH , 0DH
D3
D10
D11
D12
D13
D14
D15
Additional
code
(2nd)
Additional
code
(1st)
Target
device
Transparent
code (2nd)
Transparent
code (1st)
Head data
For word unit:
Transmitted byte count excluding additional code (12)/2=6
For byte unit:
Transmitted byte count excluding additional code (12)
C24
Transmission
command
CPU module
Transmission
data count
Completion device
Abnormal
completion
Status display
device
at completion
The following diagram is
for word unit
Normal
completion
1 scan
Un\G1024
Un\G1025
Un\G1026
Transmission data
Un\G1027
Un\G1028
Un\G1029
Un\G1030
Program
device memory
Buffer memory

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals