s2800 Series
s2800 Series
s2800 Series
0 User's Parameters
00-00 Operation Command Channel Factory setting 0
0: Keyboard command (LED off)
1: Terminal command (LED flicker)
Setting range
2: Communication command (LED on)
3: Reserved
Select the channel of inverter control command.
The inverter control command includes start, stopping, forward, reverse, jog-on and fault
reset, etc.
0: keyboard command (LOCAL/REMOT light off)
The operation command is controlled by RUN and STOP/RST keys on keyboard panel. If
the multi-function key QUICK/JOG is set as switch function FWD/REV (set 08-03 as 1), the
rotating direction switching is available in this key.
In running state, if press RUN and STOP/RST keys together, the inverter will coast to stop.
1: Terminal command channel (LOCAL/REMOT flickers)
Control the operation command by multi-function inputting terminal forward and reverse,
forward jog running and reverse jog running, etc.
2: Communication command channel (light of LOCAL/REMOT is on)
The operation command is controlled by upper computer through communication mode.
3: Reserved
41
00-01 Keyboard and terminal UP/DOWN setting Factory setting 2
0: Available, the inverter stores parameters on power-lost
1: Available, the inverter dose store parameters on power-lost
Setting range 2: UP / DOWN setting is unavailable
3: Parameter setting available on running mode, reset on stopped
4: Reserved
Set frequency through "∧"and "∨" on keyboard and UP/DOWN terminals (frequency
setting increase/ decrease) function.They have the highest authority and can combine with
any other frequency setting channel. They mainly adjusts the output frequency of inverter in
the course of debugging control system.
0: Available and the inverter stores after power-failure. Able to set the frequency command
and store the set frequency value after power- failure. It will combine with present setting
frequency automatically when powering on again.
1: Available, the inverter dose store parameters on power-lost. Able to set the frequency
command,but not store the set frequency value after power-failure.
2:UP/DOWN setting unavailable, the function of "∧"and "∨"on keyboard and UP/DOWN
terminal are unavailable and motor resets automatically.
3:The function setting of "∧"and "∨"on keyboard and UP/DOWN terminal available on
running.
4:Reserved
Note: when user restores the function parameter of inverter, the keyboard and
UP/DOWN function terminal reset automatically.
42
Note:When the analog quantity AV12 / ACI selects the of 0~20mA current input ,
corresponding voltage of 20mA is 5V. The 100.0% set by analog quantity input
corresponds to the maximum frequency (00-03), and -100.0% the maximum inverted
frequency.
4: Multi-steps speed running setting
The inverter will run in multi-Steps Speed mode if the mode is selected. It is necessary to
set 04 group and 05 group of multi-Steps Speed groups to determine the set percentage
and corresponding relationship of its frequency.
5: PID control setting
The inverter running mode will be course PID control if this parameter selected. It is
necessary to set 10 groups of PID control group. The inverter running frequency value is the
frequency value after PID's action. As for definitions of PID set source, set value and
feedback source and so on, please refer to the introduction of 10 groups of PID function.
6: Remote communication setting
The frequency command is set by upper computer through communication. Please refer to
the 12 communication protocol for details.
7: AVI2/ACI+ setting Remote communication
The frequency command is set by the analog AVI2/ACI and remote communication.
8: Keypad potentiometer(enabled with potentiometer)
When the frequency command selects “keyboard setting”,the function code value is the
initial setting value of inverter frequency.
43
00-08 Deceleration time 1 Factory setting 10.00
Setting range 0.1~3600.0[type setting]
Acceleration time refers to the required time t1 that inverter accelerates from 0Hz to the
maximum output frequency(00-03).
Deceleration time refers to the required time t2 that inverter decelerates from maximum
output frequency(00-03) to 0Hz.
As the diagram shown below:
f MAX
33
f SET
When the set frequency equals to maximum frequency, actual acceleration and deceleration
time equals to set acceleration and deceleration time.
When the set frequency is less than maximum frequency, actual acceleration and deceleration
time are less than set acceleration and deceleration time.
Actual acceleration and deceleration time = set acceleration and deceleration time×(set
frequency/Max. frequency)
S2800 series inverter has two groups of acceleration and deceleration time.
Group 1: 00-07, 00-08
Group 2: 09-00, 09-01
Acceleration and deceleration time can be determined by the combination of acceleration and
deceleration time selection terminals in multi-function digital input terminal.
44
00-09 Operation direction selection Factory setting 0
0: Default direction operation
Setting range 1: Opposite direction running
2: Reverse running prohibited
0: Default direction operation. The inverter runs in the actual direction after power-on.
1: Opposite direction running. Used to change the rotation direction of inverter, which
corresponds to change the rotation direction by adjusting any two of motor wires.
Note: The running direction of motor will restore to its original state after parameters
initialization. It is forbidden to change the rotation direction of motor after system
being debugged, please handle with care.
2: Reverse running prohibited. Running reversely is inhibited, which is used in some special
occasions.
10KHz
Advantage of high carrier frequency: better current waveform, less current harmonic and lower
motor noise
Disadvantages of high carrier frequency: bigger start & stop power dissipation, higher inverter
temperature rise, inverter output capacity affected.
The inverter should lower its rated frequency under high carrier frequency. And the leakage
current increases, and the electromagnetic interference increases.
On the contrary,if low carrier frequency used. The excessive low carrier frequency will result in
unstable low frequency running, torque decreasing and even oscillation.
The carrier frequency has been set properly in factory. Generally speaking, the user needn’t to
alter this parameter.
45
00-11 Function parameters restore Factory setting 0
0: No operation
Setting range 1: Restore defaults
2: Alarm records clearance
0: No operation
1: The inverter restores all default parameters.
2: The inverter clears latest alarm records.
Note: after finishing this operation, the value of the function code will return to 0
automatically. Restore defaults will not reset 01-01~01-11 parameters.
46
1 Motor Control Parameters
01-00 Speed control mode Factory setting 1
0: No PG vector control
Setting range 1: V/F control
2: Torque control (No PG vector control)
Select inverter operating mode
0: No PG vector control
It refers to open cycle vector. Suitable for the high-performance general occasion without
coder PG. One inverter can drive one motor only, such as loads of machine tool, centrifugal
machine, drawing mill,injection machine etc.
1: V/F control
Suitable for occasions which do not require higher control precision, such as fan and pump
loads. One inverter can drive several motors simultaneously.
2: Torque control (no PG vector control)
Suitable for occasions which do not require higher control precision, such as wire winding
and drawing. Under torque control mode, the rotation speed is determined by motor load.
And there speeds are no longer determined by there acceleration and deceleration time.
Note: when selects vector control mode, it is necessary to do the motor parameter
self-learning. Only by obtaining correct parameters can the vector control exert its
advantages. The better performance can be achieved by altering parameter (group
02) of speed regulator.
47
01-02 Motor rated power Factory setting *****
Setting range 0.1~900.0kw(type setting)
Note: set parameters according to the motor nameplate parameter. Correct motor
parameter are important for the excellent vector control performance.
The inverter provides parameters self-learning function. Correct parameter self-learning
comes is determined by the correct motor nameplate parameter input.
To keep the control performance, please be sure that inverter frequency matches with
that of motor’ s. If too big difference exists, the inverter control performance will decline
significantly.
Note: The reset of motor rated frequency (01-02) will initialize the motor parameter
01-07 and 01-11.
01-10 Mutual-inductor between motor stator and rotor Factory setting *****
Setting range 0.1~6553.5mH (type setting)
Setting values of 01-07~01-11 will update automatically after the motor parameter
self-learning finishes normally. These parameters are standard parameters of high-
performance vector control, which have direct effects on control performance.
Note:Please don't modify this group of parameters at will.
48
2 Vector Control Parameters
02-00 Speed cycle proportional gain 1 Factory setting 30
Setting range 0~100
Parameters above are suitable for vector control mode only. When switching the frequency
lower than 1 (02-02), the speed cycle PI parameter is 02-00 and 02-01. When switching the
frequency higher than 2 (02-05), the speed cycle PI parameter is 02-03 and 02-04. When
switching the frequency from 1 (02-02) to 2 (02-05), the PI parameter is obtained from linear
variation of two groups of parameters as follows:
Available to adjust the dynamic response performance of vector control speed cycle by
setting the proportion coefficient and integral time of speed regulator. The increase of
proportion gain and decrease of integral time both can accelerate the dynamic response of
speed cycle. But too big proportion gain and over short integral time both easily result to
system oscillation and excessive over adjustment. While too small proportion gain will also
cause static system oscillation and speed static error.
Speed cycle PI parameter has close relations with system inertia,and needs to be adjusted
based on default PI parameter for different load performances so as to meet the demands
of various occasions.
49
02-06 VC slip compensation coefficient Factory setting 100%
Setting range 50%~200%
The slip compensation coefficient is used to adjust the slip frequency of vector control and
improve the system speed control precision. The proper adjustment of this parameter can
suppress the static error efficiently.
0: Straight line V/F curve. Suitable for general constant torque load.
1: 2.0 square drop torque V/F curve. Suitable for the centrifugal load, such as fan, water
pump, etc.
50
The torque increase is mainly used for the frequency lower than stop frequency (03-02)
and the increased V/F curve as the diagram shows below. The torque increasing can
improve the V/F low-frequency torque performance .
Selecting the proper torque value according to torque quantity. Large load brings quantity
increasing, But the value can't be set too large, or the motor will run in over excitation
mode, which causes the increasing of inverter output current, and motor
overheated,efficiency decreasing .
Inverter outputs auto-torque increasing when the torque increasing is set as 0.0%.
Torque increasing stop point: under this frequency point, the torque increasing is available,
and unavailable beyond it.
The setting of this parameter can compensate the variation of motor rotation speed due to
on-load operation with V/F control,so as to improve the rigidity of machinery performance.
Value of this parameter should be set as the motor rated slip frequency. And the frequency
can be calculated by the following formula:
03-03=fb-n*p/60
In which, fb is motor rated frequency,corresponds to the function code 01-02; n is
motor rated rotating speed,corresponds to the function code 01-04; p is pole-pairs of
motor.
Able to set the limitation range of carrier wave. The highest carrier wave is 10K when set as
0 and 14K when set as 1.
Note:Regarding the high power carrier, the software will automatically identify a maximum
limit to reduce the heat loss of power tube, not all of the power range can reach 10K or 14K .
51
4 Input Terminal Parameters
Function List
Setting value Function Setting value Function
0 No function 13 Multi-steps speed terminal 2
1 Forward operation 14 Multi-steps speed terminal 3
2 Reverse operation 15 Multi-steps speed terminal 4
Acceleration and deceleration
3 Three - line operation control 16
time selection
4 Forward jog-on 17 PID control pause
Wobble frequency pause ( on
5 Reverse jog-on 18
the current frequency)
Wobble frequency resett (back to
6 Coast to stop 19
center frequency)
This parameter is used to set functions corresponding digital multi-function input terminal.
0: No function
1: Forward running (FWD)
2: Reverse running (REV)
When terminal control determines operation command channel, the inverter operation command
is set by terminal function above.
3: Three line operation control
For the three-line control input terminals.Please see 04-05 three line function code introduction.
4: Forward jog-on
5: Reverse jog-on
For the details of jog-on frequency and acceleration and deceleration time.please see
09-02~09-04
6: Coast to stop
52
When the command is available, the inverter blocks output immediately. The stopping course of
motor is not controlled by inverter. It is recommended to adopt this method when there is no
requirements on the big-inertia load and stopping time. The definition of this method is the same
as that of coast to stop defined in 07-05.
7: Fault reset
External fault reset,Used to reset the remote fault which has the same function as STOP/RST
key on keyboard.
8: External fault input
When this signal is available, the external fault(EF) alarms and the inverter stops.
9: Frequency setting increase (UP)
10: Frequency setting decrease (DOWN)
11: Setting clearance of frequency increase and decrease
The three functions above are mainly used to modify a set frequency with external terminal. UP
is increasing command; DOWN is decreasing command; Setting clearance of increasing and
decreasing frequency is used to clear the frequency value set by UP/DOWN to make the set
frequency return to the frequency set by frequency command channel.
12,13,14,15: Multi-steps speed terminal 1~4
Able to realize the setting of 16 sections of speeds by combining states of these four terminals.
Note: Multi-steps speed terminal 1 is low bit, while terminal 4 is high bit.
53
04-08 On-off quantity filtering times Factory setting 5
Setting range 1~10
Set the filtering time of MI1~MI4 terminal samplings. When there is too much interference, it
is necessary to increase this parameter to prevent faulty operation.
This parameter defines four different ways to controlling inverter operation through exter-
nal terminals.
0: two-wire control 1, the unification of enabling functions and direction.Two-wire mode
method is the most commonly used. The parameters of the following figures set as:04-
00=1,04-02=2,04-09=0,which are:define MI1 as FWD and MI2 as REV.The forward and
reverse rotation of motor are determined by defining FWD, REV terminal commands
K1 K2
operation
command
MI1
K1 OFF OFF stop
forward
MI2 S2800 ON OFF
running
K2
OFF ON reverse
running
DCM
ON ON stop
1: two-wire control 2, the separation of enabling functions and direction. In this mode, the
defined FWD is the enabling terminal. The parameters of the following figures set as:04-
00=1,04-02=2,04-09=1,which are:define MI1 as FWD and MI2 as REV.And the direction is
determined by state of defined REV
K1 K2 operation
command
MI1
K1 OFF OFF stop
forward
MI2 S2800 ON OFF running
K2
OFF ON reverse
running
DCM
ON ON stop
54
2: three-wire control 1. In this mode, The parameters of the following figures set as:04-00=1,04-
01=3,04-02=2,04-09=2,which are:define MI1 as FWD,MI2 as three-wire control and MI3 as
REV.In this mode, MI2 is the enabling terminal. operation command is set by FWD, REV controls
direction. MI2 is normally closed input
SB1
MI1 K operation
command
SB 2
MI2
S2800 OFF forward running
MI3
K
SB1
MI1
SB 2
MI2
S2800
MI3
SB3
DCM
Of which, SB1: forward running button SB2: stop button SB3: reverse running button
Note: As for two-wire operation mode, when FWD/REV terminal is available, the stopping
command produced by other source makes inverter stop, which means that the
FWD/REV terminal still available and inverter will not operate after disappearance of
stopping command. Trigger FWD/REV again to make inverter operate.
55
04-10 Frequency increase rate of terminal UP/DOWN Factory setting 0.50
Setting range 0.01~50.00[Hz/s]
Used UP/DOWN function to adjust the variation rate when set frequency.
corresponding setting
0V 10V AI
(0mA) (20mA)
-100.0%
AVI1 input filter time: to adjust the sensitivity of analog quantity. The proper increase of this value
can enhance the anti-interference performance of analog quantity, but weaken the sensitivity of
analog quantity.
56
04-16 AVI2/ACI lower limitation Factory setting 0.30
Setting range 0.00~10.00[V]
output
set frequency frequency
set value + control
PID control
computing M P
percentage
-
percentage
The target source is set by keyboard when select 10-00=0. This parameter should be set.
The parameter is base on the maximum output frequency (00-03).
74
0: Analog channel AVI1 feedback
1: Analog channel AVI2/ACI feedback
2: AVI1+AVI2/ACI feedback
3: Remote communication feedback
Selecting PID feedback channel through this parameter.
Note: The set channel and feedback channel can't overlapped. Otherwise, PIID can't
control efficiently.
0: PID output is positive characteristic. When the feedback signal is larger than PID set, it is
necessary to decline the inverter output frequency to make PID reach balance, e.g. PID
control of winding tension.
1: PID output is negative characteristic. When the feedback signal is smaller than PID set, it
is necessary to increase the inverter output frequency to make PID reach balance, e.g. PID
control of unwinding tension.
Proportion gain (Kp): it determines the adjustment intensity of whole PID adjuster. The
greater the P is, the greater the adjustment intensity will be. When the parameter value is
100, it means that when the deviation between PID feedback quantity and set quantity is
100%,there is max frequency on PID adjuster when set output frequency command
(Regardless the effects of integral and differential).
Integral time (Ti): It determines the integration adjusting speed of deviation of PID feedback
quantity and set quantity by PID adjuster. Integral time means that when the deviation of
PID feedback quantity and set quantity is 100%, the integral adjuster(Regardless the effects
of proportion and integral) keeps adjusting during this period and make the adjusted
quantity reach to maximum frequency (00-03). The shorter the integral time is, the greater
the adjusting intensity will be.
Differential time (Td): It determines the adjusting intensity of variation rate of deviation of PID
feedback quantity and set quantity by PID adjuster. Differential time means if feedback
quantity varies 100% in this period, the adjusted quantity of integral adjuster is the max
frequency (00-03) (Regardless the effects of proportion and integral). The longer the differ-
ential time is, the greater the adjusting intensity will be.
PID is the most commonly used control method in process control, each part has different
function. The following content gives a brief introduction to the working principle and adjust-
ing method.
75
Proportion adjustment (P): when there is deviation between feedback quantity and set
quantity, the adjusted quantity must be proportional to deviation. If the deviation is invariable,
the adjusted quantity is also constant. The proportion adjustment can reflect the variation of
feedback rapidly. But proportion adjustment alone can't achieve reference control. The
greater the proportion gain is, the faster the adjusting speed of system comes. And the over
great of proportion gain will cause oscillation.
The adjusting step is as follows: first, set a long integral time and make differential time zero,
let system run only with proportion adjustment only. Then change the set quantity and
observe the stable deviation (static deviation) of feedback signal and set quantity. If the
static deviation is in the variation direction of set quantity (e.g., When increase set quantity,
the feedback quantity is always smaller than set quantity after system stabilization),
increase the proportion gain continuously, decrease the proportion gain on the contrary.
Repeat above steps until the static deviation is small enough (It is difficult to clear static
deviation).
Integral time (I): when there is deviation between feedback quantity and set quantity, the
output adjusted quantity accumulated continuously. If the deviation still exists, the adjusted
quantity will increase continuously until no deviation receives. The integral adjuster can
eliminate the static deviation efficiently. If the integral adjustment is too strong, repeated
over-adjustment will occur, which makes system unstable until oscillation produced.
The oscillation characteristics is as follows. The feedback signal wobbles up and down on
set quantity. The wobble width increases gradually until oscillation. The adjustment of
integral time parameter is from big to small,adjusting integral time gradually,observing the
effects of system adjustment until the sped of system stabilization meets the requirement.
Differential time (D): When the deviation between feedback quantity and set quantity varies,
input the adjusted quantity are proportional to change rate of deviation. The quantity only is
affected by variation direction and variation quantity, while having nothing to do with its
deviation and value.
When the feedback signal varies, the differential adjustment will adjust according to the
varying tendency to suppress the variation of feedback signal. Please use differential adjust-
ment carefully. The differential adjustment would easily enlarge the system interference,
especially the interference on greater changing frequency.
Sampling period (T): it refers to the sampling period of feedback quantity. The adjuster
computes once in every sampling period. The longer the sampling period is, the slower the
response will be.
Limitation of PID control deviator: PID system output value corresponds to the maximum
deviation allowed for closed ring set value. As shown in the diagram below, The PID
adjuster stops adjusting within the deviation limitation. The proper setting of this function
code can adjust the accuracy and stability of PID system.
76
feedback quantity limited deviation
set quantity
time
output frequency
time
Feedback broken line detection value: this test value corresponds to full scale (100%). The
system keeps detecting the feedback quantity of PID. When the feedback value is smaller
than or equal to the feedback broken line detection value, the system begins the detection
timing. When the detection time exceeds feedback broken line detection time, the system
will report the PID feedback broken line error (PIDE).
One minute
78
When the frequency drop rate of instant power-failure is set as 0, the function of frequency
drop of instant power-failure is unavailable.
Frequency drop point of instant power-failure: it refers to that after power lost is received by
the power grid and the voltage falls to the frequency drop point of instant power-failure, the
inverter begins to decrease the operation frequency as the frequency drop rate of instant
power-failure (11-03), which makes the motor in electricity generate state and the generate
power is able to maintain the bus voltage,so as to ensure the normal operation of inverter
until the inverter gets power again.
Note: when the power grid switched, if adjust these two parameters properly,the production
stop can be avoided due to the inverter protection .
11-04:
0: Protection inhibited
1: Protection permitted
In the course of inverter deceleration, the actual drop rate of inverter rotation speed may be
less than that of output frequency due to the effect of load inertia. At this moment, the motor
will send electric power back to inverter, making the bus voltage of inverter increased, which
may cause the over voltage fault if no measures taken.
Over voltage stall protection is used to detect the bus voltage in the course of inverter
operation and compare with the over load stall point defined by 11-05 (corresponding to
standard bus voltage). If the bus voltage exceeds the over load stall point, the output
frequency of inverter stops decreasing and continues to decelerate until the bus voltage is
lower than over voltage stall point. As the diagram showns below:
output current
over voltage
stall point
Time t
output
frequency
Time t
79
11-06 Auto-current limitation Factory setting 160
Setting range 100~200%[160]
output current
auto-current limitation
point
Time t
output frequency
80
12 Serial Communication Parameters
A. Communication Protocol
The S2800 series inverter select the host-assistant communication, which provides RS485
communication interface and adopts the international standard ModBus communication
protocol. The user can achieve the centralized control (inverter control command setting,
operation frequency, modification of relative function code parameters, working state of inverter
and monitoring of fault information, etc.) through PC/PLC and controlling the upper seat to
adapt to special application requirement.
B. Protocol Content
The ModBus serial communication protocol defines the frames content and application format
of asynchronous transmission in serial communication, which includes host polling and
broadcast frames,assistant answering format. The frames content organized by host includes
the assistant address (or broadcast address), command taking, data and error correction and
so on. The assistant response also adopts the same structure, including action confirmation,
data feedback and error correction and so on. If the assistant receives fault when receiving
frames, or can't complete the action received from host, a fault frame will be organized as the
response to host.
C. Application Mode
The S2800 series inverter can be switched in "single host-multiple assistants" control network
with RS485 bus.
D. Bus Structure
(1) Interface mode
RS485 hardware interface
(2) Transmission mode
Asynchronous Serial Interface, half duplex transmission. As for the host and assistant, only
one can send data and the other receives data at the same time. The data in serial asynchro-
nous communication is sent one frames by another in the form of message mode.
(3) Topological structure
Single host-multiple assistants system. The setting range of assistant address is 1~247. 0 is
the address of broadcast communication. Address of every assistant in the network is unique,
which is the base for ensuring ModBus serial communication.
E. Protocol Specification
The communication protocol of S2800 series inverter is a kind of asynchronous serial
host-assistant ModBus communication protocol. In this network, only one piece of equipment
(host) can set up protocol (called interrogation command). Other equipments (assistants) only
react under the interrogation command of host by providing data or act accordingly as the
interrogation command of host. The host here refers to personal computer (PC), industry
control equipment or programmable logic controller (PLC) and so on. The assistant refers to
S2800 series inverter or other control equipments with same communication protocol. The host
can communicate with some assistant only and send broadcast information to all assistants as
well. As for the host interrogation command accessed individually, the assistant has to feedback
the information (called response). As for the broadcast information sent by host, the assistants
don't need to give response information back.
81
F. Communication Frames Structure
The digit format of ModBus protocol communication of S2800 series inverter have two forms:
RTU (remote terminal unit) mode and ASCII mode (American Standard Code for Information
International Interchange).
In RUN mode, the format of each byte is as follows:
Coding system: 8-binary, every 8-bit frames field includes two hexadecimal characters,
hexadecimal system 0~9, A~F.
In ASII mode, the format of each byte is as follows:
Coding system: communication protocol is hexadecimal system. The meaning of ASCII informa-
tion: "0"..."9", "A"..."F". Every hexadecimal system is expressed by ASII information of
corresponding characters.
Data format: start bit, seven or eight data bits, check bit and stop bit.
The description of data format is as follows:
Start bit BIT1 BIT2 BIT3 BIT4 BIT5 BIT6 BIT7 BIT8 check bit stop bit
Start bit BIT1 BIT2 BIT3 BIT4 BIT5 BIT6 BIT7 check bit stop bit
In RTU mode, the new frames always set the transmission time as at least 3.5 characters
starting from the silence period. In the network,computing the transmission speed by baud rate,
the 3.5 characters of transmission time can be easily controlled. The following transmitted data
fields are assistant addresses, operation command codes, data and CRC check words
successively. The transmission character of each field is hexadecimal system 0...9, A...F. The
network monitors the action of communication bus all the way. When the first field is
received(address information), this byte will be confirmed by every piece of network equipment.
Once the last byte has been transmitted, a similar transmission time interval of 3.5 characters
will be used to express the end of this frame. The transmission of a new frame will be started
after then.
82
RTU data frame format
MODBUS message
The information of one frame must be transmitted in a continuous data flow. If there is the time
interval more than 1.5 characters before the end of whole frames transmission, the receiving
equipment will clear these incomplete information and treat the following byte mistakenly as the
address field part of a new frame. Similarly, if the time interval between the start of a new frame
and the previous one frame is smaller than 3.5 characters, the receiving equipment will treat it as
continuation of previous one frame, resulting to frames disorder, incorrectness of final CRC check
value and communication fault. The standard structure of RTU frame is as follows:
In ASCII mode, the frame head is "0" ("0×3A"), the frame end default is "CRLF" ("0×0D" "0×0A").
Under ASCII mode, except the frame head and frame end, all data bytes are sent in the form of
ASCII code, which first sends high 4-bite byte and then low 4-bite byte. The data in this mode is 8
bits. As for "A" ~"F", it adopts ASCII code in capital letter. At this moment, the data adopts LRC
check. The check covers the information part from assistant address to data. The check summa-
tion equals to the complement code of summation (ignoring the carry bit) of characters of all data
participating in checking.
83
The standard structure of ASCII frame is as follows:
START ‘:’(0x3A)
Address Hi Communication address:8-bit address is
Address Lo combined by 2 ASCII codes
Function Hi Function code: 8-bit address is combined by 2
Function Lo ASCII codes
DATA (N-1) Data content: nx8-bit data content is combined by
… 2n ASCII codes, n<=16, 32 ASCII codes at most
DATA (0)
LRC CHK Hi LRC check code: 8-bit check code is combined by
LRC CHK Lo 2 ASCII codes
END Hi
End: END Hi=CR (0x0D), END Lo=LF (0x0A)
END Lo
START T1-T2-T3-T4
ADDR 01H
CMD 03H
Start address upper bit 00H
Start address lower bit 04H
Date number upper bit 00H
Date number lower bit 02H
CRC CHK Iower bit 85H
CRC CHK upper bit CAH
END T1-T2-T3-T4
84
RTU assistant response information
START T1-T2-T3-T4
ADDR 01H
CMD 03H
Byte number 04H
Date address 0004H upper bit 13H
Date address 0004H lower bit 88H
Date address 0005H upper bit 13H
Date address 0005H lower bit 88H
CRC CHK lower bit 73H
CRC CHK upper bit CBH
END T1-T2-T3-T4
START ‘:’
‘0’
ADDR
‘1’
‘0’
CMD
‘3’
‘0’
Start address upper bit
‘0’
‘0’
Start address lower bit
‘4’
‘0’
Date number upper bit
‘0’
‘0’
Date number lower bit
‘2’
LRC CHK Hi ‘F’
LRC CHK Lo ‘6’
END Hi CR
END Lo LF
85
ASCII assistant response information
START ‘:’
‘0’
ADDR
‘1’
‘0’
CMD
‘3’
‘0’
Byte number
‘4’
‘1’
Date address 0004H upper bit
‘3’
‘8’
Date address 0004H lower bit
‘8’
‘1’
Date address 0005H upper bit
‘3’
‘8’
Date address 0005H lower bit
‘8’
LRC CHK Hi ‘C’
LRC CHK Lo ‘2’
END Hi CR
END Lo LF
START T1-T2-T3-T4
ADDR 02H
CMD 06H
Write data address upper bit 00H
Write data address lower bit 05H
Date content upper bit 13H
Date content lower bit 88H
CRC CHK lower bit 94H
CRC CHK upper bit AEH
END T1-T2-T3-T4
86
RTU assistant response information
START T1-T2-T3-T4
ADDR 02H
CMD 06H
Write data address upper bit 00H
Write data address lower bit 05H
Date content upper bit 13H
Date content lower bit 88H
CRC CHK lower bit 94H
CRC CHK upper bit AEH
END T1-T2-T3-T4
START ‘:’
‘0’
ADDR
‘2’
‘0’
CMD
‘6’
‘0’
Write data address upper bit
‘0’
‘0’
Write data address lower bit
‘5’
‘1’
Date content upper bit
‘3’
‘8’
Date content lower bit
‘8’
LRC CHK Hi ‘5’
LRC CHK Lo ‘8’
END Hi CR
END Lo LF
87
ASCII assistant response information
START ‘:’
‘0’
ADDR
‘2’
‘0’
CMD
‘6’
Write data address upper bit ‘0’
‘0’
Write data address lower bit ‘0’
‘5’
Date content upper bit ‘1’
‘3’
Date content lower bit ‘8’
‘8’
LRC CHK Hi ‘5’
LRC CHK Lo ‘8’
END Hi CR
END Lo LF
For example, Doing circuit test on the driven address 01H, the character string of query
information is same to that of response information. Its format is as shown below.
RTU host response information
START T1-T2-T3-T4
ADDR 01H
CMD 08H
Sub-function code upper bit 00H
Sub-function code lower bit 00H
Date content upper bit 12H
Date content lower bit ABH
CRC CHK lower bit ADH
CRC CHK upper bit 14H
END T1-T2-T3-T4
88
RTU assistant response information
START T1-T2-T3-T4
ADDR 01H
CMD 08H
Sub-function code upper bit 00H
Sub-function code lower bit 00H
Date content upper bit 12H
Date content lower bit ABH
CRC CHK lower bit ADH
CRC CHK upper bit 14H
END T1-T2-T3-T4
START ‘:’
‘0’
ADDR
‘1’
‘0’
CMD
‘8’
‘0’
Sub-function code upper bit
‘0’
‘0’
Sub-function code lower bit
‘0’
‘1’
Date content upper bit
‘2’
‘A’
Date content lower bit
‘B’
LRC CHK Hi ‘3’
LRC CHK Lo ‘A’
END Hi CR
END Lo LF
89
ASCII assistant command information
START ‘:’
‘0’
ADDR
‘1’
‘0’
CMD
‘8’
‘0’
Sub-function code upper bit
‘0’
‘0’
Sub-function code lower bit
‘0’
‘1’
Date content upper bit
‘2’
‘A’
Date content lower bit
‘B’
LRC CHK Hi ‘3’
LRC CHK Lo ‘A’
END Hi CR
END Lo LF
I. Byte Checking
The user can select different byte checking method according to practical needs, and also
can select no checking which will affect the checking bit setting of every byte.
Even checking: adding an even bit before data transmission to express that the number of
"1" in transmitted data is odd or even. If the number is even, the checking bit is "0",
otherwise "1". It is used to keep the parity of data constant.
Odd checking: adding an odd bit before data transmission to express that the number of
"1" in transmitted data is odd or even. If the number is odd, the checking bit is "0",
otherwise "1". It is used to keep the parity of data constant.
For example, the transmitted data is "11001110". There are five "1" in it. If even checking is
adopted, its even parity checking bit is "1". If odd checking is adopted, its odd parity
checking bit is "0". In data transmission, the parity bit is put on the checking bit of frame
through computing. The receiving equipment also needs parity checking. If the parity of
received data is different from the preset situation, it indicates that there is communication
error received.
90
J. CRC Checking-CRC(cyclical Redundancy Check)
In RTU frame format, the frame includes frame incorrect test field based on CRC
computing. The CRC field detects the content of whole frames. The CRC field is 2
b y t e s a n d i n c l u d e s 1 6 - b i n a r y. I t i s a d d e d t o f r a m e a f t e r b e i n g c o m p u t e d b y
transmission equipment. The receiving equipment recalculates the CRC which has
received frames and compare it with values in the received CRC field. If the two CRC
values are different, it indicates that there is transmission error received.
In CRC checking mode, it saves in 0xFFFF first, then uses a procedure and
processes the continuous 6 more than bytes in frames together with current register.
Only the 8-bit data in every character is available to CRC, the start bit, end bit and
parity checking are all unavailable to it.
In CRC production course, every 8-bit character is different from the register content
separately or(XOR). The result moves to the direction of lowest effective bit. And the
highest bit is filled with 0. LSB is picked up to test. If LSB is 1, the register is different
from the preset value alone. If LSB is 0, no actions. The whole process must be
repeated 8 times. As the last bit (8th bit) is finished, the next 8-bit character is
different from the present value of register again. The final value in register is the
CRC value after all bytes in frame have been executed.
This calculation method of CRC adopts international standard CRC checking rule.
The user can refer to the CRC algorithm of relative standard when edit the CRC
algorithm to edit the real CRC calculation program which complies with the
requirements.
Here is a simple function of CRC algorithm for users' reference (using C language
programming).
Unsigned int crc_ cal_ value(unsigned char *data_ value, unsigned char data_ length)
{
int I;
unsigned int crc_ value=0xffff; while(data_ length--)
{
Crc_ value^=*data_ value++;
For(i=0;i<8;i++)
{
If(crc_value&0x0001)
Crc_ value=(crc_ value>>1)^0xa001;
Else
Crc_ value=crc_ value>>1;
}
}
Return(crc_ value);s
}
In ladder logic, CKSM calculates CRC value according to frame content with table
look-up method. This program is simple and fast calculation, but occupies larger ROM
space. So please use it carefully for occasions with requirement to program space.
91
K. ASCII analog Checking (LRC check)
Checking code (LRC check) is the summation from address to data content result.
For example, the checking code of above 1.6.2 communication information:
0x02+0x06+0x00+0x08+0x13+0x88=0xAB, then select=0x58 of supplement code of
2.
Here provides a simple function of LRC calculation summation for users' reference
(using C language programming).
92
Function Address R/W
Description of data meaning characteristic
description definition
0001H:Forward running
0002H:Reverse running
0003H:forward jog
Communication 0004H:Reverse jog
1000H W/R
control command 0005H:Stop
0006H:Coast to stop (emergency stop)
0007H:Fault reset
0008H:Jog stop
0001H:On forward operation
0002H:On reverse operation
Inverter status 1001H R
0003H:Inverter is standby
0004H:Fault out
Function setting of
analog terminal 2001H Reserved W/R
input
3000H Operation speed R
3001H Setting speed R
3002H Bus voltage R
3003H Output voltage R
3004H Output current R
3005H Operation rotating speed R
3006H Output power R
3007H Output torque R
3008H PID set value R
3009H PID feedback value R
93
Function Address
Description of data meaning R/W characteristic
description meaning
Address description 3014H Reserved R
of start/stop 3015H Reserved R
parameters 3016H Reserved R
Fault information code coincides with number of
5000H fault type in function code menu. But the data here
Inverter fault address R
returned to the host is in hexadecimal system and
not fault character.
Note: Data read from 5000H compares with the actual fault as shown in the table below.
94
Parameters read from inverter are all expressed in hexadecimal system. All values = actual
value*10K, of which K is the bit number after decimal point of parameter.
95
12-00 Local communication address Factory setting 1
Setting range 0~247, Broadcast address 0.
When host is in the course ofediting frame, when the assistant communication address is
set as 0, which is used as broadcast communication address. all assistants on ModBus bus
will receive this frame, but not to response. Note: the assistant address can't be set as 0.
Local communication address is unique in communication network, which is the basis to
realize the point-to-point communication of host computer and inverter.
The host computer must coincide with the data format set by inverter, or communication
can't be operated.
96
12-03 Communication response delay Factory setting 5
Setting range 0~200ms[ms]
Communication response delay refers to the interval time from end of inverter data receiving
to sending response data to host computer. If the response delay time is shorter than
system processing time, the response delay is subject to system processing time. If the
response delay time is longer than system processing time, the system has to delay after
processing the data. And send data to the host computer until the delay time is reached.
When the inverter communication is abnormal, it is available to set the process action of
communication error to shield CE fault, stop or continue to operate.
97
12-15 Current auxiliary level for Brake valve Factory setting 20.0%
Setting range Percentage of motor rated current
The brake current level is the percentage of the motor rated current.
For more detail, please refer to parameter 09-16.
When Bus DC voltage is down to the low voltage underclocking level [12-21], the output
frequency will adjust to the frequency value that the power automatically keeps, frequency
decline time rate is the low voltage underclocking time [12-22].
Low voltage underclocking coefficient [12-23] can adjust the frequency value that the power
keeps. The value is smaller, the bigger is the adjustment.
Note:When low voltage underclocking time is o, this function is disabled.
Low voltage level:380.0v + 12-24, the low voltage control range is 320.0v~440.0v.
98