NL1000 Plus Modbus Communication Manual
NL1000 Plus Modbus Communication Manual
L1 U
Power supply L2 V M Motor
L3 W
Note:When using a single-phase
power supply,please access from E
terinals L1 and L2. Grounding
Multifuntional input terminal
FWD RA
NO 250VAC/30VDC 3A
REV
RC
S1
S2
GND
10V RS+
Potentiometer
Communication
AVI(0-10V/ RS- Terminals
4-20mA)
J2 GND
V AVI I
GND
Note: AVI terminals can be used to select an analog voltage input (0-10V) and
analog current input (4-20mA) through the switch J2.
2、Communication parameters
Initial settings and specifications of RS-485 communication
Used to perform required setting for communication between the inverter and personal
computer.
P700 RS-485 Communication speed Initial value: 0
Setting range 0 – 3 unit 1
Content 0: 4800bps 1: 9600bps
2: 19200bps 3: 38400bps
For example, the communication speed is 19200bps when the setting value is “2”.
P701 Communication mode Initial value: 0
Setting range 0 – 5 unit 1
Content 0: 8N1 For ASCII 1: 8O1 For ASCII
2: 8E1 For ASCII 3: 8N1 For RTU
4: 8O1 For RTU 5: 8E1 For RTU
P701 sets the format of communication data. Please see related communication specification in
detail.
P702 RS-485 communication station Initial value: 0
Setting range 0 – 240 unit 1
Each inverter must have a station number, which will be defined through P702. Communication
control of inverter can connect with 240 others.
If P702 is set to “ 0 “ , means communication function is invalid.
3、Communication Protocol
NL1000 series communication agreement is with MODBUS ASCII (American standard code for
information inter change) mode: Each byte consists of 2 ASCII characters, for example: The
expression of the numerical value of 54Hex ASCII is that “54” consists of “5”(35Hex) and
4(34 Hex).
3.1. Definition of coding
Communication agreement belongs to hexadecimal system, of which each character represents
the following information.
Character 0 1 2 3 4 5 6 7
ASCII code 30H 31H 32H 33H 34H 35H 36H 37H
Character 8 9 A B C D E F
ASCII code 38H 39H 41H 42H 43H 44H 45H 46H
3.2. Character structure
10 – Bit character box (For ASCII)
Data pattern: 8N1 For ASCII
Start bit 0 1 2 3 4 5 6 7 Stop bit
8-Data bits Character string
10-bits Character box
Communication Address
00H: All driver Broadcasts
01H: For inverter with 01st address
0FH: For inverter with 15th address
10H: For inverter with 16th address, by analogy, the maximum could
reach 240.
Function code and Data Characters
03H: Read out the content of temporary storage
06H: Write a WORD into temporary storage; Function code 03H:
Read out the content of temporary storage.
For example: Driver address 01H, reads out the data characters in 2
successive temporary storages as follows: Initial temporary storage
address 2102H
Function code 06H: Write a WORD into temporary storage.
ASCII mode:
Format of enquiry message character string:
STX ‘:’
Address 0
1
Function 0
3
Starting address 2
1
0
2
Number of data 0
(count by word) 0
0
2
LRC Check D
7
END CR
LF
RTU mode:
Format of enquiry message:
Address 01H
Function 03H
Starting data 21H
address 02H
Number of data 00H
(count by word) 02H
CRC CHK Low 6FH
CRC CHK High F7H
Format of response message:
Address 01H
Function 03H
Number of data 04H
(count by byte)
Content of data 17H
address 8102H 70H
Content of data 00H
address 8103H 00H
CRC CHK Low FEH
CRC CHK High 5CH
For example: Driver address 01H, writes 6000 (1770H) into the internal setting parameter 0100H
of driver.
LRC Check of ASCII mode
ASCII mode:
Format of enquiry message character string:
STX ‘:’
Address 0
1
Function 0
6
Data address 0
1
0
0
Data content 1
7
7
0
LRC Check 7
1
END CR
LF
Format of response message character string:
STX ‘:’
Address 0
1
Function 0
6
Data address 0
1
0
0
Data content 1
7
7
0
LRC Check 7
1
END CR
LF
RTU mode:
Format of enquiry message:
Address 01H
Function 06H
Data address 01H
00H
Data content 17H
70H
CRC CHK Low 86H
CRC CHK High 22H
Format of response message:
Address 01H
Function 06H
Data address 01H
00H
Data content 17H
70H
CRC CHK Low 86H
CRC CHK High 22H
LRC Check is the value added from Address to Data Content. For example, the LRC Check of the
above 3.3.1 enquiry message is as:01H + 03H + 21H + 02H + 00H + 02H = 29H, then the
complement of 2 (D7H) is taken.
CRC Check of RTU mode
CRC Check is from Address to Data content, and its running rule is as follows:
Step 1: Make 16-bit temporary storage (CRC temporary storage) =FFFFH.
Step 2: Exclusive OR first 8-bit byte message instruction and low 16-bit CRC temporary storage:
Perform Exclusive OR, and store the result into CRC temporary storage.
Step3: Move CRC temporary storage one more bit, and fill 0 into high bit position.
Step 4: Check right shift value, if being 0, store the new value for step 3 into CRC temporary
storage, otherwise in case of Exclusive OR A001H and CRC temporary storage, store the result
into CRC temporary.
Step 5: Repeat Step 3 ~ Step 4, and operate completely for 8-bit.
Step 6: Repeat Step 2 ~ Step 5, and take the message instruction for next 8-bit, till all message
instructions are operated completely.Finally, the value gotten of CRC temporary storage is CRC
Check. It is noteworthy that, CRC Check must be placed into the check mode of message
instruction interchangeably.The following is the example of CRC Check running written in C
language:
Unsigned char data ←//Message instruction pointer
Unsigned char length ←//Length of message instruction
unsigned int crc_chk (unsigned char*data, unsigned char length)
{
int j;
unsigned int reg_crc=0XFFFF;
while( 1ength--) {
reg_crc^=*data ;
for (j = 0; j<?; j ) {
if (reg_crc & Ox01) { /*LSB (b0) =1 */
reg_ere= (reg_crc>>1) ^OXa001;
}else{
reg_cre=reg_crc>>1;
}
}
retum reg_crc; //Finally feedback the value of CRC temporary storage
}
Data Address Bit Address Content Read /write Address
2000H BIT1~BIT0 00B:no action write 2000H
(P102=2) 01B:stop
10B:start
11B:JOG start
BIT5~BIT15 reserved
2001H BIT0~BIT15
Freq. Command 0000~4000
(P101=5) write 2001H
1 digit after decimal point,unit :Hz
ions
setting
P806 Current display filter time 0326H
P807 0-10V analogue output low 0327H
end calibration coefficient
P808 0-10V analog output high 0328H
end calibration coefficient
P809 0-20mA analogue output low 0329H
end calibration coefficient
P810 0-20mA analog output high 032AH
end calibration coefficient
P811 Compensation frequency point 032BH
for dead time
P812 UP/DOWN frequency memory 032CH
options