Modbus Communications Reference Guide: SCF Series Drives
Modbus Communications Reference Guide: SCF Series Drives
Modbus Communications Reference Guide: SCF Series Drives
This documentation applies to the use of an SCF Series Variable Frequency Drive in a Modbus Network and should
be used in conjunction with the SCF Series Installation and Operation Manual (Document SF01) that shipped with
the drive. These documents should be read in their entirety as they contain important technical data and describe
the installation and operation of the drive.
1 Safety Information..............................................................................................................1
1.1 Warnings, Cautions and Notes...............................................................................1
1.1.1 General.....................................................................................................1
1.1.2 Application................................................................................................1
1.1.3 Installation................................................................................................1
1.1.4 Electrical Connection.................................................................................2
1.1.5 Operation..................................................................................................2
1.2 Reference and Links..............................................................................................2
2 Introduction........................................................................................................................3
2.1 Modbus Details......................................................................................................3
2.2 Universal Registers................................................................................................4
3 Data Representation - Internal and External........................................................................5
3.1 Register Format.....................................................................................................5
3.2 Data Types............................................................................................................5
3.3 AC Tech Drive Registers........................................................................................5
4 SCF Drive Setup & Operation..............................................................................................6
4.1 Serial Address.......................................................................................................6
4.2 Serial Communications Parameter.........................................................................6
4.3 Control Parameter..................................................................................................6
4.4 Unlocking & Locking Controls................................................................................7
4.5 Unlocking & Locking Programming Parameters only..............................................7
4.6 Watchdog Timer....................................................................................................8
4.7 Monitoring Only Operation.....................................................................................8
4.8 Normal Control Operation Sequence......................................................................8
4.9 Start/Stop, Speed Control and Parameter Change Operation..................................9
i RG-SFMOD
RG-SFMOD ii
1 Safety Information
1.1 Warnings, Cautions and Notes
1.1.1 General
Some parts of Lenze controllers (frequency inverters, servo inverters, DC controllers) can be live, moving
and rotating. Some surfaces can be hot.
Non-authorized removal of the required cover, inappropriate use, and incorrect installation or operation
creates the risk of severe injury to personnel or damage to equipment.
All operations concerning transport, installation, and commissioning as well as maintenance must be
carried out by qualified, skilled personnel (IEC 364 and CENELEC HD 384 or DIN VDE 0100 and IEC report
664 or DIN VDE0110 and national regulations for the prevention of accidents must be observed).
According to this basic safety information, qualified skilled personnel are persons who are familiar with
the installation, assembly, commissioning, and operation of the product and who have the qualifications
necessary for their occupation.
1.1.2 Application
Drive controllers are components designed for installation in electrical systems or machinery. They are
not to be used as appliances. They are intended exclusively for professional and commercial purposes
according to EN 61000-3-2. The documentation includes information on compliance with EN 61000-3-2.
When installing the drive controllers in machines, commissioning (i.e. the starting of operation as directed)
is prohibited until it is proven that the machine complies with the regulations of the EC Directive 98/37/EC
(Machinery Directive); EN 60204 must be observed.
Commissioning (i.e. starting drive as directed) is only allowed when there is compliance to the EMC
Directive (2004/108/EC).
The drive controllers meet the requirements of the Low Voltage Directive 2006/95/EC. The harmonised
standards of the series EN 50178/DIN VDE 0160 apply to the controllers.
The availability of controllers is restricted according to EN 61800-3. These products can cause
radio interference in residential areas. In the case of radio interference, special measures may be
necessary for drive controllers.
1.1.3 Installation
Ensure proper handling and avoid excessive mechanical stress. Do not bend any components and do not
change any insulation distances during transport or handling. Do not touch any electronic components
and contacts. Controllers contain electrostatically sensitive components, which can easily be damaged by
inappropriate handling. Do not damage or destroy any electrical components since this might endanger
your health! When installing the drive ensure optimal airflow by observing all clearance distances in the
drive's user manual. Do not expose the drive to excessive: vibration, temperature, humidity, sunlight, dust,
pollutants, corrosive chemicals or other hazardous environments.
1 RG-SFMOD
2 Introduction
This document defines the specifics required for Modbus serial communication with a Lenze-AC Tech
standard SCF Series drives for control, status monitoring, and programming parameters. A familiarity
with normal drive capabilities and operations is assumed. If this is not the case, refer to the SCF Series
Installation and Operation manual (SF01) for more information.
DATA
Start bit 1 2 3 4 5 6 7 8 Stop bit Stop bit
B. At this time the AC Tech drives do not support the broadcast function of the protocol.
C. IMPORTANT NOTE: Modbus 3X and 4X Registers are numbered starting at 1. However, when
transmitted to a slave over the serial link, the actual address transmitted is one less. This is because
the addresses are numbered starting from 0. AC Tech register numbers are also numbered starting
from 0. Therefore, AC Tech register numbers always correspond exactly with the address transmitted.
As a result, MODBUS REGISTER NUMBERS ARE ALWAYS ONE GREATER THAN AC TECH REGISTER
NUMBERS. WHENEVER THE WORDS “REGISTER #xx” APPEAR, IT SHOULD BE ASSUMED THAT THEY
MEAN “AC TECH REGISTER xx” and the Modbus Register number will be one larger. In some instances
we may show both for clarity. For example: “Register #24 (Modbus Register #25) . . .”
D. The function codes supported by AC Tech drives are:
03 Read Holding Registers (4X references). In general we can read only one register at a time. However,
there are a few limited exceptions.
Exception One:
Register #24 (Modbus Register #25) Drive Status, can also be read as a group of 6 words.
Exception Two:
AC Tech uses a method of reading a group of related registers that may not be consecutive within
the drive memory map. When this is done for the registers below, the response from the drive will
be for the number of words requested but will not be with consecutive registers.
Register #100 (Modbus Register #101), Fault history, should be read as a group of 4 words.
Register #101 (Modbus Register #102), Software version, should be read as a group of 4 words.
04 Read Input Registers (3X references). As with function 03, we read one register at a time except
where noted.
3 RG-SFMOD
RG-SFMOD 4
Explanation of Terms:
• DISABLED serial link not operational
• WITH TIMER serial link allows reading & writing of both control & programming parameters.
Watchdog timer is enabled (refer to section 4.6, Watchdog Timer).
• WITHOUT TIMER serial link allows reading & writing of both control & programming parameters.
Watchdog timer is disabled (refer to section 4.6, Watchdog Timer).
The Serial Communications Parameter must be appropriately programmed prior to attempting to
communicate with the drive.
RG-SFMOD 6
7 RG-SFMOD
RG-SFMOD 8
4. If the Watchdog Timer is enabled, keep it from timing out by ensuring that repeated reads of drive
status (Register #24 – 6 registers) are performed at reasonable intervals (typically less than 5 seconds
between reads because the Watchdog typically faults at 10 seconds).
5. Lock Control when drive operations are complete by writing a 2 to Register #1 (assert bit 1 of Register
#1).
6. Drive is now returned to TERMINAL mode (control from the drive’s terminal).
9 RG-SFMOD
[NOTE]
R/W/RS
REGISTER NAME MESSAGE MIN MAX UNITS or
Section
W SA 06 00 01 DH DL CRC
1 (01) Drive Control Refer to Section 5.2 [1]
RS SA 06 00 01 DH DL CRC
R SA 03 00 13 00 01 CRC
19 (13) Drive Family Refer to Section 5.2 [2]
RS SA 03 02 00 42 CRC
R SA 03 00 15 00 01 CRC
21 (15) Drive Size Refer to Section 5.2 [3]
RS SA 03 02 00 00 CRC
R SA 03 00 16 00 01 CRC
22 (16) Drive H/W Refer to Section 5.3
RS SA 03 02 DH DL CRC
R SA 03 00 18 00 06 CRC
Drive Status
RS SA 03 0C D1H D1L D2H D2L
24 (18) (6 register read) Refer to Section 5.4
D3H D3L D4H D4L
(reg. #24 to 29)
D5H D5L D6H D6L CRC
R SA 03 00 18 00 01 CRC
24 (18) Command Speed 0 2400 0.1 Hz [4a]
RS SA 03 02 DH DL CRC
R SA 03 00 19 00 01 CRC
25 (19) Actual Speed 0 2400 0.1 Hz [4b]
RS SA 03 02 DH DL CRC
Load (DH) / R SA 03 00 1A 00 01 CRC
26 (1A) Refer to Section 5.4.2 [4c]
Status (DL) RS SA 03 02 DH DL CRC
Actual Rot. Direction (DH)/ R SA 03 00 1B 00 01 CRC
27 (1B) Refer to Section 5.4.3/4
Control Mode (DL) RS SA 03 02 DH DL CRC
Speed Source (DH)/ R SA 03 00 1C 00 01 CRC
28 (1C) Refer to Section 5.4.5/6
Auto/Manual (DL) RS SA 03 02 DH DL CRC
Fault (DH)/ R SA 03 00 1D 00 01 CRC
29 (1D) Refer to Section 5.4.7/8 [4d]
Commanded Direction (DL) RS SA 03 02 DH DL CRC
R SA 03 00 1E 00 01 CRC
30 (1E) Motor Voltage 0 250 1% 5.5
RS SA 03 02 DH DL CRC
R SA 03 00 28 00 01 CRC
RS SA 03 02 DH DL CRC
40 (28) Keypad Speed Command 0 2400 0.1 Hz 5.6
W SA 06 00 28 DH DL CRC
RS SA 06 00 28 DH DL CRC
W SA 06 00 30 DH DL CRC
48 (30) Unlock Commands 0 9999 None 5.7
RS SA 06 00 30 DH DL CRC
W SA 06 00 31 DH DL CRC
49 (31) Unlock Parameters 0 9999 None 5.8
RS SA 06 00 31 DH DL CRC
R SA 03 00 32 00 01 CRC
50 (32) Register Version 0 65535 None 5.9
RS SA 03 02 DH DL CRC
RG-SFMOD 10
5.1 Abbreviations
Table 6 lists the abbreviations used in Table 5 SCF Drive Control Registers:
Table 6: Abbreviations
Abbreviation Description
R Read
W Write
RS Response
SA Slave Address (typically 01 through F7 hex)
CRC Cyclic Redundancy Check High + Low bytes
DH Data High byte
DL Data Low byte
B Byte
ACT# AC Tech Register # (Modbus Register numbers are 1 larger)
0 UPDATE BUFFERS
1 LOCK SECURITY
2 STOP DRIVE
Data Low Byte
3 START DRIVE
4 UNUSED
5 UNUSED
6 SET REVERSE
7 SET FORWARD
8 AUTO MODE
9 MANUAL MODE
Data High Byte
10
11
12
13
14
15
The appropriate bit is set to 1. For example, to stop the drive bit two is set (send 0004H). To start the drive
send 0008H. Setting update buffers bit, enables to start the drive using downloaded data. Locking security
disables the serial drive control, the communications watchdog timer and prevents any further writing to
control or parameter registers.
11 RG-SFMOD
Bit 3 = 1: the USER data on the EPM is compatible only. The data on the EPM is valid and usable by
the drive but the parameter version of the data does not match the parameter version that the drive is
currently using. Therefore the user will not be able to edit any of the data on the EPM until they perform a
TRANSLATE with P48.
RG-SFMOD 12
13 RG-SFMOD
Setting Parameter
0 FAULT LOCKOUT
1 FAULT
2 START PENDING
3 STOP
4 DC BRAKE
5 RUN AT 0Hz
6 RUN
7 ACCEL
8 DECEL
9 CURRENT LIMIT
10 DECEL OVERRIDE
11 LOWER TRANSISTORS SWITCHING ON
Setting Direction
0 FORWARD
1 REVERSE
RG-SFMOD 14
Setting Source
0 KEYPAD
1 0 – 10VDC
2 4 – 20MA
3 PRESET 1
4 PRESET 2
5 PRESET 3
6 PRESET 4
7 PRESET 5
8 PRESET 6
9 PRESET 7
10 JOG
11 MOP
Setting Control
0 AUTO
1 MANUAL
15 RG-SFMOD
RG-SFMOD 16
17 RG-SFMOD
RG-SFMOD 18
Parameter 1
Register Modbus value (decimal value)
Number
(hexadecimal
representation)
51 (33H) 1 Line Voltage 01 - High 01 - High
02 - Low
52 (34H) 2 Carrier Frequency 01 - 4 kHz 02 - 6 kHz
02 - 6 kHz
03 - 8 kHz
04 - 10 kHz
53 (35H) 3 Start Method 01 - Normal 01 - Normal
02 - Start on Power-up
03 - Start w/DC Brake
04 - Auto Restart w/DC Brake
05 - Flying Restart 1
06 - Flying Restart 2
07 - Flying Restart 3
54 (36H) 4 Stop Method 01 - Coast 01 - Coast
02 - Coast with DC Brake
03 - Ramp
04 - Ramp with DC Brake
55 (37H) 5 Speed Source 01 - Keypad 01 - Keypad
02 - Preset #1
03 - 0-10 VDC
04 - 4-20 mA
56 (38H) 6 TB-14 OC Output 01 - None 01 - None
02 - Run
03 - Fault
04 - Inverse Fault
05 - Fault Lockout
06 - At Set Speed
07 - Above Preset #3
08 - Current Limit
09 - Auto Speed (speed source via terminal strip)
10 - Reverse (rotation direction indication)
7 Not Used
58 (3AH) 8 TB-30 Analog Output 01 - None 01 - None
02 - 0-10 VDC Freq
03 - 2-10 VDC Freq
04 - 0-10 VDC %Load
05 - 2-10 VDC %Load
59 (3BH) 9 TB-31 Analog Output 01 - None 01 - None
02 - 0-10 VDC Load
03 - 2-10 VDC Load
04 - Dynamic Braking
1
= Drive's programming parameter number
19 RG-SFMOD
Parameter 1
Register Modbus value (decimal value)
Number
(hexadecimal
representation)
60 (3CH) 10 TB-13A Input 01 - None 01 - None
02 - 0-10 VDC
03 - 4-20 mA
04 - Preset Speed #1
05 - Run Reverse
06 - Start Reverse
07 - External Fault
08 - Remote Keypad Control
09 - Dynamic Brake Fault
10 - Ramp To Stop
11 - Accel / Decel #2
61 (3DH) 11 TB-13B Input 01 - None 01 - None
02 - 0-10 VDC
03 - 4-20 mA
04 - Preset Speed #2
05 - Decrease Freq (MOP)
06 - Jog Forward
07 - Jog Reverse
08 - Ramp to Stop
62 (3EH) 12 TB-13C Input 01 - None 01 - None
02 - 0-10 VDC
03 - 4-20 mA
04 - Preset Speed #3
05 - Inc Freq (MOP)
06 - External Fault
07 - Remote Keypad Control
08 - Dynamic Brake Fault
09 - Accel / Decel #2
63 (3FH) 13 TB-15 OC Output 01 - None 01 - None
02 - Run
03 - Fault
04 - Inverse Fault
05 - Fault Lockout
06 - At Set Speed
07 - Above Preset #3
08 - Current Limit
09 - Auto Speed (speed source via terminal strip)
10 - Reverse (rotation direction indication)
64 (40H) 14 Control 01 - Terminal Strip Only 01 - Terminal Strip
02 - Remote Keypad Only
03 - Selectable at Terminal
1
= Drive's programming parameter number
RG-SFMOD 20
Parameter 1
Register Modbus value (decimal value)
Number
(hexadecimal
representation)
65 (41H) 15 Serial Link 01 - Disable 02 - 9600, N, 2 w/ Timer
02 - 9600, 8, N, 2 with Timer
03 - 9600, 8, N, 2, without Timer
04 - 9600, 8, E, 1 with Timer
05 - 9600, 8, E, 1, without Timer
06 - 9600, 8, O, 1 with Timer
07 - 9600, 8, O, 1, without Timer
66 (42H) 16 Units Editing 01 - Tenths of Units 02 - Whole Units
02 - Whole Units
67 (43H) 17 Rotation 01 - Forward Only 01 - Forward Only
02 - Forward and Reverse
18 Not Used
69 (45H) 19 Acceleration Time 1 – 36000 (0.1 sec – 3600.0 sec) 200 (20.0 sec)
70 (46H) 20 Deceleration Time 1 – 36000 (0.1 sec – 3600.0 sec) 200 (20.0 sec)
71 (47H) 21 DC Brake Time 0 – 36000 (0.0 sec – 3600.0 sec) 0 (0.0 sec)
72 (48H) 22 DC Brake Voltage 0 – 300 (0.0 - 30.0% of nominal voltage) 0 (0.0%)
73 (49H) 23 Minimum Frequency 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
74 (4AH) 24 Maximum Frequency Minimum Frequency – 2400 (240.0 Hz) 600 (60.0 Hz)
75 (4BH) 25 Current Limit 300 - 1800 (30 – 180%) 1800 (180%)
76 (4CH) 26 Motor Overload 300 - 1000 (30 - 100%) 1000 (100%)
77 (4DH) 27 Base Frequency 250 - 5000 (25.0 - 500.0 Hz) 600 (60.0 Hz)
78 (4EH) 28 Fixed Boost 0 – 300 (0.0 - 30.0%) 10 (1.0%)
79 (4FH) 29 Accel Boost 0 – 200 (0.0 - 20.0%) 0 (0.0%)
80 (50H) 30 Slip Compensation 0 – 50 (0.0 - 5.0%) 0 (0.0%)
81 (51H) 31 Preset Speed #1 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
82 (52H) 32 Preset Speed #2 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
83 (53H) 33 Preset Speed #3 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
84 (54H) 34 Preset Speed #4 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
85 (55H) 35 Preset Speed #5 / 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
Skip Frequency #1
86 (56H) 36 Preset Speed #6 / 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
Skip Frequency #1
87 (57H) 37 Preset Speed #7 / 0 - Maximum Frequency (0.0 - 240.0 Hz) 0 (0.0 Hz)
Skip Frequency #2
88 (58H) 38 Skip Bandwidth 0 - 100 (0.0 - 10.0 Hz) 0 (0.0 Hz)
89 (59H) 39 Speed Scaling 0 – 65000 (0.0 - 6500.0) 0 (0.0)
90 (5AH) 40 Frequency Scaling 30 – 20000 (3.0 - 2000 Hz) 600 (60.0 Hz)
91 (5BH) 41 Load Scaling 100 - 2000 (10 - 200%) 2000 (200%)
1
= Drive's programming parameter number
21 RG-SFMOD
Parameter 1
Register Modbus value (decimal value)
Number
(hexadecimal
representation)
92 (5CH) 42 Accel / Decel #2 1 – 36000 (0.1 sec – 3600.0 sec) 200 (20.0 sec)
93 (5DH) 43 Serial Address 1 - 247 1
94 (5EH) 44 Password 000 - 999 225
45 Not Used
46 Not Used
97 (61H) 47 Clear History 01 - Maintain 01 - Maintain
02 - Clear
98 (62H) 48 Program Selection 01 - User Settings 04 - Reset 60
02 - OEM Settings
03 - Reset OEM
04 - Reset 60
05 - Reset 50
99 (63H) 49 Not Used
Diagnostic – Read Only Parameters! (50# - 60#)
100 (64H) 50 FAULT HISTORY Must Read 4 Words (Read Only) See Note [5]
101 (65H) 51 SOFTWARE VERSION Must Read 1 or 4 Words (Read Only) See Note [6]
102 (66H) 52 BUS VOLTAGE [%] 0-250 (MIN 0% MAX 250%) Read Only
103 (67H) 53 ACTUAL MOTOR 0-250 (MIN 0% MAX 250%) Read Only
VOLTAGE [%]
104 (68H) 54 MOTOR LOAD [%] 0-250 (MIN 0% MAX 250%) Read Only
105 (69H) 55 0-10VDC analog input 0-250 (MIN 0% MAX 250%) Read Only
[100% = 10VDC]
106 (6AH) 56 4-20mA analog input 0-250 (MIN 0% MAX 250%) Read Only
[100% = 20mA]
107 (6BH) 57 DIGITAL I/O SERIAL READ - DIGITAL I/O REPRESENTATION See Note [7]
108 (6CH) 58 DIGITAL I/O SERIAL READ - DIGITAL I/O REPRESENTATION See Note [7]
109 (6DH) 59 ANALOG OUTPUT TB30 0-250 (MIN 0% MAX 250%) Read Only
[100% = 10VDC]
110 (6EH) 60 ANALOG OUTPUT TB31 0-250 (MIN 0% MAX 250%) Read Only
[100% = 10VDC]
1
= Drive's programming parameter number
RG-SFMOD 22
23 RG-SFMOD
NOTE 7 - AC Tech Registers #107 & 108, Parameter 57 & 58 - Digital I/O
Refer to Tables 18 and 19 for the format of AC Tech Registers 107 & 108, Digital I/O.
Digital I/O
Table 18: Register #107 (P57) Table 19: Register #108 (P58)
0 PROTECTION (pin FAULT1) 0
1 PROTECTION (pin FAULT2) 1
2 PROTECTION (pin FAULT3) 2
Data Low Byte
RG-SFMOD 24
25 RG-SFMOD
RG-SFMOD 26
* This is the decimal equivalent value of the binary number of the bits in that byte.
27 RG-SFMOD
RG-SFMOD-e6