Ex.
When accumulating and then collectively sending data to an external device
The 36-byte data is sent from the master station to the external device in a batch User data that can be any size.
The message format of Input data and Output data is the same, regardless of the communication interface (RS-232/RS-485/
RS-422) of the external device.
Buffer memory of
the master station
Output data area
(8 words)
1
Data segment 1
(14 bytes)
4
Data segment 2
(14 bytes)
7
Data segment 3
(8 bytes)
21 SERIAL COMMUNICATION MODULE
570
21.1 NZ2FT-C24
2
Output data: Data segment 1
(TX_HWBUFFER=1/TX_CNT=01)
Address
Content
b0
RXBUF FLUSH
b1
TXBUF FLUSH
b2
TX_HWBUFFER
b3
TX_CNT
0
b4
b5
RX_CNT_ACK
b6
b7
STATRES
b0
TX_Byte_CNT
b1
b2
b3
1
b4
―
b5
b6
b7
Transmission data
2 to 15
(14 bytes)
3
Input data (TX_CNT_ACK=01)
5
Output data: Data segment 2
(TX_HWBUFFER=1/TX_CNT=10)
6
Input data (TX_CNT_ACK=10)
8
Output data: Data segment 3
(TX_HWBUFFER=0/TX_CNT=11)
10
Input data (TX_CNT_ACK=11)
Coupler
NZ2FT-C24
RXBUFFER
Value
0
TXBUFFER
0
1
Data are accumulated
in TXBUFFER.
01
Data segment 1
―
(14 bytes)
1
E
―
―
Data are accumulated
in TXBUFFER.
Data segment 2
(14 bytes)
Data are accumulated
in TXBUFFER.
Data segment 3
(8 bytes)
External device
Transmission
is stopped
Transmission
is stopped
9
Transmission
is started
User data
User data of
(36 bytes)
36 bytes
Data segment 1
(14 bytes)
Data segment 2
(14 bytes)
Data segment 3
(8 bytes)