G-26
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX2N-232IF)
5 Creating Programs
5.4 Buffer Memory (BFM)
5.4.9 Receiving terminator <BFM #11 (highest-order 2 bytes) and BFM #10 (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 received 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 received first, specify an ASCII code from "01
H" to "1FH". (For other terminators after that,
any ASCII code other than "01
H" to "1FH" can be specified.)
The register structure and transfer order are the same as those of the sending header described above.
5.4.10 Receiving suspension waiting time <BFM #12>
Setting range: 0 to 32767 (× 10 ms)
The initial value is "0 ms".
When the 232IF receives data beyond the maximum number of receivable bytes (BFM #2) in the RS-232C
interlink connection mode (BFM #0, b9 = 1, b8 = 1), it sets the receiving enable (RS) signal to OFF to ask the
external equipment to suspend sending.
BFM #12 sets the time after the receiving enable (RS) signal is set to OFF until the receiving suspended
status bit (BFM #28, b4) is set to ON. Make sure that the time set by BFM #12 is longer than the time between
when the 232IF sets the receiving enable (RS) signal to OFF until the external equipment completely
suspends sending.
If the receiving suspended status bit (BFM #28, b4) is set to ON before the external equipment stops sending,
the 232IF cannot receive the remaining data any more.
5.4.11 Amount of remaining send data <BFM #13>
Stored value: 0 to 512 (when the buffer data length is 16-bit)
0 to 256 (when the buffer data length is 8-bit)
This buffer stores the value set in the number of bytes to be sent (BFM #1000) subtracted by the number of
already sent data.
5.4.12 Amount of received data buffers <BFM #14>
Stored value: 0 to 256+15
("15" is provided for the preliminary receive data buffer.)
This buffer stores the amount of received data buffers which have already received data among the received
data buffers BFM #2001 to 2256 and preliminary receive data buffers for interlink connection mode BFM
#2257 to 2271.
Number of
received bytes
BFM#2000
Receiving suspended
BFM#28 b4
Receiving enable(RS)
Suspension waiting
time(BFM#12)
0 to 32767(
×
10 ms)
Data receiving
is suspended.
Preliminary receive
data buffer
(BFM#2257 to #2271)
Maximum number of
receivable bytes
(BFM#2) Set the time at which sending
from the external equipment
is completely suspended.
542
513
512
0