G-25
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX
2N
-232IF)
5 Creating Programs
5.4 Buffer Memory (BFM)
A
Comm
on I
te
ms
B
N:
N N
etwo
rk
C
Paral
le
l Li
nk
D
Com
puter Li
nk
E
In
verter
C
omm
uni
cation
F
N
on-Proto
col
C
ommunicati
on
(R
S/RS
2 Instru
ction
)
G
No
n-
Protoc
ol
Co
mmuni
ca
tion
(FX
2N
-2
32IF)
H
Programm
ing
Comm
uni
cation
I
Re
mo
te
Ma
intenance
Apx.A
D
isco
nti
nued
models
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.
The transfer order is "fourth header
third header
second header
first header" when four headers are
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
H
" to "1F
H
". (For other terminators after that,
any ASCII code other than "01
H
" to "1F
H
" can be specified.)
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.
b15
0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
b0
0
0
0
BFM #5
(highest-order 2 bytes)
Fourth
header
Third
header
b15
0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
b0
0
0
2
BFM #4
(lowest-order 2 bytes)
Second
header
First header
Example:
02H (STX)
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......