Introduction
This tutorial is intended as a supplement to the original manuals for the products. Therefore, use it to familiarise yourself with the product but not as a guide to complete installation. The information in the tutorial is taken from the manual (s):
I537-E2-01 Sysdrive PV
I537-E2-01 Sysdrive PV
Product Information
This is a separate suite (Modbus_Master ver 8.cxp) used to control the drives from a CPM2A, CPM2C, CQM1H, CJ or CS. Communication takes place in the Modbus serial, which uses a binary protocol. The PLC is the Master and the inverter is the Slave. The program can handle up to 8 drives on the CPM / CQM, and 15 converters in CJ1/CS1. The serial communication is 2 or 4-wire RS422/RS485. The program also takes 2.5kW memory (CPM2x, for example, a total of 4kW).
Use CPM2C with CPM2C-CIF11, for example, to connect the frequency converter directly. CJ1 and CS1 with CJ1W-CIF11 can also connect directly to the inverter.
The protocol reads and writes the following to the inverter's Holding Register:
Using the program
Setting the frequency converter
The following parameters must be set in the inverter:
br />RTS Control is used in 2-wire RS485 or when there is more than 1 slave.
Set n001 or A1-01 back to 1 after the configuration is done. Turn the power on the power adapter for it to be updated with the new settings.
Up Link
4-wire RS422
PLC RDA + (B) connects to the S + on all inverters
PLC RDA-(A) connects to the S- on all inverters
PLC SDA + (B) connects to the R + on all inverters
PLC SDA-(A) connects to R on all inverters
• If a CJ1W-CIF11 used set the switch to AT 1 (end resistance). The rest AV.
2-wire RS485
PLC SDA + (B) connects to the R + and S + on all inverters
PLC SDA-(A) connects to the R-and S- on all inverters
• If a CJ1W-CIF11 used, set the switch to 4 AV. The rest ON.
Use shielded cable for this.
Remember to connect the end resistance in the PLC and in the furthest inverter.
Addresses in the PLC
CPM2x and CQM1H
DM1009 to DM1000 and IR201 to IR209 are reserved for the inverters. The highlighted number refers to the slave number. Therefore, slave number 3 has IR203-DM1039 and DM1030. x in the table is the slave number.
CJ1 and CS1
D1000 to D1159 and W201 to W215 are reserved for the inverters. The highlighted number refers to the slave number. Therefore, slave number 3 has W203 (shown as 2xx in the table below), and D1030-D1039. xx in the table is the slave number.
The following addresses used by the protocol:
Customisations
For those who wish to read other data from the inverter they must make a change in the Holding Register reading table. This can be done in the DM2000-DM2008. Be sure to add the number as a two-digit Hex value. The result of the reading for that node can be found in DM1xx0 to DM1xx8. Reading the table is common to all slaves. Remember that the response time increases for each additional holding register you place in the table to be read. The following values are the defaults in this reading table. :
Useful information
The protocol can carry approximately 15 messages per second with baud rate 9600. It sends a message as type 1 for each message read. With 8 slaves, all of the slaves have received your message + read a message within 1 second. This is carried out at the expense of reading which means that the reading of 6 messages per slave would entail the update of the PLC taking up to 6 seconds.
Additional
3G3JV inverter writing Holding Register
3G3MV inverter writing Holding Register
Common to both
RUN command (Register 0001 HEX)
3G3MV and 3G3JV inverter reading Holding Register
Status Signal (Register 0020 HEX)
Fault Status (Register 0021 HEX)
Note when a fault resets the corresponding bit will be set to 1.
Data Link Status (Register 0022 HEX)
Input Terminal Status (Register 002B HEX)
Inverter Status 1 (Register 002C HEX)
Output Terminal Status (Register 002D HEX)
Communications Error (Register 003D HEX)
3G3PV inverter reading Holding Register
3G3PV inverter writing Holding Register
This is a separate suite (Modbus_Master ver 8.cxp) used to control the drives from a CPM2A, CPM2C, CQM1H, CJ or CS. Communication takes place in the Modbus serial, which uses a binary protocol. The PLC is the Master and the inverter is the Slave. The program can handle up to 8 drives on the CPM / CQM, and 15 converters in CJ1/CS1. The serial communication is 2 or 4-wire RS422/RS485. The program also takes 2.5kW memory (CPM2x, for example, a total of 4kW).
Use CPM2C with CPM2C-CIF11, for example, to connect the frequency converter directly. CJ1 and CS1 with CJ1W-CIF11 can also connect directly to the inverter.
The protocol reads and writes the following to the inverter's Holding Register:
Reading | Writing |
20H I/O-Status | 1H Inputs/Outputs |
21H Alarm Status | 2H Frequency reference, Set in fractions of Hz for MV / JV and one hundredths Hz for PV / RV can be entered as a decimal item & 100 |
24H Frequency | |
27H Current | |
38H PID Feedback | |
2BH S1-S7 Input Status |
Using the program
- The program is loaded into the PLC normally. Once this is done click on Settings.
- Make sure you transfer the DM1000-DM2047. This data appears as open DM in Memory. Check the site and press Transfer to PLC.
- Turn the power on the PLC to ensure the port setting is correct.
- Enter the maximum number of slaves for DM1000.
- The program is now ready for use and will immediately try to reach the nodes.
Setting the frequency converter
The following parameters must be set in the inverter:
3G3MV | 3G3JV | 3G3PV/RV | ||||
n001 | 4 | n001 | 1 | A1-01 | 2 | To access the parameters below |
n003 | 2 | n002 | 2 | b1-02 | 2 | Modbus, RUN-command |
n004 | 6 | n003 | 6 | b1-01 | 2 | Modbus F.ref selection |
n151 | 3 | n68 | 3 | Serial Fault Action (3=Alarm is displayed) | ||
H5-04 | 3 | Serial Fault Action (3=Continue operation) | ||||
n152 | 0 | n69 | 0 | o1-03 | 0 | Frequency unit (MV/JV=0.1Hz, PV=0.01Hz) |
n153 | x | n70 | x | H5-01 | x | Replace x with your own Slave number (1-8) for each converter (1-15) for CJ1/CS1 |
n154 | 2 | n71 | 2 | Baudrate (19200) (0=2400, 1=4800, 2=9600, 3=19200) | ||
H5-02 | 3 | Baudrate (19200) (1=2400, 2=4800, 3=9600, 4=19200) | ||||
n155 | 2 | n72 | 2 | Parity (No parity) (0=E, 1=O, 2=N) | ||
H5-03 | 0 | Parity (No parity) (0=N, 1=E, 2=O) | ||||
H5-05 | 1 | Serial Fault Detect (0=No, 1=Yes) | ||||
n156 | 10 | n73 | 10 | H5-06 | 10 | Send wait (ms) |
n157 | 0 | n74 | 0 | RTS Control (0=ON when sending, 1=Disabled) | ||
H5-07 | 1 | RTS Control (0=Disabled, 1=ON when sending) |
br />RTS Control is used in 2-wire RS485 or when there is more than 1 slave.
Set n001 or A1-01 back to 1 after the configuration is done. Turn the power on the power adapter for it to be updated with the new settings.
Up Link
4-wire RS422
PLC RDA + (B) connects to the S + on all inverters
PLC RDA-(A) connects to the S- on all inverters
PLC SDA + (B) connects to the R + on all inverters
PLC SDA-(A) connects to R on all inverters
• If a CJ1W-CIF11 used set the switch to AT 1 (end resistance). The rest AV.
2-wire RS485
PLC SDA + (B) connects to the R + and S + on all inverters
PLC SDA-(A) connects to the R-and S- on all inverters
• If a CJ1W-CIF11 used, set the switch to 4 AV. The rest ON.
Use shielded cable for this.
Remember to connect the end resistance in the PLC and in the furthest inverter.
Addresses in the PLC
CPM2x and CQM1H
DM1009 to DM1000 and IR201 to IR209 are reserved for the inverters. The highlighted number refers to the slave number. Therefore, slave number 3 has IR203-DM1039 and DM1030. x in the table is the slave number.
CJ1 and CS1
D1000 to D1159 and W201 to W215 are reserved for the inverters. The highlighted number refers to the slave number. Therefore, slave number 3 has W203 (shown as 2xx in the table below), and D1030-D1039. xx in the table is the slave number.
Write | Read | ||
2xx.00 | Run | DM1xx0 | I/O Status (20H) |
2xx.01 | Reverse | DM1xx1 | Alarm Status (21H) |
2xx.02 | Fault | DM1xx2 | Frequency (24H) |
2xx.03 | Fault reset | DM1xx3 | Current MV/JV Power PV (27H) |
2xx.04 | Multifunction input 1 * | DM1xx4 | PID Feedback (38H) |
2xx.05 | Multifunction input 2 * | DM1xx5 | Status Input terminal S1-S7 (2BH) |
2xx.06 | Multifunction input 3 * | DM1xx6 | |
2xx.07 | Multifunction input 4 * | DM1xx7 | |
2xx.08 | Multifunction input 5 * | DM1xx8 | |
2xx.09 | Multifunction input 6 * | DM1xx9 | Writing |
2xx.10 | Multifunction input 7 * | ||
DM1xx9 | Frequency ref, 1/10 Hz (UINT) MV/JV | ||
DM1xx9 | Frequency ref, 1/100 Hz (UINT) PV/RV |
- 3-7 applies to PV / RV
- 2-7 applies to the JV
- 1-7 applies to the MV
The following addresses used by the protocol:
CPM or CQM | CJ1 or CS1 |
IR201-208 | W201-215 |
IR226-228 | W226-228 |
DM1000-DM2047 | D1000-D2047 |
TIM0 | T0 |
Customisations
For those who wish to read other data from the inverter they must make a change in the Holding Register reading table. This can be done in the DM2000-DM2008. Be sure to add the number as a two-digit Hex value. The result of the reading for that node can be found in DM1xx0 to DM1xx8. Reading the table is common to all slaves. Remember that the response time increases for each additional holding register you place in the table to be read. The following values are the defaults in this reading table. :
D2000 | D2001 | D2002 | D2003 | D2004 | D2005 | D2006 | D2007 | D2008 |
0020 | 0021 | 0024 | 0027 | 0038 | 002B | 0000 | 0000 | 0000 |
Useful information
The protocol can carry approximately 15 messages per second with baud rate 9600. It sends a message as type 1 for each message read. With 8 slaves, all of the slaves have received your message + read a message within 1 second. This is carried out at the expense of reading which means that the reading of 6 messages per slave would entail the update of the PLC taking up to 6 seconds.
Additional
3G3JV inverter writing Holding Register
Register No. (HEX) | Function | Description |
0000 | Not used | |
0001 | RUN command | Refer to the table below |
0002 | Frequency reference | Set the frequency reference based on the maximum frquency as 30,000 |
0003-000F | Not used |
3G3MV inverter writing Holding Register
Register No. (HEX) | Function | Description |
0000 | Not used | |
0001 | RUN command | Refer to the table below |
0002 | Frequency reference | Set the frequency reference in the unit according to the set value in n69 |
0003 | V/f gain | Set on condition that 100% is 1000 within a range from 2.0 to 200.0% (20 to 2000) see note 1 |
0004-0008 | Not used | |
0009 | Inverter output | Refer to the table below |
000A-000F | Not used |
Common to both
RUN command (Register 0001 HEX)
Bit No. | Function |
0 | RUN command (1:RUN) |
1 | Forward/Reverse (1:Reverse) |
2 | External fault (External fault 0) |
3 | Fault reset (1:Fault reset) |
4 | Not used |
5 | Multi-function input 1 (1:ON) |
6 | Multi-function input 2 (1:ON) |
7 | Multi-function input 3 (1:ON) |
8 | Multi-function input 4 (1:ON) |
9 to 15 | Not used |
3G3MV and 3G3JV inverter reading Holding Register
Status Signal (Register 0020 HEX)
Bit No. | Function |
0 | During RUN (1:During RUN) |
1 | Forward/Reverse operation (1:Reverse operation) |
2 | Inverter ready (1:Ready) |
3 | Fault (1:Fault) |
4 | Data setting error (1:Error) |
5 | Multi-function output (1:ON) |
6 to 15 | Not used |
Fault Status (Register 0021 HEX)
Bit No. | Function | Bit No. | Function |
0 | OC | 8 | F□ |
1 | OV | 9 | OL1 |
2 | OL2 | 10 | OL3 |
3 | OH | 11 | Not used |
4 | Not used | 12 | UV1 |
5 | Not used | 13 | GF |
6 | Not used | 14 | CE |
7 |
EF□ |
15 | Not used |
Note when a fault resets the corresponding bit will be set to 1.
Data Link Status (Register 0022 HEX)
Bit No. | Function |
0 | Data writing (1:Writing) |
1-2 | Not used |
3 | Upper and lower limit error (1:Error) : Outside set range |
4 | Verify error (1:Error) : Same as OPE |
5-15 | Not used |
Input Terminal Status (Register 002B HEX)
Bit No. | Function |
0 | Forward/Stop terminal (S:1) (1:ON) |
1 | Multi-function input terminal 1(S2) (1:ON) |
2 | Multi-function input terminal 2(S3) (1:ON) |
3 | Multi-function input terminal 3(S1) (4:ON) |
4 | Multi-function input terminal 4(S5) (1:ON) |
5-15 | Not used |
Inverter Status 1 (Register 002C HEX)
Bit No. | Function |
0 | During RUN (1:RUN) |
1 | Zero speed (1:Zero speed) |
2 | Frequency agree (1:Frequency agree) |
3 | Warning (Non fatal error) (1:Warning) |
4 | Frequency detection 1 (1:Output frequency <=n58) |
5 | Frequency detection 2 (1:Output frequency <=n58) |
6 | Inverter ready (1:Ready) |
7 | UV (1:UV) |
8 | Base block (1:Base block) |
9 | Frequency reference mode (1:Other than communications) |
10 | RUN command mode (1:Other than communications) |
11 | Overtorque detection (1:Overtorque detection) |
12 | Not used |
13 | Fault retry (1:Fault retry) |
14 | Fault (1:Fault) |
15 | Communications time-over: No normal communications for 2s or more (1:Communications time-over detection) |
Output Terminal Status (Register 002D HEX)
Bit No. | Function |
0 | Multi-function contact output terminal MA (1:ON) |
1 to 15 | Not used |
Communications Error (Register 003D HEX)
Bit No. | Function |
0 | CRC error (1:Error) |
1 | Data length error (1:Error) |
2 | Not used |
3 | Parity error (1:Error) |
4 | Overrun error (1:Error) |
5 | Framing error (1:Error) |
6 | Communications time-over (1:Error) |
7 to 15 | Not used |
3G3PV inverter reading Holding Register
Register No. | Contents | ||
0020H |
Inverter Status | ||
Bit 0 | Operation 1:Operating 0:Stopped | ||
Bit 1 | Reverse operation 1:Reverse operation 0:Forward operation | ||
Bit 2 | Inverter startup complete 1:Completed 2:Not completed | ||
Bit 3 | Error 1:Error | ||
Bit 4 | Data setting error 1:Error | ||
Bit 5 | Multi-function contact output 1 (terminal M1-M2) 1:ON 0:OFF | ||
Bit 6 | Multi-function contact output 2 (terminal M3-M4) 1:ON 0:OFF | ||
Bit 7 | Not used | ||
Bit 8 to F | Not used | ||
0021H |
Error Details | ||
Bit 0 | Overcurrent (OC) Ground fault (GF) | ||
Bit 1 | Main circuit overvoltage (OV) | ||
Bit 2 | Inverter overload (OL2) | ||
Bit 3 | Inverter overheat (OH1)(OH2) | ||
Bit 4 | Not used | ||
Bit 5 | Fuse blown (PUF) | ||
Bit 6 | PI feedback reference lost (FbL) | ||
Bit 7 | External error (EF, EFO) | ||
Bit 8 | Hardware error (CPF) | ||
Bit 9 | Motor overload (OL1) or overtorque 1 (OL3) detected | ||
Bit A | Not used | ||
Bit B | Main circuit undervoltage (UV) detected | ||
Bit C | Main circuit undervoltage (UV1), control power supply error (UV2), inrush prevention circuit error (UV3), power loss | ||
Bit D | MIssing output phase (LF) | ||
Bit E | RS-422A/485 communications error (CE) | ||
Bit F | Operator disconnected (OPR) | ||
002CH |
Inverter Status | ||
Bit 0 | Operation 1:Operating | ||
Bit 1 | Zero speed 1:Zero Speed | ||
Bit 2 | Frequency matching 1:Matched | ||
Bit 3 | User defined speed matching 1:Matched | ||
Bit 4 | Frequency detection1 1:Output frequency <=L4-01 | ||
Bit 5 | Frequency detection2 Output frequency >=L4-01 | ||
Bit 6 | Inverter startup completed 1:Startup completed | ||
Bit 7 | Low voltage detection 1:Detected | ||
Bit 8 | Baseblock 1:Inverter output baseblock | ||
Bit 9 | Frequency reference mode 1:Not communication 0:Communication | ||
Bit A | Run commande mode 1:Not communication 0:Communication | ||
Bit B | Overtorque detection 1:Detected | ||
Bit C | Frequency reference lost 1:Lost | ||
Bit D | Retrying error 1:Retrying | ||
Bit E | Error (including RS-422A/485 communications timeout) 1:Error occurred | ||
Bit F | RS-422A/485 communications timeout 1:Timed out | ||
002DH |
Multi-Function Contact Output Status | ||
Bit 0 | Multi-function contact output 1 (terminal M1-M2) 1:ON 0:OFF | ||
Bit 1 | Multi-function contact output 2 (terminal M3-M4) 1:ON 0:OFF | ||
Bit 2 | Not used | ||
Bits 3 to F | Not used | ||
002EH- 0030H | Not used | ||
0031H | Main circuit DC voltage | ||
0032H-0037H | PI feedback quantity (input equivalent to 100% max. output frequency, 10/1%, without sign) | ||
0038H | PI input quantity (+-100%+-Max output frequency, 10/1%, with sign) | ||
0039H | PI output quantity (+-100%+-Max output frequency, 10/1%, with sign) | ||
003AH | CPU software number | ||
003BH | Flash software number | ||
003CH | Communications error details | ||
003DH | Bit 0 | CRC error | |
Bit 1 | Invalid data length | ||
Bit 2 | Not used | ||
Bit 3 | Parity error | ||
Bit 4 | Overrun error | ||
Bit 5 | Framing error | ||
Bit 6 | Timeout | ||
Bits 7 to F | Not used | ||
003EH | KVA setting |
3G3PV inverter writing Holding Register
Register No. | Content | |
0000H | Reserved | |
0001H |
Frequency reference | |
Bit 0 | Run/Stop command 1:Run 0:Stop | |
Bit 1 | Forward/Reverse operation 1:Reverse 0:Forward | |
Bit 2 | External error 1:Error (EFO) | |
Bit 3 | Error reset 1:Reset command | |
Bit 4 | ComNet | |
Bit 5 | ComCtrl | |
Bit 6 | Multi-function input command 3 | |
Bit 7 | Multi-function input command 4 | |
Bit 8 | Multi-function input command 5 | |
Bit 9 | Multi-function input command 6 | |
Bit A | Multi-function input command 7 | |
Bits B to F | Not used | |
0002H | Frequency reference (set units using parameter o1-03) | |
0003 to 0005H | Not used | |
0006H | Not used | |
0007H | Analog output 1 setting (0 V/0 to 11 V/726) to 10V = 660 | |
0008H | Analog output 2 setting (0 V/0 to 11 V/726) to 10V = 660 | |
0009H |
Multi-function contact output setting | |
Bit 0 | Contact output 1 (Terminal M1-M2) 1:ON 0:OFF | |
Bit 1 | Contact output 2 (Terminal M3-M4) 1:ON 0:OFF | |
Bit 2 | Not used | |
Bits 3 to 5 | Not used | |
Bit 6 | Set error contact (Terminal MA-MC) output using bit 7 1:ON 0:OFF | |
Bit 7 | Error contact (Terminal MA-MC) 1:ON 0:OFF | |
Bits 8 to F | Not used | |
000AH to 000EH | Not used |