(GIMAC1000) Modbus Map Tech Data en 202402
(GIMAC1000) Modbus Map Tech Data en 202402
REGISTER ADDRESS BYTE REGISTER NAME RANGE UNIT FORMAT R/W SWAP Remark
1 0 2 Wh RESET - - F001 W -
101 100 2 rWh RESET - - F001 W -
201 200 2 VARh RESET - - F001 W -
301 300 2 rVARh RESET - - F001 W -
401 400 2 VAH RESET - - F001 W -
501 500 2 MAX V THD RESET - - F001 W -
601 600 2 MAX A RESET - - F001 W -
701 700 2 MAX A THD RESET - - F001 W -
801 800 2 MAX W RESET - - F001 W -
901 900 2 MAX VAR RESET - - F001 W -
1001 1000 2 MAX VA RESET - - F001 W -
1101 1100 2 MAX DEMAND W RESET - - F001 W -
1201 1200 2 MAX DEMAND A RESET - - F001 W -
1301 1300 2 DEMAND A RESET - - F001 W -
1401 1400 2 DEMAND W RESET - - F001 W -
1501 1500 2 DI1 COUNTER RESET - - F001 W -
1511 1510 2 DI2 COUNTER RESET - - F001 W -
2001 2000 2 ALL DATA RESET - - F001 W -
5555 5554 2 ALL ERROR COUNTER RESET - - F001 W -
REGISTER ADDRESS BYTE REGISTER NAME RANGE UNIT FORMAT R/W Default Value Remark
40001 0 32 Manufacturer Name - - STRING R "LSELECTRIC"
40017 16 32 Modbus Map Identifier - - STRING R "GIMAC1000"
40033 32 10 Modbus Map Version - - STRING R "01.00.00"
40038 37 32 Product Name - - STRING R "GIMAC1000"
40054 53 22 Manufacturing number - - STRING R -
40065 64 12 Product code - - STRING R -
40071 70 10 Hardware Version - - STRING R "01.00.00"
40076 75 10 Software Version - - STRING R "01.00.00"
41001 1000 2 Product Option Specification - - F224 R 0(Normal,5A,60Hz,RS485 OFF, ETH OFF)
41002 1001 2 Wiring Connection 1:1P2W, 2:1P3W, 3:3P3W(D),4:3P3W(Y),5:3P4W - F219 R 5(3P4W)
41003 1002 2 Demand Time 1,2,3,4,5,6,10,15,20,30,60 min F038 R 15(min)
41004 1003 2 The constant part of PT Ratio (PT Ratio High) 1~1400 - F038 R 1 NAK reply if the value is outside the
41005 1004 2 The decimal part of PT Ratio (PT Ratio Low) 0~9999 - F038 R 0 range of 1 ~ 1400
41006 1005 2 CT Ratio ( High Word ) 0 - F038 R 0 don’t care
41007 1006 2 CT Ratio ( Low Word ) 1~2000 - F038 R 1
41008 1007 2 RS485 Address/ Tx delay time 상위(국번):1~247/하위(지연시간):10~200(ms) - F217 R High(Address):1,Low(Delay Time):20(ms)
41009 1008 2 RS485 Comm Speed / Swap 상위(SWAP):1~2/하위(속도):1~3 - F218 R High(SWAP):1(NO),Low(Speed):3(38400bps)
41010 1009 2 DI Debounce Time 10~200 ms F222 R High(DI1):5,Low(DI2):5
41011 1010 2 RS485 Comm Termination Resistance 1(OFF),2(ON) - F223 R 1(OFF)
41012 1011 6 MAC Address 00-0B-29-00-00-00 ~ 00-0B-29-FF-FF-FF - F040 R 00-0B-29-00-00-00
41015 1014 4 IP Address 01-00-00-00 ~ DF-FF-FF-FF - F041 R 192.168.0.100
41017 1016 4 Subnet Mask 00-00-00-00 ~ FF-FF-FF-FF - F041 R 255.255.255.0
41019 1018 4 Gateway Address 01-00-00-00 ~ DF-FF-FF-FF - F041 R 192.168.0.1
41021 1020 2 Idle Time 0x000A ~ 0x003C ms F038 R 0x000A
41022 1021 2 Ethernet Module Swap 0x0000 : On, 0x5555 : off - F038 R 0x0000
41023 1022 2 Ethernet Module Software Version - F038 R 0x000A 0x000A = 10 ( Means 1.0 )
* Address 40000 does not apply SWAP
■ Format details
F001
F038 type
Only ON (0xFF00) can be input to data
F004
IEEE754 32bit short float form
F037
32bit Unsigned Integer type
F038
16Bit Unsigned Integer type
F040
48bit Mac address
In the form (00-0B-29-hh-hh-hh), h has a value from 0 to f.
Ex) Write : 85 10 08 34 00 03 06 00 0b 29 00 00 01 crc-h crc-l
Read : 85 03 08 34 00 03 crc-h crc-l
F041
32bit IP/SUB NET/G,W address
In the form (hh.hh.hh.hh), h has a value from 0 to f.
F217
F038 type
High Byte Low Byte
F218
F038 type
High Byte Low Byte
F219
F038 type
Value Description
0x0001 1P2W
0x0002 1P3W
0x0003 3P3W OPENDELTA
0x0004 3P3W Y
0x0005 3P4W
F220
F038 type
상위 Byte 하위 Byte
F221
F038 type
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
DI 02 DI 01
- - - - - - - - - - - - - -
Status Status
※ 0:Open, 1:Close
F222
F038 type
High Byte Low Byte
Ex) If Debounce data is 05 06, DI1 Debounce time is 5ms, DI2 Debounce time is 6ms.
F223
F038 type
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
- - - - - - - - - - - - - - ON OFF
Ex) If the Comm. terminal resistance status data is 00 01, the function is OFF. If it is 00 02, the function is ON.
F224
F038 type
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Rated
Etherne RS485 Freque Functi
- - - - - - - - - - - curren
t Y/N Y/N ncy on
t
1) Function : 0 -> NO, 1 -> EX
2) Rated frequency : 0 -> 60Hz, 1-> 50Hz
3) Rated current : 0 -> 5A Type, 1-> 1A Type
4) RS485 : 0 -> No Comm, 1-> M485
5) ETHERNET : 0 -> No ETHERNET, 1-> ETHERNET
F225
F038 type
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Freque
OVER PF
- - - - - - - - - - ncy - - -
THD V alarm
alarm
1) Bit 3: Power factor abnormal (0: normal, 1: abnormal)
Normal if 0.9 ≤ +power factor (PF) ≤ 1, normal even if the value is 0 (based on total power factor)
2) Bit 4: Frequency error (0: normal, 1: abnormal)
Normal if 58.5Hz ≤ frequency ≤ 61.5Hz, normal even if the value is 0
3) Bit 6: Sum of each voltage harmonic exceeds upper limit (0: normal, 1: occurrence)
Occurs when the total voltage harmonic distortion (THD V) exceeds 5% (if even one phase of Va, Vb, Vc occurs,
operates as 'OR')
※ Status Flag is reflected in real time (updated every 1 second)
< Exception Codes >
Ex) If Master tries to READ the 30551 Register under the condition where 30551
Register is not defined at the register map,
Slave device responses to it with ILLEGAL DATA ADDRESS(02).
Request Response
Field Name (Hex) Field Name (Hex)
Slave Address 01 Slave Address 01
Function 04 Function 84
Starting Address Hi 02 Exception Code 02
Starting Address Lo 26 CRC Lo -
Quantity of Inputs Hi 00 CRC Hi -
Quantity of Inputs Lo 01
CRC Lo -
CRC Hi -
Error
Field Name (Hex)
Slave Address 01
Function AB
Exception Code xx
Exception Code xx
CRC Hi -
CRC Lo -
Introduction of GIMAC1000 MODBUS RTU Protocol
1. Introduction
MODBUS RTU protocol
2. Physical Layer
Communication port : RS485, Ethernet
Asynchronous format: One character consists of 10 or 11 bits.
(1 start bit + 8 data bits + (1 parity bit) +1 stop bit)
Baud rate: 9600 bps (setting value: 1), 19200 bps (setting value: 2), 38400 bps (setting value: 3)
Parity: Even, Odd, no parity (GIMAC1000 supports only no parity)
In the Master-Slave method, only the master can make a request,
Slaves send responses to the master by sending requested data or performing actions requested in the query.
The following is the general format for sending and receiving frames.
DESCRIPTION SIZE
SLAVE ADDRESS 1 byte
FUNCTION CODE 1 byte
DATA N byte
CRC 2 byte
DEAD TIME 3.5 bytes transmission time
SLAVE ADDRESS
Valid slave device address range : 0~247 decimal
Slave device address range actually used: 1~247 decimal
If the slave device address area of the frame in which the master requests the slave is 0,
it means that the master device is broadcasting to all slaves.
When the master makes a request to the slave, the slave address is entered in the address field
and transmitted.
When the slave responds to the master, it enters its own address in the address field and transmits it.
FUNCTION CODE
Valid range : 1~255
normal : 1~127, error : 129 ~ 255(normal + 0x80)
It defines the actions that the master requires from the slave.
The slave enters the following information.
In case of normal response: Echo the function code value of the request as is
In case of exceptjon response: Enter the MSB of the function code value of the request by setting it to 1.
DATA
Register address
Amount of items to handle
Number of bytes of actual data
CRC
Used as an error checking method.
CRC-16
DEAD TIME
A frame ends when there is a silent interval of 3.5 charter times or more after the last character is received.
MODBUS Exception Codes
code Name
01h ILLEGAL FUNCTION
02h ILLEGAL DATA ADDRESS
03h ILLEGAL DATA VALUE
04h SLAVE DEVICE FAILURE
05h ACKNOWLEDGE
06h SLAVE DEVICE BUSY
10h No Event/Fault record data
11h TIME OUT
12h ILLEGAL ADU LENGTH
FFh Branch or DSP No Response time out
Modbus RTU Examples
<Important information>
* MAX register read count : 124
(03h, 04h): You can read one register or several registers.
When reading multiple registers, up to 124 registers can be read.
However, 124 words can be read only in the continuous address area.
Ex) If the master attempts to read the value of the 30551 register while the 30551 register is not
defined in the device's register map, the device (slave) responds
with ILLEGAL DATA ADDRESS (02).
Request Response
Field Name (Hex) Field Name (Hex)
Slave Address 01 Slave Address 01
Function 04 Function 84
Starting Address Hi 02 Exception Code 02
Starting Address Lo 26 CRC Lo -
Quantity of Inputs Hi 00 CRC Hi -
Quantity of Inputs Lo 01
CRC Lo -
CRC Hi -
Introduction of GIMAC1000 MODBUS TCP Protocol
1. Introduction
MODBUS TCP protocol
Slaves send responses to the master by sending requested data or performing actions requested in the query.
Description Size(byte)
Transaction Identifier Hi 1
Transaction Identifier Lo 1
MBAP Header Protocol Identifier 2
Length 2
Unit Identifier 1
Function Code 1
MODBUS request PDU Starting Address 2
Quantity of register 2
Unit Identifier : Identification of a remote slave connected on a serial line or on other buses
- The server echoes the value received from the client.
Function Code
Valid range : 1~255
normal : 1~127, error : 129 ~ 255(normal + 0x80)
It defines the action that the client requests from the server.
The server enters the following information.
In case of normal response: Echo the function code value of the request as is
In case of exceptjon response: Enter the MSB of the function code value of the request by setting it to 1.
Data
Register address
Amount of items to handle
Number of bytes of actual data
MODBUS Exception Codes
code Name
01h ILLEGAL FUNCTION
02h ILLEGAL DATA ADDRESS
03h ILLEGAL DATA VALUE
04h SLAVE DEVICE FAILURE
10h No Event/Fault record data
11h SBO TIME OUT
12h ILLEGAL ADU LENGTH
13h LOCAL MODE
14h DEVICE NAK
Modbus TCP Examples
<Important information>
* MAX register read count : 124
(03h, 04h): You can read one register or several registers.
When reading multiple registers, up to 124 registers can be read.
However, 124 words can be read only in the continuous address area.
Request Response
Field Name (Hex) Field Name (Hex)
Transaction Identifier Hi 00 Transaction Identifier Hi 00
Transaction Identifier Lo 01 Transaction Identifier Lo 01
Protocol Identifier Hi 00 Protocol Identifier Hi 00
Protocol Identifier Lo 00 Protocol Identifier Lo 00
Length Hi 00 Length Hi 00
Length Lo 06 Length Lo 03
Unit Identifier 01 Unit Identifier 01
Function 04 Function 84
Starting Address Hi 02 Exception Code 02
Starting Address Lo 56
Quantity of Inputs Hi 00
Quantity of Inputs Lo 01