background image

Ethernet Module

 

MGC-PRO MicroDrive 

TCP/IP Interface 

 

 

 

20

 

 

5815,0001EN / Version 00 

 

 

Opening barrier – request 

 

Description 

Value 

12 

Transaction ID 

34 
00 

Protocol ID 

00 
00 

Length (Number of following Bytes) 

06 

MBAP 

Unit ID 

FF 

Function Code (Write Single Register) 

06 
00 

Register Address 

00 
00 

PDU 

Register Value 

01 

 

 

Opening barrier – response 

Description 

Value 

12 

Transaction ID 

34 
00 

Protocol ID 

00 
00 

Length (Number of following Bytes) 

06 

MBAP 

Unit ID 

FF 

Function Code (Write Single Register) 

06 
00 

Register Address 

00 
00 

PDU 

Register Value 

01 

Table 10: Example "Opening barrier", request and response 

 

 

5.2  Expanded access via modbus "Function Code 43/13" 

5.2.1  CANopen TCP/IP Interface  

 

In addition to the control via standard modbus, access to further 
parameters is possible via "Function Code 43/13". 

 See page 6, chapter 1.3 "Reference documents", document 

"Interfacing CANopen with TCP/IP". You may read and set the 
parameters of the control unit and all inserted plug-in modules via 
the expanded access.  

 

Содержание MGC-PRO

Страница 1: ...anual is a supplement to the operating instructions Barrier MHTMTM MicroDrive 5815 5001 and describes the Ethernet module Before using the Ethernet module read this handbook and the operating instructions Barrier MHTMTM MicroDrive carefully Doc ID 5815 0001EN Version 00 ...

Страница 2: ...n 10 3 2 Perform network connection 10 3 3 Network Configuration 10 3 4 Menu Ethernet of the control unit MGC PRO 11 4 Operation via web interface 12 4 1 Web interface 12 5 TCP IP Interface 16 5 1 Modbus 16 5 1 1 Function Codes 16 5 1 2 Address table 17 5 1 3 Examples 18 5 2 Expanded access via modbus Function Code 43 13 20 5 2 1 CANopen TCP IP Interface 20 5 2 2 Module addresses 21 5 2 3 Supporte...

Страница 3: ...this manual and in the operating instructions Barrier MHTMTM MicroDrive 5815 5001 For better overview the safety notes and warnings of the operating instructions Barrier MHTMTM MicroDrive are not repeated Before using the Ethernet module read this handbook and the operating instructions Barrier MHTMTM MicroDrive carefully NOTE This technical manual is valid as of the following firmware version 491...

Страница 4: ...ating instructions Barrier MHTMTM MicroDrive MAGNETIC Autocontrol GmbH info ac magnetic com 5815 0000 MicroDrive MGC MGC PRO Additional Information for System integrators MAGNETIC Autocontrol GmbH info ac magnetic com CIA309 1 CIA309 2 Interfacing CANopen with TCP IP CAN in Automation CiA e V www can via org MODBUS APPLICATION PROTOCOL SPECIFICATION Modbus IDA www Modbus IDA org Modbus Messaging I...

Страница 5: ...ively intended for expansion of the MGC PRO control devices by the function Ethernet The plug in module can only be operated installed in the MAGNETIC MHTMTM MicroDrive barriers This plug in module can be used to parameterise and control the MAGNETIC barrier MHTMTM MicroDrive via a web surface or Modbus TCP Installation connection and commissioning of the Ethernet module and operation via the Ethe...

Страница 6: ... data Designation Unit Value Current consumption mA 50 Data transfer rate Mbit s 10 100 Max line length m 30 Cable type Cat 5 Twisted Pair Plug type RJ 45 Default IP address 192 168 1 2 Supported services HTTP Web server ICMP ping TCP IP Modbus DHCP Client NetBIOS Table 2 Technical data ...

Страница 7: ...e ESD precautions and comply with them 1 Open barrier casing according to operating instructions Barrier MHTMTM MicroDrive Observe warning notes 2 Switch off power supply Ensure that the system is powered down Secure against reactivation The balancing springs in the lever system are relaxed 3 Take care when opening control unit cover 4 Plug in plug in module in a free slot NOTE Slot selection infl...

Страница 8: ...CE Property damage from improper network connection The service interface X9 RJ 45 socket at the control unit is used for service purposes This is not an Ethernet interface MAGNETIC assumes no liability for any damage from improper network connection Therefore Only qualified staff must connect the Ethernet module with the network Ethernet devices must only be connected to the Ethernet interface at...

Страница 9: ...arrier With the webserver switched off communication is only possible via Modbus Factory setting ON Information Displays information via the Ethernet module The serial number hardware version software number and software version of the Ethernet module are displayed Table 4 Menu Ethernet Operating view Main menu Ethernet Network settings Parameters Description MAC MAC address display NAME Plug in m...

Страница 10: ...le 5 If the customer has a DNS server you may also initiate the connection via the host name NOTE To prevent abuse of the barrier web server we recommend limiting access to the web server by measures in the customer s network You may switch off the web server via the display menu Boom operation Fig 1 Web surface operation of the barrier Use the check box Open high priority to open the barrier with...

Страница 11: ...GC PRO MicroDrive Operation via web interface Barrier operation not operational Fig 2 Web surface operation of the barrier not operational Barrier settings Fig 3 Web interface barrier settings 5815 0001EN Version 00 13 ...

Страница 12: ...net Module MGC PRO MicroDrive Operation via web interface Conditions of the in outputs Fig 4 Web surface conditions of the in outputs Loop overview Fig 5 Web interface loop overview 14 5815 0001EN Version 00 ...

