193
Enhanced Protocol Macro Functions Section 5-6
5-6-2 Clearing/Holding Contents of Reception Buffer in Full-duplex
Mode
Pre-Ver. 1.2 Units
The reception buffer is cleared to zeros when the PMCR(260) instruction is
executed (immediately before communications sequence execution) in either
half-duplex or full-duplex transmission mode using the protocol macro func-
tion. When data is exchanged in both directions in full-duplex mode, however,
the data in the reception buffer that was received during SEND command pro-
cessing in the immediately previous communications sequence is cleared to
zeros when the PMCR(260) instruction is executed and the communications
sequence is switched. This data cannot be received using the RECEIVE com-
mand in the communications sequence after switching.
Unit Ver. 1.2 or Later
In Unit Ver. 1.2 or later, the contents of the reception buffer can be cleared or
held when the PMCR(260) instruction is executed during full-duplex transmis-
sion (immediately before executing the communications sequence). This
option is set in the Setup Area. This function enables data in the reception
buffer that was received in the previous communications sequence to be held,
even if the communications sequence has been switched in full-duplex mode.
• Setup Area Allocated in the DM Area
m = D30000 + 100
× unit number
5-6-3 High-speed Baud Rate for Protocol Macro Mode
Pre-Ver. 1.2 Units
The baud rate for protocol macro mode was 38,400 bps max.
Unit Ver. 1.2 or Later
A baud rate of 57,600 bps can be selected for protocol macro mode by setting
it in the Setup Area.
• Setup Area Allocated in the DM Area
m = D30000 + 100
× unit number
Words Bit Setting
Board Unit
Port 1 Port 2 Port 1 Port 2
D32008 D32018 m+8 m+18 03 Clearing/holding con-
tents of reception buffer
in full-duplex mode
0: Clear
1: Hold
Words Bit Setting
Board Unit
Port 1 Port 2 Port 1 Port 2
D32001 D32011 m+1 m+11 00 to 03 Baud Rate (unit: bps)
(This setting is available
even when protocol
macros are used for
serial communications)
9: 57,600