Littelfuse SE-330 Скачать руководство пользователя страница 5

 

 

Page 1 

 

SE-330 Series (New Revision) Modbus/TCP Interface

 

Rev. 0-E-121117 

 
 

 

1.  G

ENERAL

 

  This  document  describes  the  Modbus/TCP  features 
supported by  the new revision SE-330, SE-330AU, and 
SE-330HV.  

Unless otherwise indicated, “

SE-330

 refers 

to  all  three  monitor  series  in  general.    The  Ethernet 
network communications interface supports the Modbus-
RTU  protocol  over  TCP/IP  using  an  encapsulating 
protocol called Modbus/TCP. 
  SE-330 ordering options 3, 4, 5, 6, 7 and 8 include dual 
Ethernet  ports  with  support  for  fiber-optic  or  RJ45 
interfaces.  See Figs. 1, 2, and 3. 
 

2.  M

ODBUS

 P

ROTOCOL

 

 

The SE-330 implements the Modbus

®

 TCP protocol on 

port  502.    The  SE-330  is  a  server  (slave)  and  can 
communicate simultaneously with 5 clients (masters). 
  Modicon  Modbus

®

  is  a  registered  trademark  of 

Schneider Electric. 

  All 

Modbus/TCP 

messages 

are 

essentially  

Modbus-RTU 

messages 

encapsulated 

with 

Modbus/TCP header, both of which are encapsulated in a 
TCP and an IP header.  The TCP/IP-header and Modbus 
RTU framing is beyond the scope of this document. 
 

2.1  P

ROTOCOL

 S

ETUP

  

  The  SE-330  can  be  configured  using  SE-MON330 
(version 3.2 or higher).  The IP address, subnet mask, and 
gateway can all be set for each of the network ports.  
  For more information, see the SE-MON330 help file. 
 

Note:  Ensure  that  each  port  is  configured  with  a 
unique IP address even if not used. 

 

2.2  E

RROR

 C

HECKING

 

  Modbus/TCP  uses  the  TCP/IP  checksum  and  error 
correction techniques to ensure reliable communications.   

  If the checksum is correct but the internal data in the 
message is not correct, the SE-330 will respond with an 
exception code. 
 

2.3  F

UNCTION

 C

ODES

 S

UPPORTED

 

  The  SE-330  Modbus  Protocol  supports  the  following 
function codes: 

 

Read Holding Registers (Function Code  3) 

 

Read Input Registers (Function Code 4) 

 

Write Single Register (Function Code 6) 

 

Write Multiple Registers (Function Code 16) 

 

Command Instruction (Function Code 5) 

 

2.3.1  R

EAD

 I

NPUT

/H

OLDING

 R

EGISTERS

 (C

ODE

 4/3)

 

  Function  Codes  3  and  4  are  used  to  read  the  register 
attributes listed in Appendix A.  
 

Function Codes 3 and 4 perform the same function in the 
SE-330. 
  Registers  in  Modbus  start  at  40001  decimal  and  this 
register address refers to register/attribute 0. 
 

Note:  For hexadecimal numbers, 0x precedes the 
value. 

 

2.3.2  W

RITE

 S

INGLE

 R

EGISTER

 (C

ODE

 6)

 

  Function  Code  6  writes  a  single  16-bit  value  to  the  
SE-330.  
  Provided  no  errors  occurred,  the  slave  (SE-330)  will 
return the original message to the master.  The response 
message  is  returned  only  after  the 

‘write’

  has  been 

executed by the slave. 
 

2.3.3  W

RITE

 M

ULTIPLE

 R

EGISTERS

 (C

ODE

 16)

 

  Function Code 16 is used to write multiple registers to 
the SE-330. 
  The  slave  will  reply  with  the  slave  address,  function 
code,  register  address,  and  the  quantity  of  registers 
written. 

 

2.3.4  C

OMMAND

 I

NSTRUCTION

 (C

ODE

 5) 

  Modbus Function Code 5 (Force Single Coil) is used to 
issue  commands  to  the  SE-330.    The  command  code 
actions  and  corresponding  coil  number  are  listed  in  
Table 1. 
 

TABLE 1.  S

UPPORTED

 C