Страница 13: ...thernet Module MGC PRO MicroDrive Operation via web interface Network Configuration Fig 6 Web interface network configuration Messages Reboot Fig 7 Web interface messages Reboot 5815 0001EN Version 00 15 ...

Страница 14: ...tion layer The PDU consists of Function Code and Data The modbus ADU Application Data Unit consists of MBAP Header and PDU at modbus TCP The Function Code of the message determines the modbus service to be performed Depending on Function Code Data includes additional information The MBAP header enables unique identification of the recipient of a message NOTE For more information on the modbus spec...

Страница 15: ... 16Bit 0 4 RW Barrier commands 0000 delete commands 0001 open 0002 close 0004 1 open high priority 0001 Status 32Bit RO Barrier status word 0003 Inputs 16Bit RO Conditions of the inputs of the MGC PRO control unit 0004 Outputs 16Bit RO Conditions of the outputs of the MGC PRO control unit 0005 Loop A 16Bit RO Status loop A 0006 Loop B 16Bit RO Status loop B 0007 Loop C 16Bit RO Status loop C 0008 ...

Страница 16: ...Function Code Read Holding Register 03 00 Starting Address 01 00 PDU Quantity of Register 02 Reading status response Description Value 12 Transaction ID 34 00 Protocol ID 00 00 Length Number of following Bytes 06 MBAP Unit ID FF Function Code Read Holding Register 03 Byte Count 04 Register Value HiHi 59 Register Value HiLo 80 Register Value LoHi 02 PDU Register Value LoLo 01 Table 8 Example Readin...

Страница 17: ... Bytes 06 MBAP Unit ID FF Function Code Write Single Register 06 00 Register Address 00 00 PDU Register Value 02 Closing barrier response Description Value 12 Transaction ID 34 00 Protocol ID 00 00 Length Number of following Bytes 06 MBAP Unit ID FF Function Code Write Single Register 06 00 Register Address 00 00 PDU Register Value 02 Table 9 Example Closing barrier request and response ...

Страница 18: ...0 Length Number of following Bytes 06 MBAP Unit ID FF Function Code Write Single Register 06 00 Register Address 00 00 PDU Register Value 01 Table 10 Example Opening barrier request and response 5 2 Expanded access via modbus Function Code 43 13 5 2 1 CANopen TCP IP Interface In addition to the control via standard modbus access to further parameters is possible via Function Code 43 13 See page 6 ...

Страница 19: ...es 0x20 to 0x24 To be able to access parameters of the Ethernet module the module address must be known 5 2 3 Supported commands NOTE For more information refer to reference document CIA309 1 2 Interfacing CANopen with TCP IP See to page 6 chapter 1 3 Reference documents The Ethernet module supports only a subset of the SDO commands defined in document CiA DS 309 section 4 1 Simple transfer Defaul...

Страница 20: ...1 Hi 00 Starting Address Lo 00 Hi 00 PDU CAN CiA DS309 Number of data values Lo 04 Reading cycle counter response Description Value 12 Transaction ID 34 00 Protocol ID 00 00 Length Number of following Bytes 12 MBAP Unit ID FF Function Code 2B MEI Type 0D Protocol Control 02 Reserved Field 00 Protocol Option Fields Encoded Data 00 Node ID 01 Hi 21 Index Lo 01 Sub index 01 Hi 00 Starting Address Lo ...

Страница 21: ...ex Lo 04 Sub index 01 Hi 00 Starting Address Lo 00 Hi 00 Number of data values Lo 01 PDU CAN CiA DS309 New Value 05 Setting programme mode response Description Value 12 Transaction ID 34 00 Protocol ID 00 00 Length Number of following Bytes 0E MBAP Unit ID FF Function Code 2B MEI Type 0D Protocol Control 03 Reserved Field 00 Protocol Option Fields Encoded Data 00 Node ID 01 Hi 21 Index Lo 04 Sub i...

Страница 22: ...b index 00 Hi 00 Starting Address Lo 00 Hi 00 PDU CAN CiA DS309 Number of data values Lo 09 Reading device name module 1 response Description Value 12 Transaction ID 34 00 Protocol ID 00 00 Length Number of following Bytes 1E MBAP Unit ID FF Function Code 2B MEI Type 0D Protocol Control 02 Reserved Field 00 Protocol Option Fields Encoded Data 50 Node ID 01 Hi 10 Index Lo 08 Sub index 00 Hi 00 Star...

Страница 23: ...y Check plug contacts Plug in Ethernet module again Firmware update not performed correctly Perform firmware update via the service module SM01 Ethernet module is not recognised The Ethernet module is only supported by the control units MGC PRO Check label or type sign of the control unit Firewall blocks access Configure firewall Network connection cannot be established No IP address Check DHCP se...

Страница 24: ...ANopen Controller Area Network Fieldbus system DHCP Dynamic Host Configuration Protocol Protocol for assignment of the network configuration to clients by a server HTTP Hypertext Transfer Protocol Protocol to transfer websites TCP IP Transmission Control Protocol Internet Protocol Internet protocol family MBAP Modbus Application Protocol Header Header in modbus TCP messages PDU Protocol Data Unit ...

Страница 25: ... programme mode 23 F Function 5 Function Codes 16 Supported commands 21 I Installation 9 Intended use 7 Interface 10 IP address Display 11 Setting 10 L List of abbreviations 26 Logic controller Module address 21 M MBAP 16 26 Menu Network settings 11 Menu Ethernet 11 Modbus 16 Address table 17 ADU 16 Expanded access 20 MBAP Header 16 PDU 16 Port 16 Specification 6 Module addresses 21 N Network Conf...

Страница 26: ...Web www MagneticGateOpeners com Phone 800 878 7829 Fax 330 650 9004 Email sales magneticgateopeners com ...

Отзывы: