![NAiS FP2 Скачать руководство пользователя страница 138](http://html2.mh-extra.com/html/nais/fp2/fp2_technical-manual_3062214138.webp)
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 three characters/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
K
0)
(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)
Number of times reception errors(number of times which the reception errors to be stored in the above lower byte
are detected)
5)
Setting error code
(Lowerbyte:bit0=errorinthedipswitchsettingoftheoperationmode,bit1=operationmodesettingwhichexceeds
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
Содержание FP2
Страница 2: ......
Страница 8: ......
Страница 9: ...Chapter 1 Functions and Restrictions of the Unit...
Страница 14: ...1 6...
Страница 15: ...Chapter 2 Specifications and Functions...
Страница 29: ...Chapter 3 Installation and Wiring of Communication Blocks...
Страница 35: ...Chapter 4 Communication Function...
Страница 36: ...4 2...
Страница 44: ...4 10 4 4 4 Flow Chart...
Страница 46: ...4 12...
Страница 47: ...Chapter 5 Communication Function PC PLC Link...
Страница 65: ...Chapter 6 Communication Function General purpose Serial communication...
Страница 94: ...6 30...
Страница 95: ...Chapter 7 Communication Function Computer link...
Страница 108: ...7 14...
Страница 109: ...Chapter 8 Applications...
Страница 118: ...8 10...
Страница 119: ...Chapter 9 Specifications...
Страница 139: ...Chapter 10 Dimensions and Sample Programs...
Страница 141: ...10 3 10 1 2 Communication Blocks FP2 CB232 AFP2803 FP2 CB422 AFP2804 FP2 CB485 AFP2805...
Страница 142: ...10 4...