EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 336

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...
334
16 TRANSPARENT CODES AND ADDITIONAL CODES
16.4 Data Communication Using Nonprocedural Protocol
Operation example of reception by the receive end code
When C24 receives data from the target device when the transparent code designation is enabled
Ex.
Additional code: 10H(DLE), Transparent code: 02H(STX), End code: 0D0AH(CR+LF)
When the transparent code for receiving specification is enabled, the codes for receivable data and the codes for the received
data which is stored in the receive area on the buffer memory are as shown below.
Type Receivable codes Codes stored in the receive
area
Transparent code for receiving
specification portion
Additional code 01H to FFH (Delete)
Transparent code 00H to FFH 00H to FFH
Arbitrary data portion (including end code)
0
30H
1
31H
2
32H 33H 10H 02H
3
00H
B
41H
A
34H12H
(1234H)
0DH0AH42H
X3
M0
M1
ON
ON
00H , 06H
(1) (0)
31H , 30H
(3) (2)
33H , 32H
(NULL) (STX)
00H , 02H
(B) (A)
42H , 41H
(1234H)
12H , 34H
(LF) (CR)
D10
D11
D12
D13
D14
D15
D2
00H , 06H
(1) (0)
31H , 30H
(3) (2)
33H , 32H
(NULL) (STX)
00H , 02H
(B) (A)
42H , 41H
(1234H)
12H , 34H
(LF) (CR)
0AH , 0DH
INPUT
0AH , 0DH
D
L
E
S
T
X
N
U
L
L
C
R
L
F
Additional code (C24 deletes)
Transparent code
Head data
For word unit:
Received byte count excluding additional code (12)/2=6
For byte unit:
Received byte count excluding additional code (12)
Target
device
CPU module
Reception data
read request
Receive data count
is stored
CPU module
The following diagram is for word unit
Completion device
Abnormal
completion
Status display
device
at completion
Un\G1536
Normal
completion
Un\G1537
1 scan
Un\G1538
Un\G1539
Un\G1540
Un\G1541
Un\G1542
Buffer memory Program
device memory

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals