Null Character Removal To Send Data Using Nonprocedural Protocol - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

25.3
NULL Character Removal to Send Data using
Nonprocedural Protocol
This section explains automatic removal of NULL characters to data to be transmitted using the nonprocedural protocol.
Target range of automatic removal of NULL characters
The send data range to which automatic removal of NULL characters is performed is as shown below:
• Transmitting data in arbitrary format
Target range of NULL characters automatic deletion
Arbitrary data
• Transmitting data with user frame
Target range of NULL characters automatic deletion
User frame
Arbitrary
(first frame)
data
When data is transmitted, C24 performs the processing as follows:
C24 deletes NULL characters (data code: 00H) included in the data specified by the CPU module (arbitrary data portion in a
transmission message) or a user frame portion, and transmits data.
NULL characters (00H) included in the send data in the buffer memory (send area) are deleted from the actual data to be
transmitted.
Buffer memory (transmission area)
Transmission
data count
Transmission
data
(The data count is in word units)
25 AUTOMATIC REMOVAL OF NULL CHARACTERS INCLUDED IN SEND DATA
408

25.3 NULL Character Removal to Send Data using Nonprocedural Protocol

User frame
(last frame)
(H)
(L)
(0004
)
H
00
04
H
H
(3231
)
H
32
31
H
H
(0033
)
H
00
33
H
H
(4241
)
H
42
41
H
H
(0043
)
H
00
43
H
H
When transmitting data in arbitrary format
Head data
Arbitrary data
Send
C
B
A
3
43
42
41
33
H
H
H
H
Target device
2
1
32
31
H
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents