TDK-Lambda GXE600 Series Communications Manual Download Page 11

COMMUNICATION MANUAL

GXE600 SERIES

TDK­Lambda

<Page>

11/79

3.3 GXE supported function code

GXE supports the following function codes (FC).

Function name

4

Read Input register 

3

Read Holding register

6

Write single Holding register

16

Write multi Holding register

23

Read/Write multi Holding register

For simplification, each query is described with only PDU in the following explanation.

Any queries for the actual communication line must be sent with ADU (ID + PDU + CRC).

3.3.1 FC : 4 (0x04) Read Input register 

The read content of consecutive Input registers.

Broadcast is invalid.

・Request PDU

Function code

0x04 

Starting Address

Refer to 4.Register list

Quantity of Registers

1 ~ 15 (0x000F) 

*

* It is necessary to specify according to the actual register arrangement

・Response PDU

Function code

0x04 

Number of data bytes

 2 x N

Register data

Read data

N =Quantity of Registers specified in the query

・Error PDU

Function code

0x84 

Exception code

Refet to 3.2.2

It can be used for data acquisition of single register, multi-register block and consecutive register block.

If a reserved address is included in the specified register address section [start address ~ (start a 

number of registers - 1)], an exception response [Exception code 0x02: ILLEGAL DATA ADDRESS] is returned.

Even if the start address or the number of registers is invalid, an exception response  [Exception code 

0x02: ILLEGAL DATA ADDRESS]  is returned.

Exception response [Exception code 0x03: ILLEGAL DATA VALUE] is returned if the Request PDU size is not 

the valid size (5 bytes).

1

1

Field

Number of bytes

Field value

1

1

  N x 2

2

Field

Number of bytes

Field value

1

2

16 bit

(0x17)

Field

Number of bytes

Field value

16 bit

(0x06)

16 bit

(0x10)

16 bit

(0x03)

Data Type

FC

16 bit

(0x04)

Summary of Contents for GXE600 Series

Page 1: ...injured due to high voltage and high temperature You might also get electric shock or burn Do not make unauthorized changes to this product nor remove the cover as you might get an electric shock or...

Page 2: ...stability when single device failure occurs When used in environments with strong electromagnetic field there is possibility of product damage due to malfunction When used in environment with corrosiv...

Page 3: ...N ES CSA60601 1 and are NOT protected against the ingress of water Reference should be made to local regulations concerning the disposal of these products at the of their useful life Note Take note th...

Page 4: ...series 2 2 Connection with host device 2 3 Setup of GXE 3 Communication specification 3 1 Transmission specification 3 2 Communication protocol 3 3 GXE supported function code 3 4 GXE support diagnos...

Page 5: ...s secondary output and CN84 s Pin number 1 10 For details refer to 3 Block diagram in the instruction manual 2 2 Connection with host device The example connection to host master device is shown belo...

Page 6: ...CN84 2 USB cable in order After completing the connection of the communication line apply input voltage Do not perform operations such as disconnection of the communication line and attachment detachm...

Page 7: ...2 1 Synchronization method Asynchronous 2 2 Baud rate 2400 4800 9600 19200 Factory setting bps Reception 2 error tolerance 2 3 Transmission code The following combinations are valid composition Length...

Page 8: ...vice Set the communication timeout of the master device to 100ms or more in consideration of the query processing time of the slave device For the detailed specification of the MODBUS protocol refer t...

Page 9: ...cessarily match the endian of the master device processor CRC16 Cyclical Redundancy Checking 16 bit cyclic redundancy check from ID to Dn The CRC of MODBUS RTU is the so called Reverse type 16 bit CRC...

Page 10: ...de Name Contents 0x01 ILLEGAL FUNCTION Unsupported function code 0x02 ILLEGAL DATA ADDRESS Undefined register address including reserved address 0x03 ILLEGAL DATA VALUE Invalid data 0x04 SLAVE DEVICE...

Page 11: ...nse PDU Function code 0x04 Number of data bytes 2 x N Register data Read data N Quantity of Registers specified in the query Error PDU Function code 0x84 Exception code Refet to 3 2 2 It can be used f...

Page 12: ...ress Refer to 4 Register list Quantity of Registers 1 16 0x0010 It is necessary to specify according to the actual register arrangement Response PDU Function code 0x03 Number of data bytes 2 x N Regis...

Page 13: ...rted non volatile memory it is updated as non volatile data Broadcast is valid Request PDU Field Number of bytes Field value Function code 1 0x06 Starting Address 2 Refer to 4 Register list Register d...

Page 14: ...rrangement Response PDU Function code 0x10 Starting Address Refer to 4 Register list Registers value 1 16 0x0010 Error PDU Function code 0x90 Exception code Refer to 3 2 2 It can be used to update dat...

Page 15: ...efore read processing If the specified register is supported non volatile memory it is updated as non volatile data Broadcast is invalid Request PDU Field Function code 0x17 Read Starting Address Refe...

