Sie sind auf Seite 1von 27

Communication

LSIS PLC/Drive

for XGB and Drive (iG5A) - Modbus RTU protocol

www.lsis.biz

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 Diagnosis

Configuration

RS-485 (Modbus communication) Baud rate: 9600, Data bit: 8, Stop bit: 1, Parity bit: None
Note that baud rate and stop/parity bit are selectable in I/O group. * I/O group: I61 baud rate, I65: parity/stop bit setting.

Wiring Diagram
+ S+ SS+ S-

XGB RS-485 Built-in Cnet

iG5A Station: 1

iG5A Station: 2

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 Diagnosis Set up each drive communication-concerning parameter as follows. For iG5A (station: 1) * DRV-03 [Drive mode]: 3 [RS-485] * DRV-04 [Freq. mode]: 7 [RS-485] * I/O 59 [Communication protocol]: 0 [Modbus RTU] * I/O 60 [VFD station number]: 1 * I/O 61 [communication speed]: 3 (9600bps) For iG5A (station: 2) * DRV-03 [Drive mode]: 3 [RS-485] * DRV-04 [Freq. mode]: 7 [RS-485] * I/O 59 [communication protocol]: 0 [Modbus RTU] * I/O 60 [VFD station number]: 1 * I/O 61 [communication speed]: 3 (9600bps)

Drive parameter setting

XGB Parameter setting: XG-PD


For XGB communication parameter setting, XG-PD (Network Manager) is used. After running XG-PD, select [Online][Connect]. When connected, select [Online][Read IO Information].

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - XGB Setup XG5000 Diagnosis Double click

XGB parameter setting: XG-PD

After setting is done, click [P2P].

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis Double click

XGB parameter setting: XG-PD

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis Double click

P2P parameter setting: iG5A (station 1) Write request

Slave address

Click

Conditional flag: M0000 This request frame is sent from XGB at M0 bit rising edge. Data type/Data size This request frame is to write 4 word data to iG5A.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis

P2P parameter setting: iG5A (station 1) Write request

Modbus corresponding addresses of iG5A are acquired by the following formula. [Modbus address] = [iG5A address] 1 Modbus word output area is from 0x40000. Therefore, [0x0005] is to be [0x40004]. Here D0000 is assigned to 0x40004, which means D0 data value is sent to ref. Freq. area. In the previous slide, 4 words are to be sent. Therefore, D0 for Reference Frequency D1 for Run command (D1.0 bit is on iG5A stop; D1.1 bit is on iG5A forward run, etc). D2 for ACC time D3 for DEC time

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis Slave address Click

P2P parameter setting: iG5A (station 1) Read request

Conditional flag: M0001 This request frame is sent from XGB at M1 bit rising edge. Data type/Data size This request frame is to read 8 word data from iG5A. Note that data size should be less than or equal to 8. If not, iG5A does not respond properly.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis

P2P parameter setting: iG5A (station 1) Read request

Modbus word input area is from 0x30000. Therefore, [0x0007] to be [0x30006]. Here D0020 is assigned to 0x30006, which means ACC time is sent to D20. In the previous slide, 8 words to be sent from drive to XGB. Therefore, D20 for ACC time; D21 for DEC time, D22 for Output Current; D23 for Reference Frequency; D24 for Output voltage; D25 for DC Link voltage; D26 for Output power; D27 for drive status (D27.0 bit is on iG5A stop; D27.1 bit is on iG5A forward run, etc).

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis Slave address Click

P2P parameter setting: iG5A (station 2) Write request

Conditional flag: M0002 This request frame is sent from XGB during M2 bit rising edge. Data type/Data size This request frame is to write 4 word data to iG5A. Data assignment method: the same as iG5A (station 1) D100 for Reference Frequency D101 for Run command (D1.0 bit is on iG5A stop; D1.1 bit is on iG5A forward run, etc). D102 for ACC time D103 for DEC time

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - P2P XG5000 Diagnosis Slave address Click