OMMANDS

 

C

OMMAND

 

C

ODE

 

C

OIL

 

N

UMBER

 

A

CTION

 

0x0001 
0x0002 
0x0005 
0x0008 
0x0010 




17 

Remote Trip 
Clear Event Records 
Set to Defaults  
Remote Reset 
Remote Calibration 

 
  Except for a broadcast address, the slave will return the 
original packet to the master. 

 

2.3.5  C

OMMAND

 I

NSTRUCTIONS

 U

SING

 R

EGISTER

 

W

RITES

 

  For PLCs not supporting Function Code 5, commands 
can be issued using Write Single Register (Code 6) and 
Write Multiple Register (Code 16). 
  Commands are written to  SE-330  register 6 (Modbus 
register  40007).    Supported  commands  are  listed  in  the 
COMMAND CODE column in Table 1. 

 

When  using  the  Write  Multiple  Registers  function 

code,  the  write  should  be  to  the  single  SE-330 
Register  6.    If  multiple  registers  are  written  starting  at  
SE-330  Register  6,  the  first  data  element  will  be 
interpreted  as  the  command  code  but  no  other  registers 
will  be  written.    If  the  command  is  successful,  the  
SE-330 will return a valid response message.

 

Содержание SE-330

Страница 1: ... 3873 E mail techline littelfuse com www littelfuse com SE 330 SE 330 SERIES NEW REVISION MODBUS TCP INTERFACE Revision 0 E 121117 Copyright 2018 Littelfuse Startco Ltd All rights reserved Document Number PM 1204 EN ...

Страница 2: ...Page i SE 330 Series New Revision Modbus TCP Interface Rev 0 E 121117 This page intentionally left blank ...

Страница 3: ...ecifications 2 Appendix A Modbus Register Table 5 Appendix B SE 330 Series New Revision Modbus TCP Interface Revision History 12 LIST OF FIGURES FIGURE PAGE 1 Top View of SE 330 SE 330 X3 XX with Dual RJ 45 Ethernet Network Communications 3 2 Top View of SE 330 SE 330 X4 XX with Single Fiber SC and Single RJ 45 Ethernet Network Communications 3 3 Top View of SE 330 SE 330 X5 XX with Dual Fiber SC ...

Страница 4: ...Page iii SE 330 Series New Revision Modbus TCP Interface Rev 0 E 121117 This page intentionally left blank ...

Страница 5: ... 16 Command Instruction Function Code 5 2 3 1 READ INPUT HOLDING REGISTERS CODE 4 3 Function Codes 3 and 4 are used to read the register attributes listed in Appendix A Function Codes 3 and 4 perform the same function in the SE 330 Registers in Modbus start at 40001 decimal and this register address refers to register attribute 0 Note For hexadecimal numbers 0x precedes the value 2 3 2 WRITE SINGL...

Страница 6: ...p record format is not supported 2 6 NETWORK STATUS AND INDICATION Communication status LED s are located on the top panel of the SE 330 The Network Status NS LED will indicate solid green when there is link activity flashing green when there are no active connections and will flash red when any link has timed out 3 DATA RECORDS Event record information is located starting at SE 330 register 60 On...

Страница 7: ...Modbus TCP Interface Rev 0 E 121117 FIGURE 1 Top View of SE 330 SE 330 X3 XX with Dual RJ 45 Ethernet Network Communications FIGURE 2 Top View of SE 330 SE 330 X4 XX with Single Fiber SC and Single RJ 45 Ethernet Network Communications ...

Страница 8: ...Page 4 SE 330 Series New Revision Modbus TCP Interface Rev 0 E 121117 FIGURE 3 Top View of SE 330 SE 330 X5 XX with Dual Fiber SC Ethernet Network Communications ...

Страница 9: ...ad Only T9 Not used on SE 330AU or SE 330HV 22 EF GF Trip Latch Read Only T10 Not used on SE 330AU or SE 330HV 23 RF Trip Latch Read Only T10 24 Sensing Resistor Selection Read Only T11 25 Frequency Read Only T12 26 Spare Read Only T1 27 Upgrade Enable Read Only T13 28 Pulse Enable State Read Only T14 Not used on SE 330AU or SE 330HV 29 SD Card Status Read Only T17 30 Remote Reset State Read Only ...