Page 16: ...ause occurs during data update the value of the register whose write processing was completed before the cause occurred will be updated The register value is not restored Message exchange example The...

Page 17: ...PDU Same to Request PDU 3 4 2 SC 1 0x0001 Communication reinitialization Initialize the GXE communication port according to the setting register value currently held The Response is done with existing...

Page 18: ...tions or responses However only diagnostic subcode 0x0001 is accepted the communication port is initialized and restarted and the receive only mode is canceled Request PDU Field Value FC 0x08 SC 0x000...

Page 19: ...s Mainly Input Registers has measurement data Broadcast is invalid Data read is possible with function code 0x04 Refer to supplementary items for Q format Input Register Starting Address Qty Function...

Page 20: ...Q10 amps 7 Over Voltage Threshold 105 1 Threshold value of output over voltage 0x0069 Normalized Q10 volts 8 Over Current Threshold 106 1 Threshold value of output over current 0x006A Normalized Q10 a...

Page 21: ...haracters Valid as data other than readable characters It influences setting change in the slave Address the Baud Rate and the parity setting register at the time of initialization of a GXE communicat...

Page 22: ...ed on each page is an example of access to one register Multiple access is possible when the register address assignment is continuous Attributes assigned to registers Address allocated to register Nu...

Page 23: ...operates at about 125 typ fixed of rated 8 CNTOFF Indication of remote off 6 7 14 15 Reserved Reserved Example In case of Remote off after Output over current bit 0 SWOCP bit 5 PFCLVP bit 8 CNTOFF is...

Page 24: ...Field Byte Value Function code 1 0x04 Starting Address 2 0 0x0000 Quantity of Registers 2 1 0x0000 Response PDU Read Inputs Field Byte Value Function code 1 0x04 Byte count 1 2 2 x 1 Registers value...

Page 25: ...t measurement accuracy is not guaranteed The actual voltage value is calculated by the following formula Output voltage V Nominal Voltage Register value Decimal 2 10 GXE output rating Model Nominal Vo...

Page 26: ...of measurement range is also returned but measurement accuracy is not guaranteed The actual current value is calculated by the following formula Output current A Maximum Current Register value Decima...

Page 27: ...internal temperature which is different from the power supply ambient temperature The register shows a value higher than the ambient temperature of the power supply Because there is a temperature meas...

Page 28: ...rement Range Accuracy Integer notation 32bit Over 20 years 2 If the power output is less than 1 second it will not be added to the cumulative operating time Because measurement resolution is 1 second...

Page 29: ...es Mount A in the device mounting direction Lo value is just reference data not guaranteed Data Type Measurement Range Initial Value 1 Accuracy Integer notation 24V model 8000 30 of Electrolytic Capac...

Page 30: ...Field Byte Value Function code 1 0x04 Starting Address 2 6 0x0006 Quantity of Registers 2 1 0x0001 Response PDU Read Inputs Field Byte Value Function code 1 0x04 Byte count 1 2 2 x 1 Registers value...

Page 31: ...when input is cut off Example Model name is GXE600 24 Request PDU Response PDU 9 bytes of D 0 to D 8 are valid as character string data in the data bytes 2 Register Read Request PDU Read Inputs Field...

Page 32: ...character array of 8 bit data x 16 Valid as Serial number is data from the beginning to the terminating character NULL 0x00 Serial number is retained even when input is cut off 2 Register Read Request...

Page 33: ...haracter array of 8 bit data x 16 Valid as Lot number is data from the beginning to the terminating character NULL 0x00 Lot number is retained even when input is cut off 2 Register Read Request PDU Re...

Page 34: ...re The upper 1 digit indicates the integer part and the lower 3 digits indicate the decimal part Firmware version is retained even when input is cut off Example FW Version Value 1 001 0x1001 2 054 0x2...

Page 35: ...example of access to one register Multiple access is possible when the register address assignment is continuous Address allocated to register It is indicated the supported non volatile whether data i...

Page 36: ...XE will start from the default value each time AC input Volatile Because the register value is Volatile Remote On Off GXE follows the previously set remote on off signal Non Volatile Because the regis...

Page 37: ...data Error PDU Read Holdings Field Byte Value Value Function code 1 0x83 0x83 Exception code 1 0x02 0x04 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Value Function code 1 0x...

Page 38: ...ction manual for details of remote on off control using terminal input Remote On Off Volatile is used as remote control signal Remote On Off Non Volatile and Terminal input are not referenced Remote O...

Page 39: ...n 100 0 10 Larger bounces can be removed by increasing the number but the response to the terminal input will be delayed by that much Changing from the factory setting is unnecessary unless a large me...

Page 40: ...Value Function code 1 0x06 Starting Address 2 100 0x0064 Registers value 2 writing data Response PDU Write Holding Field Byte Value Function code 1 0x06 Starting Address 2 100 0x0064 Register value 2...

Page 41: ...voltage reference 1 0 0 1 Selection of output current reference 1 0 0 2 15 Reserved 0 Write 0 to the reserved bit Writing 1 is ignored Digital PV CC is not referenced when analog PV CC is selected Co...

