...
For normal communication, the following parameters of the inverter have to be properly configured.
Function Code | Item | Value | Description |
C070 | Data command source | 02 | Digital operator |
03 | RS-485 connector | ||
04 | Expansion card #1 | ||
05 | Expansion card #2 | ||
C071 |
Baud rate | 02 | Loopback test |
03 | 2400 bps | ||
04 | 4800 bps | ||
05 | 9600 bps | ||
06 | 19200 bps | ||
C072 | Node address | 1 to 32 | Node or station address (unique to each inverter or device) |
C073 | Data bits | 07 | 7 bits |
08 | 8 bits | ||
C074 | Parity | 00 | None |
01 | Even parity | ||
02 | Odd parity | ||
C075 | Stop bits | 01 | 1 bit |
02 | 2 bits | ||
C078 | Wait time | 0 to 1000 | 0 to 1000 ms (time that the inverter waits to respond to the network master) |
...
Create a new device | To create a new device, go to [Tools] → [I/O Devices] or click the I/O Device Name: Give a device name. This name will be used in the tag configuration window of the database accompanied by the ‘Station Name’. |
Select a device type | After selecting the [OK] button on the previous step, the ‘Serial Communication Configuration’ dialog box will pop up. Select ‘HITACHI Inverter’ in the ‘Device Type’ dropdown menu and configure the proper serial communication parameters. Ensure that those parameters are matched with the inverter's configuration. See the Communication Configuration section for more information. |
Create a station | Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box. Here, all the connected inverter stations can be configured and registered to the Xpanel. Station Name: Give a name to the inverter. This name will be used in the database window accompanied by the Device Name. Station Type: Choose the type of connected inverter. Two inverter models are supported by this communication driver (SJ300 and L300P). Network ID: This field has no effect. Station No.: Specify a number between 1 and 32. This number must be matched with the number in the parameter of the inverter (Function Code: C072). 16bit Data Swap: This field has no effect. 32bit Data Swap: This field has no effect. Using Checksum: This field has no effect. This communication driver always checks the box. Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds. See the Communication Configuration section for more information about the remaining parameters. |
...
Address Notation | [ Symbol ][ Offset ][ . ][ Bit number ]
All analog real tags must be declared as a UINT32 data type for normal data processing as shown in the picture below. Some points need the scale factor for simple and easy data manipulation in Xpanel. The point map in the next section includes a recommended scale factor column for those points. |
Point Map | Scale: Some points need a scaling process for simple and easy data manipulation in Xpanel. Recommended scale factors are given in the 'Scale' column of the table above. Cmd: The command codes used in the communication between Xpanel and the inverter are listed in the table above. Please refer to the inverter manual for more information about the command codes. The points without command codes are internal points of Xpanel. The following sections describe these internal points. Write Only Points (Y): The points with the symbol 'Y' are write-only. When these points are monitored on the screen of Xpanel, the value of zero is displayed. The points Y004 and Y009 are exceptions. These two points are described in the following sections. |
Inverter Status Flags (X014/X015/X016) | Each status data keeps a code as shown in the following data. |
Trip History (Y008/Y009) | The inverter keeps a total of 6 trip history data on its memory. The Xpanel driver provides a method to choose one of those 6 trip history data for monitoring. In order to monitor a trip history in Xpanel, Y009 has to be set to a value between 1 and 6. This value denotes the history data ID to be stored in X018 - X027. Once the Y008 point is written as zero or one, one of the history data blocks is copied to the monitoring points X018 - X027 as shown in the image below.
Thus, the following script program updates the trip history data which is stored in monitoring points X018 - X027. TAG_Y009 = 1; // Set the trip history ID (1...6) TAG_Y008 = 1; // Update the history data by communication |
Intelligent Terminal Function (Y003/Y004) | The intelligent terminal functions are composed of 64-bit control flags as listed in the table below. These control flags are accessed by Xpanel with two different double word points: Y003 and Y004. Y003 holds high 32-bit flags of intelligent terminal function and Y004 holds low 32-bit flags. When data is written to Y004 points, Xpanel stores the value in its memory. Xpanel does not send the Y004 data to the inverter until the point Y003 is written as some value. The following script program sends "forward: bit 0 of Y004", "multi-speed 1: bit 2 of Y004" and "multi-speed 2: bit 3 of Y004" commands to the inverter at the same time. TAG_Y004 = 0x000D; // Set the low command flags TAG_Y003 = 0; // Set the high command flags and send commands to inverter
|
Wiring Diagram
...
RS-485 | |
Xpanel COM1 RS-422/485 |