Страница 10: ...y T22 71 RECORD_SETPOINTSTATUS Read Only T23 72 73 74 75 Watchdog Read Only T1 Always reads 0 Consult factory if not 0 76 Flash Healthy Read Only T24 77 Boot Section Read Only T25 78 79 80 Firmware Version Read Only T1 Start of SE 330 Backwards Compatibility Register Block 81 Trip Status Read Only T22 82 Setpoint Status Read Only T23 83 EF GF Trip Time s Read Only T15 84 EF GF Trip Level Read Only...

Страница 11: ... 3 132 Read Only T32 char 4 5 133 Read Only T32 char 6 7 160 SNTP IP Address R W T28 Low 161 R W T28 High 162 SNTP Poll Rate R W T6 Low 163 R W T6 High 164 SNTP Time Out R W T6 Low 165 R W T6 High 166 SNTP Status Read Only T33 Low 167 Read Only T33 High 168 SNTP Enable R W T31 Data Types TYPE C TYPE DESCRIPTION NOTES T1 Short 16 Bit Unsigned Integer T2 Long 32 Bit Unsigned Integer High Bits 31 16 ...

Страница 12: ...0 Not Latched T11 Short 1 20 k Sensor 200 k for SE 330HV 0 100 k Sensor T12 Short 1 50 Hz 0 60 Hz T13 Short 1 Run Mode 0 Upgrade Enable T14 Short 1 Open State of External Contact 0 Closed T15 Short SE 330 SE 330HV SE 330AU 0 0 1 s 100 ms 1 0 2 s 120 ms 2 0 3 s 140 ms 3 0 4 s 160 ms 4 0 5 s 180 ms 5 0 7 s 200 ms 6 1 s 250 ms 7 2 s 300 ms 8 3 s 350 ms 9 5 s 400 ms 10 10 s 500 ms T16 Short SE 330 SE ...

Страница 13: ...Internal Fault 0 No Internal Fault Will cause a EF GF and RF trip Bit 7 RMT 1 Remote Trip 0 No Trip Will cause a EF GF and RF trip Bit 8 Hardware Error 1 Internal Fault 0 No Internal Fault Will cause a EF GF and RF trip T23 Short Bit 0 EF GF 1 Earth Ground Fault Current Setting 0 Earth Ground Fault Current Setting Bit 1 RF 1 Resistance Trip Level 0 Resistance Trip Level Bit 2 CAL 1 Calibration Err...

Страница 14: ... k for SE 330HV 0 100 k Sensor Bit 3 S6 1 50 Hz 0 60 Hz Bit 4 S2 1 Fail Safe Trip Relay Operation 0 Non Fail Safe Operation S2 not applicable to SE 330AU Bit 5 S1 1 Trip Configuration K1 0 Pulsing Configuration K1 S1 not applicable to SE 330AU SE 330HV Bit 6 Not Used 0 Bit 7 Not Used 0 T28 Long IP Address a b c d High Bits 31 24 a High Bits 23 16 b Low Bits 15 8 c Low Bits 7 0 d T29 Long Long MAC ...

Страница 15: ...32 Char Register 0 Char 0 and Char 1 Char 0 at MSByte Register 1 Char 2 and Char 3 Char 2 at MSByte Register N Char N 2 and Char N 2 1 Char N 2 at MSByte T33 Long 1 Initializing 0 SNTP Synced 4355 Server Not Running 5122 No Route to Host 5392 No Route to Host T34 Short 0 All Diagnostic Codes 1 Critical Diagnostic Codes Only ...

Страница 16: ...HISTORY REVISION 0 E 121117 SECTION 2 Note added in Section 2 1 SECTION 4 Specifications updated REVISION 0 D 062515 SECTION 4 IP Addresses updated APPENDIX A Modbus registers 34 and 39 41 updated Registers 130 133 and 160 168 added Data types 31 32 and 33 added REVISION 0 C 071714 Remote calibration feature added SECTION 2 Remote calibration added to Table 1 APPENDIX A Remote calibration added to...

Отзывы: