Maximum Number Of Receivable Bytes <Bfm #2> - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX
5.4.4
Maximum number of receivable bytes <BFM #2>
Setting range: 1 to 512 bytes (when the buffer data length is 16-bit)
1 to 256 bytes (when the buffer data length is 8-bit)
"0" is handled as "512" or "256 bytes". The initial value is "0".
This bit specifies the maximum number of bytes which can be received by the 232IF.
When the 232IF receives the maximum number of receivable bytes, it sets the receiving complete flag (BFM
#28, b1) to ON.
If the receiving terminator (BFM #11 and 10) or receiving timeout time (BFM #3) are set, the 232IF recognizes
that receiving is completed even if the already received data does not reach the maximum number of
receivable bytes when either condition is satisfied.
5.4.5
Receiving timeout time <BFM #3>
Setting range: 1 to 32767 ( 10 ms)
"0" is regarded as no timeout time. The initial value is "0".
This bit specifies the waiting time limit for receive data.
When the 232IF does not receive the next set of data within the receiving timeout time after the receiving
edge of each data, the receiving timeout flag (BFM #28, b2) turns ON. At this time, the 232IF recognizes that
receiving is completed, and sets the receiving complete flag (BFM #28, b1) to ON.
5.4.6
Sending header <BFM #5 (highest-order 2 bytes) and BFM #4 (lowest-order 2
bytes)>
Setting range: 4 bytes maximum, 0 suppression
The initial value is "0" (no sending header).
Up to four headers can be specified for the 232IF send data. When the number of headers is less than 4, "0"s
in upper positions are ignored (0 suppression) and are not transferred.
BFM #5
(highest-order 2 bytes)
b15
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
Fourth
header
The transfer order is "fourth header
set.
5.4.7
Sending terminator <BFM #7 (highest-order 2 bytes) and BFM #6 (lowest-order 2
bytes)>
Setting range: 4 bytes maximum, 0 suppression
The initial value is "0" (no sending terminator).
Up to four terminators can be specified for the 232IF send data. When the number of terminators is less than
4, "0"s in upper positions are ignored (0 suppression) and are not transferred.
For the terminator transferred first, specify ASCII code from "01
any ASCII code other than "01
The register structure and transfer order are the same as those of the sending header described above.
5.4.8
Receiving header <BFM #9 (highest-order 2 bytes) and BFM #8 (lowest-order 2
bytes)>
Setting range: 4 bytes maximum, 0 suppression
The initial value is "0" (no sending header).
Up to four headers can be specified for the 232IF received data. When the number of headers is less than 4,
"0"s in upper positions are ignored (0 suppression) and are not transferred.
The register structure and transfer order are the same as those of the sending header described above.
-232IF)
2N
BFM #4
(lowest-order 2 bytes)
b15
b0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0
0
0
0
Third
Second
header
header
third header
" to "1F
" can be specified.)
H
H
b0
0
2
First header
Example:
02H (STX)
second header
first header" when four headers are
" to "1F
". (For other terminators after that,
H
H
5 Creating Programs
5.4 Buffer Memory (BFM)
A
B
C
D
E
F
G
H
I
Apx.A
G-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents