Tongta Inverter
TDS-V8
MODBUS Communication Application Manual
Please ensure the user gets this manual, for the optimal use of this device.
TEK-DRIVE / TDS-V8 INVERTER MODBUS Communication 1. Introduction:
TEK-DRIVE / TDS-V8 INVERTER uses the RS-485 series communication port and Modbus protocol for connecting with a PLC. Up to 31 inverters can be monitored and controlled simultaneously by a host controller with such links.
2. TDS-V8 Communication specifications:
(1) (2) (3) Uses RS-485 series communication port for Hardware link. Communication Format: Modbus RTU mode protocol. Communication Format setting: via setting of parameters Sn-36, Sn-37 and Sn-38: (i) Parameter Sn-36 = 1~31 Communication address (default =1) In the Communication Format, each communication unit requires a unique address, up to 31 inverters can be linked. (ii) Parameter Sn-37 = 0~3 ------ transfer speed (default =3) Parameter Sn-37 = 0 ------ 1200 Bps Parameter Sn-37 = 1 ------ 2400 Bps Parameter Sn-37 = 2 ------ 4800 Bps Parameter Sn-37 = 3 ------ 9600 Bps For setting RS-485 communication transfer speed (iii) Parameter Sn-38 = 0~2 ------ Parity setting (default =0) Parameter Sn-38 =0 ------ No Parity Parameter Sn-38 =1 ------ Even Parity Parameter Sn-38 =2 ------ Odd Parity Parity format in RS-485 communication set by Sn-38. (Note): In case of changing Sn-37 or Sn-38, the inverter must be switched OFF and re-started again. (4) Other parameters related to RS-485: (i) Setup inverter response mode during a RS-485 communication failure: Parameter Sn-39 = 0~3 ------ Inverter stop method during RS-485 communication failure (default =0) Parameter Sn-39 = 0 ------ decelerate according to bn-02 Parameter Sn-39= 1 ------ stop by free run Parameter Sn-39= 2 ------ decelerate according to bn-04 Parameter Sn-39= 3 ------ continue to run (can be stopped by pressing STOP) (ii) Setup Detection time for releasing alarm after a communication failure: Parameter Cn-27 = 00.0~25.5s ------ Detection time for communication failure (default =01.0s)
2
Parameter Cn-27 = 00.0 s ------ for No Detection of communication failure When the Cn-27 set period elapses, the digital controller will display (iii) For setting up whether RS-485 is used for command source: Parameter Sn-04= 2 ------ Operation Command comes from RS-485 port. Parameter Sn-05= 2 ------ Frequency Command comes from RS-485 port. (iv) For setting up that the signal of the inverter output terminal comes from RS-485 port. Parameters Sn-30, Sn-31 and Sn-32 = 25 ------ signal of the Digital output terminal comes from RS-485 port.
3. TDS-V8 connections:
RS-485 series communication port comprises S(+) and S(-) pins for semi-duplex communication transfer. For connecting multi RS-485 ports, just series-link all the S(+)s and all the S(-)s respectively.
Twisted-pair cables
RS-485 connecting diagram
4. TDS-V8 connection procedures:
(1) Power ON the inverter, then setup RS-485 related parameters and connect the RS-485 cable. Communication with the controller is now enabled. (2) During wiring the cable, if the inverter parameter setting for Operation/Frequency command comes from RS-485 port (Sn-04=2 or Sn-05=2), if the inverter, in the STOP mode, does not receive any information in the period set by Cn-27, the digital controller will display the blinking message, indicating that the system is in standby for communication. On receipt of data, the blinking message will go off. During the operation, if no data comes in during the period set by Cn-27, the system will respond according to the Sn-39 setting, and the digital controller will display the error message.
5. The Modbus RTU protocol:
(1) Definition of the Character: In the Modbus RTU mode, each Character, or byte, is composed of 11 bits: 1 start bit, 8 data bits, 1 parity bit and 1 stop bit. If Sn-38=0 for No Parity, the parity bit shall be set 1. The transfer carries out one by one starting from the start bit. The following are the formats of the character:
3
Character with parity check: LSB 1 Start bit 2 Data bit 0 3 Data bit 1 4 Data bit 2 5 Data bit 3 6 Data bit 4 7 Data bit 5 8 Data bit 6 9 Data bit 7 10 Parity bit MSB 11 Stop bit
Character without parity check: LSB 1 Start bit 2 Data bit 0 3 Data bit 1 4 Data bit 2 5 Data bit 3 6 Data bit 4 7 Data bit 5 8 Data bit 6 9 Data bit 7 10 Stop bit MSB 11 Stop bit
(2) Definition of a Message: In the Modbus RTU mode protocol, each message comprises 4 components namely Slave Address, Function Code, Data and Checking Code (CRC-16). Messages are separated with starting and ending periods equal to the length of 3.5 Characters. The message format is as follows:
Communication Period > length Address (Slave Function Code of 3.5 Address) Characters 1 Character 1 Character Data n Character Checking Code Period > length of 3.5 (CRC-16) Characters CRC_L CRC_h
(3) Message format: (i) Communication Address (Slave Address) One Character-length is used for the RTU mode communication address of the inverter in the message. Parameter Sn-36 is used for setting up this address, with the range of 1~31. Message sent by the Master can be received by all Slaves, but only the one with the same Slave Address as that in the message will execute the received message, with a response sent back to the Master. When the Master sends a message with the Slave Address set as 0, all slaves will execute the massage without sending back any response. (ii) Function Code One Character length is used for the RTU mode function Code in a message, for making the slave execute the command. Function Codes used by this inverter are listed as follow; each function will be detailed in Message Mode. Function Code 03H 06H 08H 10H (iii) Data Due to different data requirements of different functions, the data bytes of different messages have different lengths; detailed discussions will be given in Message Mode. (iv) Checking Code (CRC-16)
4
Function Read data from Register Write a single datum to Register Loop test Write data to Register
In the message format, a CRC-16 checking code of 2 characters long is used for errors in the transferred data. CRC-16 is a 16-bit binary value. When transferred, checking code of the low-byte is transferred first, then that of the high-byte. CRC-16 is operated as follows:
1 2
Set CRC_16 as FFFFH. Execute XOR operation for the low-byte of the CRC_16 with the first byte of the message, send the result back to the low-byte of the CRC_16. LSB of CRC_16 is 0, CRC_16 is shifted one bit to the right, with a 0 filled into the highest bit. If LSB of CRC_16 is 1, CRC_16 is shifted one bit to the right, with a 0 filled into the highest bit, and than execute XOR with A001H. Repeat step
3 2
4 5
until shifting to the right 8 times. ~
4
Repeat steps done.
for the next byte of the message, until all bytes are
The final CRC_16 value is the check code of the CRC_16. Use Basic to run CRC_16, for example: Function CRC_16(message$) as long crc16& = 65535 FOR CHAR% = 1 to LEN (message$) crc16& = crc16& XOR ASC (MID$ (message$, CHAR%, 1)) FOR BIT% = 1 to 8 IF crc16& MOD 2 THEN crc16& = (crc16& \ 2) XOR 40961 ELSE crc16& = crc16& \ 2 END IF NEXT BIT% NEXT CHAR% crc_hi% = crc16& \ 256 crc_lo% = crc16& MOD 256 message$ = message$ + CHR$(crc_lo%) + CHR$(crc_hi%) CRC_16 = crc16& END FUNCTION CRC_16 (4) Message mode: Messages are divided into commands and responses. Messages send from Master to a Slave is a Command, the respond send back to Master by a Slave is a Response. In general conditions, after 5ms a Command will be responded by the Slave with the denoted address. No response will be given by any Slave for the following conditions:
1
The Slave Address in the Commend does not match with any of the linked Slaves.
5
An error is detected when the Slave receives the message (Parity, Framing, Overrun, or CRC-16 error).
6. TDS-V8 message format
TDS-V8 Inverter accepts only 3 types of command messages: Read data from (03H), Loop Test (08H) and Write data to (06H and 10H). See the following table:
Host Query Command Function Code Function Byte (Min.) Data Read 03H Read data from Holding Register Write a single datum to Register Loop test Write data Register to 8 Byte (Max.) 8 Byte (Min.) 7 Byte (Max.) 37 Inverter return
Data Write Loop Test Data Write
06H 08H 10H
8 8 11
8 8 41
8 8 8
8 8 8
Command and Inverter return formats acceptable to the Inverter: (1) Read command (03H): Read data from Register. Data of a maximum of 16 registers can be read at a time. Command message Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte CRC-16 High Byte Low Byte 01H 03H 00H 20H 00H 01H 85H C0H
Inverter Return (Error Detected) Slave Address 80H + Function Code Error code CRC-16 High Byte Low Byte 01H 83H 03H 01H 31H
Inverter Return (Normal) Slave Address Function Code Data Byte Count Head Address CRC-16 High Byte Low Byte High Byte Low Byte 01H 03H 02H 08H 02H 3EH 45H
(2) Write command (06H): Writes datum to a holding register. If the Slave Address in the Write Command is set to 0, all Slaves on-line will receive and execute this message, but this can only be used for setting register addresses 0000H and 0001H. No response will be made by any Slave. If Write Command is used for changing parameters, the change is not saved into EEPROM when the machine is switched off. For saving into EEPROM, it must be written into address 0500H. Host Query Slave Address Function Code Head Address High Byte Low Byte Data character High Byte byte Low Byte CRC-16 High Byte Low Byte 01H 06H 00H 01H 00H 20H D9H D2H
Inverter Return (Error Detected) Slave Address 80H + Function Code Error Code CRC-16 High Byte Low Byte 01H 86H 03H 02H 61H
Inverter Return (Normal) Slave Address Function Code Head Address High Byte Low Byte Data character High Byte byte Low Byte CRC-16 High Byte Low Byte 01H 06H 00H 01H 00H 20H D9H D2H
(3) Loop Test Command (08H): Check if communication circuit is normal Slave Address Function Code Test Code Test Data CRC-16 High Byte Low Byte High Byte Low Byte High Byte Low Byte 01H 08H 00H 00H 12H 34H EDH 7CH
Inverter Return (Error Detected) Slave Address 80H + Function Code Error Code CRC-16 High Byte Low Byte 01H 88H 03H 06H 01H
Inverter Return (Normal) Slave Address Function Code Test Code Test Data CRC-16 High Byte Low Byte High Byte Low Byte High Byte Low Byte 01H 08H 00H 00H 12H 34H EDH 7CH
(4) Write Command (10H): Writes multiple data to holding register. A maximum of 16 registers can be written at a time. If the Slave Address of the Write Commend is set to 0, all Slaves on-line will receive and execute this message, but this can only be used for setting register addresses 0000H and 0001H. No response will be made by any Slave. If Write Command is used for changing parameters, the change is not saved into EEPROM when the machine is switched off. For saving into EEPROM, it must be written into address 0500H. Host Query Slave Address Function Code Head Address Access Count Data byte Count* The first data character byte CRC-16 High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte 01H 10H 00H 01H 00H 01H 02H 00H 30H A7H 95H Inverter Return (Normal) Slave Address 01H Function Code 10H Head Address High Byte 00H Low Byte 01H Access Count High Byte 00H Low Byte 01H CRC-16 High Byte Low Byte
8
Inverter Return (Error Detected) Slave Address 01H 80H + Function Code 90H Error Code 03H CRC-16 High Byte 0CH Low Byte 01H
50H 09H
* Number of data bytes is 2 times of Access Count.
7. TDS-V8 Registers:
There are 3 types of registers: Control, Monitor and Inverter Parameters: Register Type Control Data Monitor Data Register Property Read/Write Read-only. Non-Writeable Register Address 0000H~000FH 0020H~002FH 0100H~0500H
Inverter Parameter Data Read/Write
(1) Control Data register (Read/Write): Register for controlling inverter operation List of Control Data Registers Address 0000H (*1) Bits 0 1 2 3 8 9 0001H(*1) 0007H 0: STOP; 1: RUN 0: Forward; 1: Reverse External Fault (0: disable; 1: enable) Fault Reset (0: disable; 1: enable) 0: disable; 1: switch from PRG mode to DRV mode, auto clear to 0 0: disable; 1: switch from DRV mode to PRG mode, auto clear to 0 Function Description
4~7 Reserved
10~15 Reserved Frequency Command: 7530H /100% (30000/100%); 100% =Cn-02 0 1 2 Output terminal R1A-R1B-R1C output setting; 0: disable; 1: enable Output terminal DO1-DOG output setting; 0: disable; 1: enable Output terminal R2A-R2C output setting; 0: disable; 1: enable 0002H~0006H Reserved
3~15 Reserved 0008H~000FH Reserved *1. This control data register can be used for Slave Address 0 write-in message. (2) Monitor Data Register (Read-only. Non-Writeable): For monitoring Inverter operation status List of Monitor Data Registers Address 0020H Bits 0 1 2 3 1: Zero Speed 0: Forward; 1: Reverse 1: Inverter Ready
9
Function Description 0: STOP; 1: RUNNING
4 5 6 7 8 9 10
0: PRG mode; 1: DRV mode 0: 220V series; 1: 440V series 1: Inverter Alarm 1: Inverter Fault Reserved
11 1: LCD Digital Operator 12 0001: Parameter Setting Invalid 13 0010: Multi-Function Digital Input Parameter Setting Invalid 14 0011: Auto-Run Mode Parameter Setting Invalid 0100: V/F Pattern Parameter Setting Invalid 15 0101: Frequency Limited Parameter Setting Invalid 0110: Jump Frequency Parameter Setting Invalid 0111~1111: Reserved 0021H 0 1 2 3 4 5 6 7 8 9 1: Under Voltage Fault (UV1) 1: Over Current Fault (OC) 1: Over Voltage Fault (OV) 1: Over heat Fault (OH) 1: Motor Over Load Fault (OL1) 1: Inverter Over Load Fault (OL2) 1: Output Over Torque Fault (OL3) 1: External Fault 3 (EF3) 1: External Fault 5 (EF5) 1: External Fault 6 (EF6)
10 1: External Fault 7 (EF7) 11 1: External Fault 8 (EF8) 12 1: EEPROM Fault 13 1: CPU A/D Fault 14 1: Ground Fault (GF) 15 Reserved 0022H 0 1 2 3 0023H 0 1 2 1: Braking Resistor Over Heat Alarm 1: RS-485 Communication transfer Alarm 1: Under Voltage Alarm (UV) 1: Over Voltage Alarm (OV) 1: Over Heat Alarm (OH)
10
Reserved
4~15 Reserved
3 4 5 6 7 8 9 10
1: Over Torque Alarm (OL3) 1: Two Line Terminal 1,2 External Alarm (EF) 1: Base Block Alarm (bb) 1: EEPROM Alarm 1: External Alarm 3 Reserved
11 1: Braking Resistor Over Heat Alarm 12 1: RS-485 Communication Alarm 13 Reserved 14 15 0024H 0025H 0026H 0027H 0028H 0029H 002AH 002BH 002CH Input Terminal status Frequency Command (30000/100%) 100%=Cn-02 Output Frequency (30000/100%) 100%=Cn-02 Output Voltage 1V/1 Output Current 0.1A/1 Main circuit DC Current 1V/1 Analog Input VIN Value; 10V/100.0% Analog Input AIN Value; 20mA/100.0% Analog Input AUX Value; 10V/100.0% 0 1 2 3 4 5 6 7 002DH 002EH 002FH Output Terminal status Terminal 1 Terminal 2 Terminal 3 Terminal 4 Terminal 5 Terminal 6 Terminal 7 Terminal 8 0: Open; 1: Close 0: Open; 1: Close 0: Open; 1: Close 0: Open; 1: Close 0: Open; 1: Close 0: Open; 1: Close 0: Open; 1: Close 0: Open; 1: Close
8~15 Reserved Analog Output AO1 Value; 10V/100.0% Analog Output AO2 Value; 10V/100.0% 0 1 2 Terminals R1A-R1B-R1C 0: Open; 1: Close Terminals DO1-DOG 0: Open; 1: Close Terminals R2A-R2C 0: Open; 1: Close
3~15 Reserved
11
(3) Inverter Parameter Register (Read/Write): List of Inverter Parameter vs. Register Address List of Inverter Parameter Register Address 0100H 0101H 0102H 0103H 0104H 0105H 0106H 0107H 0108H 0109H Inverter Parameter An-01 Frequency Command 1 An-02 Frequency Command 2 An-03 Frequency Command 3 An-04 Frequency Command 4 An-05 Frequency Command 5 An-06 Frequency Command 6 An-07 Frequency Command 7 An-08 Frequency Command 8 An-09 Frequency Command 9 An-10 Frequency Command 10 Unit Setting Range
0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz 0.01Hz 0.00~400.00 Hz
010AH An-11 Frequency Command 11 010BH An-12 Frequency Command 12 010CH An-13 Frequency Command 13 010DH An-14 Frequency Command 14 010EH An-15 Frequency Command 15 010FH An-16 Frequency Command 16 0110H An-17 Jog Frequency Command
Address 0200H 0201H 0202H 0203H 0204H 0205H 0206H 0207H 0208H 0209H
Inverter Parameter Bn-01 Acceleration time 1 Bn-02 Deceleration time 1 Bn-03 Acceleration time 2 Bn-04 Deceleration time 2 Bn-05 Analog frequency command VIN gain Bn-06 Analog frequency command VIN bias Bn-07 Analog frequency command AIN gain Bn-08 Analog frequency command AIN bias Bn-09 Analog multi-function input AUX gain Bn-10 Analog multi-function input AUX bias
Unit 0.1s 0.1s 0.1s 0.1s 0.1% 0.1% 0.1% 0.1% 0.1% 0.1% 0.01 0.01 0.01 0.01 0.01s
12
Setting Range 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~1000.0% -100.0~100.0% 0.0~1000.0% -100.0~100.0% 0.0~1000.0% -100.0~100.0% 0.01~2.55 0.01~2.55 0.01~10.00 0.01~10.00 0.00~100.00s
020AH Bn-11 Analog multi-function output AO1 gain 020BH Bn-12 Analog multi-function output AO2 gain 020CH Bn-13 PID Detection gain 020DH Bn-14 PID Proportion gain (P) 020EH Bn-15 PID Integral Time (I)
020FH Bn-16 PID Differential time (D) 0210H 0211H 0212H 0213H 0214H 0215H 0216H 0217H 0218H 0219H Bn-17 PID Deviation Bn-18 Power saving gain Bn-19 Auto torque compensation gain Bn-20 Timer ON delay time Bn-21 Timer OFF delay time Bn-22 1st Step Time Under Auto Run Mode Bn-23 2nd Step Time Under Auto Run Mode Bn-24 3rd Step Time Under Auto Run Mode Bn-25 4th Step Time Under Auto Run Mode Bn-26 5th Step Time Under Auto Run Mode
0.01s 1% 1% 0.1 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s 0.1s -
0.00~1.00s 0~109% 50~150% 0.0~2.0 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 0.0~6000.0s 00~15
021AH Bn-27 6th Step Time Under Auto Run Mode 021BH Bn-28 7th Step Time Under Auto Run Mode 021CH Bn-29 8th Step Time Under Auto Run Mode 021DH Bn-30 9th Step Time Under Auto Run Mode 021EH Bn-31 10th Step Time Under Auto Run Mode 021FH Bn-32 11th Step Time Under Auto Run Mode 0220H 0221H 0222H 0223H 0224H 0225H Bn-33 12th Step Time Under Auto Run Mode Bn-34 13th Step Time Under Auto Run Mode Bn-35 14th Step Time Under Auto Run Mode Bn-36 15th Step Time Under Auto Run Mode Bn-37 16th Step Time Under Auto Run Mode Bn-38 Display content after Power ON
Address 0300H 0301H 0302H 0303H 0304H 0305H 0306H 0307H 0308H 0309H
Inverter Parameter Cn-01 Input Voltage Cn-02 Max. Output Frequency Cn-03 Max. Voltage Cn-04 Frequency of the Max. Voltage Cn-05 Middle Output Frequency Cn-06 Voltage at Middle Output Frequency Cn-07 Min. Output Frequency Cn-08 Voltage at Min. Output Frequency Cn-09 Motor Rated Current Cn-10 No Load Current of Motor
Unit 0.1V 0.1Hz 0.1V 0.1Hz 0.1Hz 0.1V 0.1Hz 0.1V 0.1A 1% 0.1% 0.00 1 1W
13
Setting Range 150.0~255.0V*1 50.0~400.0Hz 0.1~255.0V*1 0.1~400.0Hz 0.1~400.0Hz 0.1~255.0V*1 0.1~400.0Hz 0.1~255.0V*1 *2 0~99% 0~9.9% 0~65.535 0~65535W
030AH Cn-11 Rated Slip of Motor 030BH Cn-12 Line to Line Resistor of Motor 030CH Cn-13 Motor ferrous loss
030DH Cn-14 DC Injection Braking Starting Frequency 030EH Cn-15 DC Brake Current 030FH Cn-16 DC Injection Braking Time at Stop 0310H 0311H 0312H 0313H 0314H 0315H 0316H 0317H 0318H 0319H Cn-17 DC Injection Braking Time at Start Cn-18 Frequency Command Upper Bound Cn-19 Frequency Command Lower Bound Cn-20 Frequency Jump Point 1 Cn-21 Frequency Jump Point 2 Cn-22 Frequency Jump Point 3 Cn-23 Frequency Jump Range Cn-24 Number of times, Reset after fault Cn-25 Stall Prevention During Acceleration Cn-26 Stall Prevention During Running
01.Hz 1% 0.1s 0.1s 1% 1% 0.1Hz 0.1Hz 0.1Hz 0.1Hz 1% 1% 0.1s -
0.1~10.0Hz 0~100% 0.0~25.5s 0.0~25.5s 0~109% 0~109% 0.0~400.0Hz 0.0~400.0Hz 0.0~400.0Hz 0.0~25.5Hz 0~10 30~200% 30~200% 0.0~25.5s 0-39999 0.0~400.0Hz 0.0~400.0Hz 0.1~25.5Hz 30~200% 0.0~25.5s 1~6 0~200% 0.1~25.5s 0.5~5.0s 10~100% 150~210V 0.0~1.0s 0.0~1.0s 0.0~1.0s 0.0~1.0s 0~109% 0.0~2.5s
031AH Cn-27 Communication Fault Detection Time 031BH Cn-28 Display mode, Digital Controller 031CH Cn-29 Random Frequency accelerating 031DH Cn-30 Random Frequency decelerating 031EH Cn-31 Detection Frequency 0320H 0321H 0322H 0323H 0324H 0325H 0326H 0327H 0328H 0329H amplitude, Detection Detection for
Level, 0.1Hz Level, 0.1Hz
consistent 0.1Hz 1% 0.1s 1% 0.1s 0.1s 1% 1V 0.1s 0.1s 0.1s 0.1s 1% 0.1s
031FH Cn-32 Detection Level, Over Torque Cn-33 Detection Time, Over Torque Cn-34 Carrier Frequency Setting Cn-35 Speed Search Detection Level Cn-36 Speed Search Time Cn-37 Min. Base Block Time Cn-38 V/F Curve in Speed Searching Cn-39 Detection Level, Under Voltage Cn-40 S-curve Characteristic Time at Accel. Start Cn-41 S-curve Characteristic Time at Accel. End Cn-42 S-curve Characteristic Time at Decel. Start
032AH Cn-43 S-curve Characteristic Time at Decel. End 032BH Cn-44 PID Integral Upper Bound 032CH Cn-45 PID Primary Delay Time Constant 032DH Cn-46 Resistance, Motor winding 032EH Cn-47 Resistance, Motor Rotor 032FH Cn-48 Motor Equivalent Inductance Leak 0330H Cn-49 Motor Equivalent Inductance
14
0.00 1 0.000~65.535 0.00 1 0.000~65.535 0.01mH 0.00~655.35mH 0.1mH 0.0~6553.5 mH
0331H
Cn-50 Slip Compensation Gain
0.01 0.1s
0.00~2.55 0.0~25.5s
0332H Cn-51 Slip Compensation Delay *1: Setting range for 220V. Multiply by 2 for 440V. *2: Setting range is 10~200% of Inverter rated current.
Address 0400H 0401H 0402H 0403H 0404H 0405H 0406H 0407H 0408H 0409H
Inverter Parameter Sn-01 Inverter Capacity Sn-02 V/F Curve selection Sn-03 Operation and initiation modes Sn-04 Run Source selection Sn-05 Frequency Command selection Sn-06 STOP method selection Sn-07 Controller STOP button selection Sn-08 Prohibition of REV run Sn-09 Output frequency Up/Down function Sn-10 UP/DOWN adjustment of output Frequency
Unit function function 15
Setting Range 01~13 00~15 00~14 0~2 0~2 0~3 0~1 0~1 0~1 0~1 0~3 0~1 0~1 0~1 0~1 0~1 0~2 0~1 0~4 0~4 0~1 0~1 0~1 0~3 00~21 01~22 02~23
040AH Sn-11 Analog Frequency Input command properties selection 040BH Sn-12 Analog Frequency properties selection Command Input
040CH Sn-13 ZERO Command Braking function selection 040DH Sn-14 Output Voltage Limit selection 040EH Sn-15 Stall prevention selection 040FH Sn-16 Stall prevention selection 0410H 0411H 0412H 0413H 0414H 0415H 0416H 0417H 0418H 0419H during during Accel. Decel.
Sn-17 Stall prevention during running function selection Sn-18 Re-Start selection interruption after momentary
Sn-19 Motor overload protection select Sn-20 Over Torque Detection select Sn-21 Contact select for restart from emergency stop Sn-22 External fault Sn-23 External fault Sn-25 DI Sn-26 DI
5 6 7 3 3
contact selection detection selection
Sn-24 External fault operation selection function selection function selection function selection
041AH Sn-27 DI
041BH Sn-28 DI
function selection
03~24 00~11 00~25 00~25 00~25 01~16 00~11 00~11 01~31 0~3 0~2 0~2 0~1 0~1 0~1 0~1 0~1 0~6 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2 0~2
041CH Sn-29 Aux function selection 041DH Sn-30 R1A-R1B-R1C function selection 041EH Sn-31 DO1 function selection 041FH Sn-32 R2A-R2C function selection 0420H 0421H 0422H 0423H 0424H 0425H 0426H 0427H 0428H 0429H Sn-33 Multiplier select, Pulse output Sn-34 AO1 function selection Sn-35 AO2 function selection Sn-36 Inverter Address Sn-37 RS-485 communication baud rate setting Sn-38 RS-485 communication transmission parity setting Sn-39 RS-485 communication Fault stop selection Sn-40 Selection of load Sn-41 PID function selection Sn-42 Brake resistor protection function select
042AH Sn-43 Motor parameter Auto-test function select 042BH Sn-44 Selection of Control modes 042CH Sn-45 Auto Run mode operation selection 042DH Sn-46 Auto Run mode operation selection 1 042EH Sn-47 Auto Run mode operation selection 2 042FH Sn-48 Auto Run mode operation selection 3 0430H 0431H 0432H 0433H 0434H 0435H 0436H 0437H 0438H 0439H Sn-49 Auto Run mode operation selection 4 Sn-50 Auto Run mode operation selection 5 Sn-51 Auto Run mode operation selection 6 Sn-52 Auto Run mode operation selection 7 Sn-53 Auto Run mode operation selection 8 Sn-54 Auto Run mode operation selection 9 Sn-45 Auto Run mode operation selection 10 Sn-56 Auto Run mode operation selection 11 Sn-57 Auto Run mode operation selection 12 Sn-58 Auto Run mode operation selection 13
043AH Sn-59 Auto Run mode operation selection 14 043BH Sn-60 Auto Run mode operation selection 15 043CH Sn-61 Auto Run mode operation selection 16
0500H
Save An, Bn, Sn and Cn parameters into EEPROM
*2
*1 0100H~02FFH registered addresses can be written in both DRV and PRG modes.
16
*2 Write 0000H here will save the parameters into EEPROM Reading of all parameters are not confined with any limitations of modes, but writing is only applicable in the PRG mode unless specified otherwise.
8. Content of Error Codes
Content of error message display is as per the following Table: Error Code 01H 02H 03H 04H 21H 22H Error Name Function Error Code Possible Cause Function code is not 03H, 08H or 10H; or Function code is 08H but sub- Function code is not 0000H Invalid register address during Retrieval / Writing of command Invalid data during Read / Write of command CRC reception differs from calculated CRC Handling task of the previous command, such as parameter change or storing data into EEPROM EEPROM fail while writing data Parity bit, Overrun or Frame error detected during transfer.
Data Address Error Data Value Error CRC_16 Error Device Busy Device Fail
No response Data Format Error Invalid format of received data No response UART Error
17
9. Example of TDS-V8 Communication
Demonstrates how a TDS-V8 Inverter, with communication address 1, is controlled by PLC via the RS-485 port for the following operations:
Direction Command (Forward/Reverse) Operation Command (Run/Stop)
Frequency Command
Forward
Reverse
Stop
Run
Stop
Output Frequency
Time
Multi-function Output Terminal R1A-R1C
Time
Multi-function Output Terminal DO1_DOG
Step 1 Step 2 Step 3
Step 4
Correctly setup inverter parameters Sn-37 (transfer speed), Sn-38 (Parity setting), Sn-39 (Inverter stop method during RS-485 communication failure) and Cn-27 (Detection time for releasing alarm after a communication failure) according to the previous descriptions, then setup the following parameters: (i) Sn-36 = 01 (Inverter Address) (ii) Sn-04 =2 (Operation Command controlled by RS-485 communication) (iii) Sn-05 =2 (Main Speed Command controlled by RS-485 communication) (iv) Sn-30 =25 (Terminal R1A controlled by RS-485 communication) (v) Sn-31 =25 (Terminal DO1 controlled by RS-485 communication) Then connect cables according to wiring procedures and carry out communication. Configure the Master (PLC) Controller with the following program for accomplishing the desired operations:
18
Step 1: Command message sent by Master Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte Data Byte Count 1st Data byte High Byte Low Byte 2nd Data byte 3 Data byte 4th Data byte 5 Data byte 6 Data byte 7 Data byte 8 Data byte CRC-16
th th th th rd
01H 10H 00H 00H 00H 08H 10H 00H 01H 5DH C0H 00H 00H 00H 00H 00H 00H 00H 00H 00H 00H 00H 01H 44H 91H
Response message from Slave (Inverter) Slave Address Function Code Head Address High Byte Low Byte Access Count CRC-16 High Byte Low Byte High Byte Low Byte 01H 10H 00H 00H 00H 08H C1H CFH
High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte
Note: 1. Send 1st Data byte 0001H to register 0000H, stand for Forward Run. 2. Send 2nd Data byte 5DC0H to register 0001H, for running in 80% speed; Cn-02 (Max. Frequency output) is100%(7530H). 3. Send 8th Data byte 0001H to register 0007H, stand for control of multi-function by RS-485 and for enable output terminals R1A-R1C and disable DO1-DOG. 4. Then the Inverter is initiated; multi-function output terminals R1A-R1C activated, and acceleration is carried out to 80% of max. Output Frequency according to Acceleration Time.
19
Step 2: Command message sent by Master Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte Data Byte Count 1st Data byte 2
nd
Inverter return from Slave (Inverter) Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte CRC-16 High Byte Low Byte 01H 10H 00H 00H 00H 08H C1H CFH
01H 10H 00H 00H 00H 08H 10H 00H 01H 3AH 98H 00H 00H 00H 00H 00H 00H 00H 00H 00H 00H 00H 01H FDH 2EH
High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte
Data byte
3 Data byte 4 Data byte 5 Data byte 6 Data byte 7 Data byte 8 Data byte CRC-16
th th th th th
rd
Note: 1. Send 1st Data byte 0001H to register 0000H, stand for Forward Run. 2. Send 2nd Data byte 3A98H to register 0001H, for running in 50% speed. 3. Send 8th Data byte 0001H to register 0007H, stand for control of multi-function by RS-485 and for enable output terminals R1A-R1C. 4. Then the Inverter multi-function output terminals DO1-DOG are disabled and R1A-R1C activated, and deceleration is carried out to 50% of max. Output Frequency according to Deceleration Time.
20
Step 3 Command message sent by Master Slave Address Function Code Head Address Data Byte Count 1st Data byte 2
nd
Inverter return from Slave (Inverter) Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte CRC-16 High Byte Low Byte 01H 10H 00H 00H 00H 08H C1H CFH
01H 10H 00H 00H 10H 00H 03H 3AH 98H 00H 00H 00H 00H 00H 00H 00H 00H 00H 00H 00H 01H 7FH 2FH
High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte High Byte Low Byte
Data byte
3 Data byte 4 Data byte 5th Data byte 6th Data byte 7 Data byte 8 Data byte CRC-16
th th th
rd
Note: 1. Send 1st Data byte 0003H to register 0000H, stand for Reverse Run. 2. Send 2nd Data byte 3A98H to register 0001H, for running in 50% speed. 3. Send 3rd Data byte 0001H to register 0007H, stand for control of multi-function by RS-485 and for enable output terminals R1A-R1C. 4. Then the Inverter shall decelerate to Stop from 50% speed and reverse and accelerate to 50% of the full Reverse speed; multi-function output terminals R1A-R1C continue Output actions.
21
Step 4: Command message sent by Master Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte Data Byte Count 1st Data byte CRC-16 Note: 1. Send 1st Data byte 0000H to register 0000H, stand for stopping the operation. 2. Then the Inverter decelerates from 50% Reverse to ZERO speed and stop operation. Since the content of 0007H register has not been changed, the multi-function output terminals R1A-R1C continue their Output actions. High Byte Low Byte High Byte Low Byte 01H 10H 00H 00H 00H 01H CRC-16 02H 00H 00H A6H 50H Inverter return from Slave (Inverter) Slave Address Function Code Head Address High Byte Low Byte Access Count High Byte Low Byte High Byte Low Byte 01H 10H 00H 00H 00H 01H C1H C9H
22