12.EXAMPLE OF RS-485 COMMUNICA TION APPLICATION .............................................25
1/30
7300PAModbus
Application Manual
1.Introduction
This manual describes freature of PA-M communication card and the communication
methods between TECO frequency inverter 7300PA and host controllers (PC, PLC…)
using PA-M.
2.Specification
Part No.4H300D2950006
Serial InterfaceRS-422/RS-485
Maximum Connection32 MODBUS (RTU mode) salve standard
Baud Rate2400/4800/9600/19200 (BPS)
Data Bit8 Bit
ParityNo Parity/Odd Parity /Even Parity
Stop Bit1 Bit (Odd Parity, Even Parity)/2 Bit (No Parity)
Communication Status2 LED Indication
Mechanical Size64mm x 87mm
2/30
7300PAModbus
Application Manual
3. Wiring Diagram
(1) RS-485 interface (Set JP1 to "RS-485")
7300 PA
2CN
IM
(2) RS-422 interface (Set JP1 to "RS-422")
7300 PA
2CN
IM
PA-M
JP1
CN1
PA-M
JP1
CN1
RS-485
220
RS-422
220
220
SW1-1
Ω
SW1-1
Ω
SW1-2
Ω
1 (S+)
2 (S
E
1(TX+)
2(TX
E
1(RX+)
2(RX
E
TB1
)
)
-
)
-
P
Twist Pair Cable
TB1
P
TB2
P
Twist Pair Cable
Host Link
Host Link
4. Installation
(1) Turn off the inverter.
(2) Insert attached 2 locking
supports into the 7300PA
control board.
(3) Mount the PA-M commu-
nication interface to the
control board, with the holes
in the right side aligned to
the locking supports, and
the connector CN1 aligned
to 2CN of control board.
CN1 in PA-M
2CN in control
board
Locking
Support
3/30
7300PAModbus
RS-48
Application Manual
5. Description of Terminal, LED, DIP Switch and Jumper
(6) Source of Run/Stop command and Frequency reference
---
Sn-08=
=
=
=
(Default =
*1The change will be effective in the next start time after turning off the inverter.
0Frequency reference is from RS-485.
---
1Frequency reference is from Operator or Terminal.
--0-
--1-
Run/Stop command is from RS-485.
Run/Stop command is from Operator or Terminal.
--
11)
---
0)
5/30
7300PAModbus
Application Manual
7.Connecting inverter with host controller
(1) Operation procedure
A. Turn on the inverter, set the related parameters and turn off the inverter.
B. Turn on the inverter again.
C. Connect inverter and host controller.
D. Host controller sends communication message.
(2) Communication status indication of inverter
While Run/Stop command and/or Frequency reference is from RS-485 (Sn-08), and the
inverter does not receive any message from host controller after power on 1 seconds,
the inverter will display "Call" and flash. This message will disappear while inverter has
received messages from host controller.
While Run/Stop command and/or Frequency reference is from RS-485 (Sn-08), the
time-out detection is enabled (Cn-31 <> 0) and the inverter does not receive any
message from host controller in time specified by Cn-31, the inverter will display
"CPF21".
While Run/Stop command and/or Frequency reference is from RS-485 (Sn-08), the
inverter receives any message with incorrect communication format. (Baud rate, parity,
data bit and stop bit) the inverter will display "CPF22".
Bit 2, 3 of parameter Sn-08 will decide the display format and operation of “CPF21",
“CPF22".
= 11
--
--
--
--
Decelerating to stop by Bn-02 (fault “CPF21”/“CPF22” light up)
Coasting to stop (fault “CPF21”/“CPF22” light up)
Decelerating to stop by Bn-04 (fault “CPF21”/“CPF22” light up)
Continuous operation (alarm “CPF21"/"CPF22" flash)
Sn-08= 00
= 01
= 10
6/30
7300PAModbus
Application Manual
8.Protocol Format
(1) A message of MODBUS RTU mode contains 4 parts: slave address, function code,
data and CRC-16 character. The interval between two messages needs 3.5
characters transferring time.
T1 T2 T3 T4
T1~T4 : 3.5 Characters transferring time at least
(2) Following is the data bit format for MODBUS RTU mode. (LSB will be sent first)
Even/Odd Parity Start12345678Parity Stop
No Parity Start12345678Stop Stop
(3) Slave Address
Parameter Sn-23 can set the node address of each inverter (1~31). Every slave stand
can receive the message sent from host controller. Only the corresponding one returns
the message to master.
If the slave address of receiving message is 0, all slave stands will execute this
Slave
Address
LSB
Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8Bit9
Function
Code
Data
Character
CRC-16
Character
T1 T2 T3 T4
MSB
Bit10
command and do not return the message to master. This message can only use for
Register 0001H and 0002H.
(4) Function Code
CodeFunctionNote
03HRead Data of Holding Register------------------06HWrite Data to Single Registerthe Slave Address can be 0
08HLoop Test------------------10HWrite Data to Holding Registerthe Slave Address can be 0
(5) Data Characters
Detail descriptions will be discussed in "Message Format" section (p.9-12) because it
depends on the function code.
7/30
7300PAModbus
Application Manual
(6) CRC-16 data
CRC-16 Generation Procedure.
A. Load a 16-bit register with FFFFH. Call this the CRC register.
B. Exclusive OR the first 8-bit byte of the message with the low order byte of the 16-bit
CRC registers, putting the result in the CRC register.
C. Shift the CRC register one bit to the right (toward the LSB), zero filling the MSB.
Extract and examine the LSB.
D.If LSB is 0, repeat procedure C (another shift).
If LSB is 1, Exclusive OR the CRC register with the polynomial value A001H.
E. Repeat procedure C, D until eight shifts has been performed.
While this is done, a complete byte will have been processed.
F. Repeat procedure B-E to the following byte of the message until all bytes of the
message is processed.
Now, the value of CRC register is the CRC-16 data.
G. When the CRC is placed into the message, it upper and lower bytes must be
swapped.
(7) Inverter return messages
A. Please refer to the “Message Format” in next page about inverter returning
messages for more detail descriptions.
B. It needs 5ms to return messages after inverter had received normal message from
host controller.
C. In next two cases, inverter does not return any message :
(a) There is any error detected in received data message (parity error, framing error,
overrun error or CRC-16 error).
(b) Slave Address character is different to parameter Sn-36 (Inverter Slave No.).
8/30
7300PAModbus
Application Manual
9.Message Format
7300PA supports 4 MODBUS Function codes only.
Table 1 Message Length
Host QueryInverter Return
Function
Code
Function
Byte
(Min.)
Byte
(Max.)
Byte
(Min.)
Byte
(Max.)
Data Read03HRead Data from Holding Register88737
Data Write06HWrite Data to Single Holding Register8888
Loop Test08HLoop Test8888
Data Write10HWrite Data to Holding Register114188
(1) Read Command : Read data of Holding Register
Host Query
Slave Address01H
Function Code03H
Head Address
(*1)
Access Count
(*2)
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Low ByteD5H
Inverter Return (Normal)
Slave Address01H
Function Code03H
Data Byte Count02H
Data Value
High Byte00H
Low Byte00H
CRC-16
Low ByteB8H
High Byte44H
High ByteCAH
Inverter Return (Error Detected)
Slave Address01H
80H + Function Code83H
Error Code (*3)03H
CRC-16
Low Byte01H
High Byte31H
*1 Refer to p.13-23 to see the holding register tag list.
*2 Host controller can read 16 registers at most in each transferring message.
*3 Refer to p.24 to see the error code.
9/30
7300PAModbus
Application Manual
(2) Write Command : Write Data to Single Holding Register
Host Query
Slave Address (*1)01H
Function Code06H
Address (*2)
Data Value
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Low Byte19H
High ByteCAH
Inverter Return (Normal)
Slave Address01H
Function Code06H
Address
Data Value
CRC-16
Inverter Return (Error Detected)
Slave Address01H
80H + Function Code86H
Error Code (*3)01H
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Low Byte19H
High ByteCAH
Low Byte83H
High ByteA0H
*1 If slave address is 0 (valid for address 0001H and 0002H only), all slave inverters
will execute this command but do not return message to master.
*2 Refer to p.13-23 to see the holding register tag list.
*3 Refer to p.24 to see the error code.
•Parameters modified will not be saved to EEPROM Automatically. We can save
parameters to EEPROM by writing data to address 0900H.
10/30
7300PAModbus
Application Manual
(3) Loop Test Command (test inverter communication status)
Host Query
Slave Address
Function Code
Test Code
Test Data (*1)
CRC-16
*1 The test data is arbitrary.
High Byte
Low Byte00H
High Byte
Low Byte55H
Low Byte
High Byte94H
01H
08H
00H
AAH
5EH
Inverter Return (Normal)
Slave Address
Function Code
Test Code
Test Data
CRC-16
Inverter Return (Error Detected)
Slave Address
80H + Function Code
Error Code (*2)
CRC-16
High Byte
Low Byte
High Byte
Low Byte
Low Byte
High Byte94H
Low Byte
High ByteC0H
01H
08H
00H
00H
AAH
55H
5EH
01H
88H
01H
87H
*2 Refer to p.24 to see the error code.
11/30
7300PAModbus
Application Manual
(4) Write Holding Register Command (*4)
Host Query
Slave Address (*1)01H
Function Code10H
Head address
(*2)
Access Count
(*3)
Data Byte Count (*4)02H
Data Value
CRC-16
*1 If the slave address of host query message is 0, all slave inverters will execute this
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Low Byte67H
High Byte41H
Inverter Return (Normal)
Slave Address01H
Function Code10H
Head address
Access Count
(*1)
CRC-16
Inverter Return (Error Detected)
Slave Address01H
80H+Function Code90H
Error Code (*5)03H
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Low Byte50H
High Byte09H
Low Byte0CH
High Byte01H
command but do not return message to master.
*2 Refer to p.13-23 to see the holding register tag list.
*3 Host controller can write 16 registers at most in each transferring message.
*4 Data Byte Count = 2 * Access Count.
*5 Refer to p.24 to see the error code.
•Parameters modified will not be saved to EEPROM Automatically. We can save
parameters to EEPROM by writing data to address 0900H.
12/30
7300PAModbus
Application Manual
10. Holding Register Tag List
(1) Control Data Register (Read / Write)
0310H784On-17Motor phase to phase resistance0.001Ω
0311H785On-18Torque Compensation of care loss1W
0312H786On-19Torque Compensation limit1V
0313H787On-20Motor Constant R10.001Ω*1
0314H788On-21Motor Constant R20.001Ω*1
0315H789On-22Motor Constant L0.001mH*1
0316H790On-23Motor Constant Rm0.001mΩ/ω*1
0317H791On-24Motor Constant Lm0.01mH*1
-
-
-
-
-
-
-
-
-
-
-
-
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Notes
22/30
7300PAModbus
Application Manual
AddressParameter
HEXDECNo.DescriptionUnit
Frequency Command An
0400H1024An-01Frequency Command 10.01Hz*2
0401H1025An-02Frequency Command 20.01Hz*2
0402H1026An-03Frequency Command 30.01Hz*2
0403H1027An-04Frequency Command 40.01Hz*2
0404H1028An-05Frequency Command 50.01Hz*2
0405H1029An-06Frequency Command 60.01Hz*2
0406H1030An-07Frequency Command 70.01Hz*2
0407H1031An-08Frequency Command 80.01Hz*2
0408H1032An-09Jog Frequency Command0.01Hz*2
Parameters Groups Can Be Changed during Running Bn
0500H1280Bn-01Acceleration Time 10.1s*2
0501H1281Bn-02Deceleration Time 10.1s*2
0502H1282Bn-03Acceleration Time 20.1s*2
0503H1283Bn-04Deceleration Time 20.1s*2
0504H1284Bn-05Analog Frequency Cmd. Gain0.10%*2
0505H1285Bn-06Analog Frequency Cmd. Bias0.10%*2
0506H1286Bn-07Auto torque Boost Gain0.1*2
0507H1287Bn-08Multi-Function Analog Output A01 Bias0%*2
0508H1288Bn-09Multi-Function Analog Output A02 Bias0.10%*2
0509H1289Bn-10Monitor No. After power ON
050AH1290Bn-11Multi-Function Analog Output A01 Gain1%*2
050BH1291Bn-12Multi-Function Analog Output A02 Gain0.01*2
050CH1292Bn-13PID Detection Gain0.01*2
050DH1293Bn-14PID Proportional Gain10%*2
050EH1294Bn-15PID Integral Gain0.1s*2
050FH1295Bn-16PID Differential Time0.01s*2
0510H1296Bn-17PID Bias1%*2
0511H1297Bn-18PID sleep Frequency0.01Hz*2
0512H1298Bn-19PID sleep/Wake-up Delay Time0.1s*2
0513H1299Bn-20PID Wake Up Frequency0.01Hz*2
0514H1300Bn-21PID Detected Value Display Bias0.001*2
0515H1301Bn-22PID Detected Value Display Gain0.001*2
*1 These parameters can not be saved to EEPROM.
*2 These parameters can be written in DRV mode or PRG mode.
*3 Writing data 0000H to this address in PRG mode can save parameter (except On-20 - 24) to
EEPROM.
•All parameters can be read in PRG mode or DRV mode, and parameters without note *1 can
be written in PRG mode only.
23/30
7300PAModbus
Application Manual
11. Error Code
CodeDescriptionPossible Cause
00HCRC Code ErrorCRC Word (High or Low Byte) Error
01HFunction Code ErrorFunction code is not 03H, 06H, 08H or 10H.
02HRegister Address Error
03HAccess Count Error
21HRegister Write Error
22HData Value ErrorData value is out of range in writing message.
Not ResponseUART ErrorParity, Overrun, Frame error.
Not ResponseData Format Error
Register address is not in the range that can be
accessed.
The Access Count is more than 16.
"Access Count" in writing command (10H) does
not match the amount of actual data.
Write Cn ,Sn or On parameter during DRIVE
mode
Data string is not correct. (Incomplete Message,
"Data Byte Count" in writing command (10H)
does not match the amount of actual data.)
24/30
7300PAModbus
Application Manual
12. Example of RS-485 Communication Application
Host Controller can control the inverter 7300PA via RS-485 serial communication and let the
inverter operating as following
Output
Frequency (Hz)
60
30
FWD
-30
REV
Digital Output
DO1-DCOM
ON
OFF
Digital Output
R1A-R1C
Step 1
ON
OFF
Step 2Step 3Step 4
(1) Run 7300PA forward with 60Hz. Set DO1-DCOM.
(2) Run 7300PA forward with 30Hz. Clear DO1-DCOM. Set R1A-R1C.
(3) Run 7300PA reverse with 30Hz. Set R1A-R1C.
(4) Stop 7300PA. Set R1A-R1C.
(2) Turn off the inverter and turn it on again (For Sn-23 and Sn-24 are modified). and
program host controller to operate in step 1-4 and desired operation can be done by
inverter.
26/30
7300PAModbus
Application Manual
Step 1 : Run 7300PA forward with 60Hz. Set DO1-DCOM.
Host Query
Slave Address01H
Function Code10H
Head Address
Access Count
High Byte00H
Low Byte01H
High Byte00H
Low Byte09H
Data Byte Count12H
Data Value 1
Data Value 2
Data Value 3
Data Value 4
Data Value 5
Data Value 6
Data Value 7
Data Value 8
Data Value 9
CRC-16
High Byte00H
Low Byte01H
High Byte17H
Low Byte70H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte02H
Low ByteB1H
High Byte2BH
Inverter Return
Slave Address01H
Function Code10H
Head Address
Access Count
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte09H
Low Byte51H
High ByteCFH
Data Value 1 of Address 0001H = 0001H : Run 7300PA Forward.
Data Value 2 of Address 0002H = 1770H : Speed Reference 60.00Hz.
Data Value 9 of Address 0009H = 0002H : Set DO1-DCOM.
• When Inverter received this message , it will start, accelerate to 60Hz in forward direction
and set digital output terminal DO1-DCOM.
27/30
7300PAModbus
Application Manual
Step 2 : Run 7300PA forward with 50% Speed. Clear DO1-DCOM. Set RA-RB-RC.
Host Query
Slave Address01H
Function Code10H
Head Address
Access Count
High Byte00H
Low Byte01H
High Byte00H
Low Byte09H
Data Byte Count12H
Data Value 1
Data Value 2
Data Value 3
Data Value 4
Data Value 5
Data Value 6
Data Value 7
Data Value 8
Data Value 9
CRC-16
High Byte00H
Low Byte01H
High Byte0BH
Low ByteB8H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte04H
Low ByteF1H
High ByteB6H
Inverter Return
Slave Address01H
Function Code10H
Head Address
Access Count
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte09H
Low Byte51H
High ByteCFH
Data Value 1 of Address 0001H = 0001H : Run 7300PA Forward.
Data Value 2 of Address 0002H = 0BB8H : Speed Reference 30.00Hz.
Data Value 9 of Address 0009H = 0004H : Set R1A-R1C. Clear DO1-DCOM.
• When Inverter received this message, it will decelerate to 30.00Hz in forward direction,
clear the digital output terminal DO1-DCOM and set the digital output R1A-R1C.
28/30
7300PAModbus
Application Manual
Step 3 : Run 7300PA reverse with 50% Speed. Set RA-RB-RC.
Host Query
Slave Address01H
Function Code10H
Head Address
Access Count
High Byte00H
Low Byte01H
High Byte00H
Low Byte09H
Data Byte Count12H
Data Value 1
Data Value 2
Data Value 3
Data Value 4
Data Value 5
Data Value 6
Data Value 7
Data Value 8
Data Value 9
CRC-16
High Byte00H
Low Byte03H
High Byte0BH
Low ByteB8H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte00H
High Byte00H
Low Byte04H
Low Byte50H
High ByteD6H
Inverter Return
Slave Address01H
Function Code10H
Head Address
Access Count
CRC-16
High Byte00H
Low Byte01H
High Byte00H
Low Byte09H
Low Byte51H
High ByteCFH
Data Value 1 of Address 0001 = 0003H : Run 7300PA Reverse.
Data Value 2 of Address 0002 = 0BB8H : Speed Reference 30.00Hz
Data Value 9 of Address 0009 = 0004H : Set R1A-R1C.
• When Inverter received this message, it will run at 30.00 Hz in reverse direction, clear
the digital output terminal DO1-DCOM and set the digital output R1A-R1C.
29/30
7300PAModbus
Application Manual
Step 4 : Stop 7300PA. Set R1A-R1C.
Host Query
Slave Address01H
Function Code10H
Head Address
Access Count
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Data Byte Count02H
Data Value 1
CRC-16
High Byte00H
Low Byte00H
Low ByteA7H
High Byte81H
Head Address
Access Count
CRC-16
Inverter Return
Slave Address01H
Function Code10H
High Byte00H
Low Byte01H
High Byte00H
Low Byte01H
Low Byte50H
High Byte09H
Data Value1 of Address 0000H = 0000H : Stop 7300PA.
• When inverter received this message, it will stop and decelerate to zero speed, digital
output terminal DO1-DCOM and R1A-R1C do not change their status.
30/30
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.