P2P parameter setting: iG5A (station 2) Read request

Conditional flag: M0003 This request frame is sent from XGB during M3 bit rising edge. Data type/Data size This request frame is to read 8 word data from drive to XGB. Data assignment method: the same as iG5A (station 1) D120 for ACC time; D121 for DEC time, D122 for Output Current; D123 for Reference Frequency; D124 for Output voltage; D125 for DC Link voltage; D126 for Output power; D27 for drive status (D27.0 bit is on iG5A stop; D27.1 bit is on iG5A forward run, etc).

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD - Down & Link XG5000 Diagnosis

XG-PD download/Link enable

After link enable, select [Online][Reset].

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Programming Diagnosis

XG5000 Programming: Part I


For programming, please refer to XG5000 program after opening it.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Programming Diagnosis

XG5000 Programming: Part II

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Programming Diagnosis

XG5000 Programming: Part III

[View][Devices/Variables] or other item to see its variable or comment.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Programming Diagnosis

XG5000 Programming: Part IV

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Programming Diagnosis

XG5000 Programming: Part V

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#1) Control: Set Ref. Freq. and make it run forward

Reference frequency is set as 12.34Hz.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#1) Control: Set ACC/DEC time of station 1

iG5A reference frequency is set as 12.34Hz. Its status is FWD Run. ACC and DEC time is set as 1.0 and 2.0 sec, respectively. Now lets monitor iG5A.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#1) Monitoring: operation information

iG5A is running as we set in the previous slide. D27.1 bit means its operation status is FWD Run.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#2) Control: Ref. Freq., Operation command and ACC/DEC time

Station 2 reference frequency: 43.21Hz Station 2 operation command: Reverse running Station 2 ACC time: 3.0 sec Station 2 DEC time: 4.0 sec

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#2) Monitoring: operation information

iG5A is running as we set in the previous slide. D27.1 bit means its operation status is REV Run.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#1 & #2) Communication Status

Click [Variable Monitoring] icon: Now there is no error in either station 1 or 2.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 - Monitoring Diagnosis

iG5A (#1 & #2) Communication Status

When station 1 is turned off or disconnected from network, its error flags are increased. After the problem is recovered, error-concerned flags are not increased but hold their values. Note that L relay is latched.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 Diagnosis Right-mouse click

System diagnosis: XG-PD


In XG-PD, select [Online][System Diagnosis] where you are able to see comm. Status.

Select [Channel 2] and click [Start] then you will see its communication frame. Even though XGB has no RTC, but it shows time stamp when the transmission/reception frame pass through the comm. port. This is important because in 1:N comm. In RS-485 (half-duplex) system, transmission and reception frame should be interlocked. And a user could know the best possible conditional flag to send each frame by this time stamp.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD 3 XG5000 4 Diagnosis

System diagnosis: XG-PD


1 2

(1) If there is unknown in Result, the frame is wrong. (2) It shows when each frame passes through the communication port. (3) When the transmission frame is sent to iG5A (station 1) at 0:00:02:770 (2.770sec after monitoring start), the reception frame is delivered to XGB from station 1 after 0.03sec later. (4) It shows one cycle in this system composed of 8 frames. Write request to #1 (M0 bit ) Write response from #1 Read request to #1 (M1 bit ) Read response from #1 Write request to #2 (M2 bit ) Write response from #2 Read request to #2 (M3 bit ) Read response from #2 Note that every transmission frame is sent with 200ms period.

Application Solution
Communication with VFD (Variable Frequency Drive)
Configuration Drive Setup XG-PD XG5000 Diagnosis Right-mouse click

System diagnosis: XG-PD


In XG-PD, select [Online][System Diagnosis] where you are able to see comm. Status.

Select [P2P Service] and click [Multiple Reading] then you will see comm. status. Whenever an communication error occurs, its error count will increase.

Das könnte Ihnen auch gefallen