Page 42: ...Value Function code 1 0x06 Starting Address 2 101 0x0065 Registers value 2 writing data Response PDU Write Holding Field Byte Value Function code 1 0x06 Starting Address 2 101 0x0065 Register value 2...

Page 43: ...p Reserved Impossible Write 0 to the bit for which setting change is impossible Writing 1 is ignored Refer the description of the Protection operation history register for details on the protection Ho...

Page 44: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x06...

Page 45: ...3 is returned when writing values outside the range The specification range of the PV reference value is 0 2 1 2 This register can also input out of range However the protection function may operate T...

Page 46: ...Value Function code 1 0x06 Starting Address 2 103 0x0067 Registers value 2 writing data Response PDU Write Holding Field Byte Value Function code 1 0x06 Starting Address 2 103 0x0067 Register value 2...

Page 47: ...lues outside the range The specification range of the CC reference value is 0 2 1 15 This register can also input out of range However the current ripple may increase Refer to the instruction manual f...

Page 48: ...Value Function code 1 0x06 Starting Address 2 104 0x0068 Registers value 2 writing data Response PDU Write Holding Field Byte Value Function code 1 0x06 Starting Address 2 104 0x0068 Register value 2...

Page 49: ...the nominal voltage Configuration data is retained even when input is cut off Register value Data Type Max Min Factory setting Unit Accuracy Normalization Q10 1 25 0 2 1 25 3 0 Integer notation 1280...

Page 50: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 51: ...imum current Configuration data is retained even when input is cut off Register value Data Type Max Min Factory setting Accuracy Normalization Q10 1 2 0 2 1 2 3 0 Integer notation 1229 204 1229 An exc...

Page 52: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 53: ...response Exception code 0x03 is returned when writing values outside the range This function is the setting of the reference value and it does not necessarily operate as set up Depending on the load i...

Page 54: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 55: ...esponse Exception code 0x03 is returned when writing values outside the range This function is the setting of the reference value and it does not necessarily operate as set up Depending on the load im...

Page 56: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 57: ...ue Data Type Max Min Factory setting 16 bit integer 10000 20 20 An exception response Exception code 0x03 is returned when writing values outside the range This function is the setting of the referenc...

Page 58: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x06...

Page 59: ...alue Data Type Max Min Factory setting 16 bit integer 10000 20 20 An exception response Exception code 0x03 is returned when writing values outside the range This function is the setting of the refere...

Page 60: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 61: ...tion code 0x03 is returned when writing values outside the range The PF detection threshold is compared with the detection target and when the target falls below the threshold value the PF signal is o...

Page 62: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 63: ...eration mode suitable for the user s system The PF detection threshold is set by the PF threshold setting register Configuration data is retained even when input is cut off The meanings of register se...

Page 64: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 65: ...longer than the set time the PF signal is output When the output returns to the PF detection threshold or higher within the set time the PF signal is not output The PF signal detection level is set i...

Page 66: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 67: ...factor continues to occur or the protection function specified for latch stop is operating the output will not be resumed even if the automatic recovery time has elapsed The factory setting is set to...

Page 68: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 69: ...cification that the alarm history remains even when the protection function with automatic recovery setting operates When the current alarm history is unnecessary this function can clear the alarm his...

Page 70: ...urned when writing values outside the range GXEs connected to communication line must have a unique slave ID Before connect to communication line set each GXE so that the slave ID does not overlap Thi...

Page 71: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 72: ...meanings of register setting values are shown below Description 2400 bps 4800 bps 9600 bps 19200 bps This register is used for opening the communication port when the power supply starts up and is not...

Page 73: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 74: ...ists of eleven bits of 1 start bit 8 data bits 1 parity bit 1 stop bit in the case of no parity it is 2 stop bits and the transmission length 11 bits are maintain This register is used for opening the...

Page 75: ...Registers value 2 Reading data Error PDU Read Holdings Field Byte Value Function code 1 0x83 Exception code 1 0x02 0x04 3 Register Write Request PDU Write Holding Field Byte Value Function code 1 0x0...

Page 76: ...o valid The scratch pad register block is open for host devices and GXE does not care about register contents GXE provides two pairs of scratch pad register blocks When accessing a register an arbitra...

Page 77: ...Function code 1 0x83 0x83 Exception code 1 0x02 0x04 0x02 0x04 3 Register Write Request PDU Write Scratch Pad 1 Write Scratch Pad 2 Field Byte Value Value Function code 1 0x10 0x10 Starting Address 2...

Page 78: ...Even parity Stop bit 1 bit By connecting to GXE with one to one by use this communication configuration you can confirm or change to communication configuration of GXE If the switch is disable DIS an...

Page 79: ...001 1001 It becomes a circulating binary decimal of 1100 from the bit weight of 2 4 Returning the value of this binary number to decimal number it will be 0 0999908447265625 it will not be exact 0 1 B...

Reviews: