High- level Instructions
9-20
If nine or more data should be received, the MCU unit detects the received buffer full error.
If the received buffer FULL error is detected, the MCU unit prohibits the reception of data in that channel
and inform about the error.
The byte number which can be received in one buffer is maximum of 2048 bytes (including terminal code).
However, the data which can be received with the MRCV do not include terminal code.
<Configuration of communication parameter>
7) The communication parameter data consists of 11 words.
1) Unit number setting value (K1 to K99)
2) Baud rate setting value (K0 to K10) *2
*2. Baud rate setting value
Storage value
Baud rate
0 300
1 600
2 1200
3 2400
4 4800
5 9600
6 19200
7 38400
8 57600
9 115K
10 230K
3) Data length setting value (K0=7 bits, K1=8 bits)
4) Parity setting value (K0=no parity, K1=parity 0, K2=Odd, K3=Even)
5) Stop bit length setting value (K0: 1 bit, K1: 2 bits)
6) RS/CS setting (K0=disable, K1=able)
7) Waiting time for starting transmission (K: 0=Time for about threecharacters/effective time=Kn* 0.01 ms (0 to 100
ms))
8) Starting code STX setting value (K0=disable, K1=able)
9) Terminator setting value (K0=cR, K1=cR+Lf, K2=time (24 bits),K3 =EXT)
10) Reception done judgment time (K:0=immediate/effective time=Kn*0.01 ms (0 to 100 ms)
11) Modem initialization (K0=Not initialized, K1=Initialized)
<Configuration of monitor data>
1) Operation mode (K0 to K7)
(K0=computer link, K1=general - purpose serial, K2=PC link,
K7=modem initialization)
2) Communication cassette detection (from K0)
(No communication cassette=0, RS232C=K232, RS422=K422, RS485=K485)
3) Reception error code
(Lower byte: bit 0=received buffer overrun, bit 1=stop bit not detected, bit 2=parity unmatched)
(Higher byte: bit 0=received buffer overflow, bit 1=received buffer full)
4) Numberof times reception errors(number of times which the receptionerrors tobe storedin the above lower byte
are detected)
5) Setting error code
(Lowerbyte:bit0=errorinthedipswitch setting oftheoperationmode,bit1=operationmodesetting whichexceeds
the usable limit of the unit)
(Higher byte: bit 0=error in the communication parameter setting, bit 1=error in the number of transmitted data)
6) Error parameter No. (K0 to K11)
7) Modem initialization
(h0000=deinitialized h0100=now initializing h0200=initialization completed. h02FF=initialization failed.)
FP2/FP2SH