Transparent Codes And Additional Codes; Handling The Transparent Code And Additional Code Data - Mitsubishi MELSEC L Series User Manual

Communication module
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

12 TRANSPARENT CODES AND ADDITIONAL CODES

12

12.1 Handling the Transparent Code and Additional Code Data

External
device side
1
2
31
32
H
H
12 - 1
Transparent codes and additional codes are used during data communication with an
external device to send/receive one-byte data for transmission control on the external
device side as user data.
Transparent codes and additional codes are handled in data communication using the
non procedure or bidirectional protocol.
• Transparent code: One-byte data for transmission control.
• Additional code : During transmission, one-byte data added preceding the
transparent code and additional code data.
During reception, one-byte data deleted (the immediately
succeeding one-byte data is processed for reception).
The following explains how the Q series C24 handles transparent codes and additional
codes during data communication using the non procedure or bidirectional protocol.
The range of additional code data that is added or deleted is explained in Sections
12.3 and 12.5.
(1) During data transmission
Additional code data is added immediately before the transparent code and
additional code data set for transmission.
(Example)
Buffer memory
(2) During data reception
When additional code data set for reception is detected, the additional code data is
removed and the immediately succeeding one-byte data is processed for reception.
(Example)
Buffer memory
(3) During data communication using the ASCII-BIN conversion
The handling of transparent codes and additional codes is done for data after
ASCII-BIN conversion during transmission and data immediately before the
conversion during reception.
(Example) When communicating using an arbitrary format of the non procedure
protocol
Head data
Arbitrary data section
D
L
0
2
3
E
A
B
C
30
32
33
10
41
42
43
H
H
H
H
H
H
H
Transparent code
(For 41
)
H
Additional code
(For 10
)
H
12 TRANSPARENT CODES AND ADDITIONAL CODES
Transparent
Transparent
code
code
Arbitrary
Additional
code
code
Buffer memory (transmission area/reception area)
Send
Receive
Additional
Send
code
Arbitrary
Receive
code
(H)
(L)
Transmission data
(0002
)
H
count/Receive data
00
, 02
H
H
count
(0212H)
Transmission data/
02
, 12
H
H
receive data
(BC3A
)
H
BC
, 3A
H
H
(The data count is in word units)
12 - 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q seriesQj71c24Qj71c24-r2Lj71c24-r2Lj71c24Qj71c24n ... Show all

Table of Contents