background image

Longo programmable controller LPC-2.NE1 module

 

OPERATION

4.1 IP and MAC setting

Module uniquely assigned MAC is not saved in NE1 module memory. MAC belonging to 
each module is  written on the label on the housing. Module gets its IP & MAC parameters 

from PLC application, therefore this values should be used in application running in the 
main control unit to which module is attached. This parameters are configured with 

following variables:

variable name

value 

NE1_x_IP1

NE1_x_IP2
NE1_x_IP3

NE1_x_IP4

most significant byte of IPv4 address notation

                                :
                                :

least significant byte of IPv4 address notation

NE1_x_MAC1
NE1_x_MAC2

        :
NE1_x_MAC6

first hex noted pair of OUI 48-bit MAC notation
second hex noted pair of OUI 48-bit MAC notation

                                :
last hex noted pair of OUI 48-bit MAC notation

4.2 Modbus protocol usage

LPC-2.NE1 Ethernet adapter is Modbus slave device and supports Modbus commands as 
defined in protocol specification V1.1a,  using TCP/IP protocol, RTU transmission mode, ISO 

OSI model.

Device address supported by LPC-2.NE1 module:

Coils (bit): 128

Registers (word): 64

Functions supported by LPC-2.NE1 module:

01 (0x01) Read Coils

02 (0x02) Read Discrete Inputs

03 (0x03) Read Holding Registers

04 (0x04) Read Input Registers

05 (0x05) Write Single Coil

06 (0x06) Write Single Register

15 (0x0f) Write Multiple Coils

16 (0x10) Write Multiple Registers

NOTE:

  If   Modbus   parameters   are   not   valid   (illegal   address,..),   module   replies   with 

exception code response.

For   better   understanding   of   Modbus   protocol   refer   to  

www.modbus-ida.org

  and 

Modbus_Application_Protocol_V1_1a.pdf document.

7

Содержание LPC-2.NE1

Страница 1: ...USER MANUAL Longo programmable controller LPC 2 NE1 module Version 4 SMARTEH d o o Trg tigrovcev 1 5220 Tolmin Slovenia Tel 386 0 5 388 44 00 e mail info smarteh si www smarteh si...

Страница 2: ...Longo programmable controller LPC 2 NE1 module Written by Smarteh d o o Copyright 2012 SMARTEH d o o User Manual Document Version 004 July 1 2012 i...

Страница 3: ...de damage due to transport or because of unconsidered corresponding regulations of the country where the module is installed This device must be connected properly by the provided connection scheme in...

Страница 4: ...ler LPC 2 NE1 module 1 DESCRIPTION 1 2 FEATURES 2 3 INSTALLATION 3 3 1 Connection scheme example 3 3 2 Mounting instructions 5 3 3 Module labeling 6 4 OPERATION 7 4 1 IP and MAC setting 7 4 2 Modbus p...

Страница 5: ...intended to connect LPC 2 standalone system with LAN It acts as Modbus slave device using TCP IP protocol IP and MAC addresses are configurable from main controller module application NOTE For proper...

Страница 6: ...2 NE1 communication module Table 1 Technical data Compliant to Ethernet II and IEEE802 3 10Base5 10Base2 10BaseT 10Mbps IP and MAC address management Modbus slave device mode TCP IP protocol Modbus co...

Страница 7: ...Longo programmable controller LPC 2 NE1 module 3 INSTALLATION 3 1 Connection scheme example Figure 2 Connection scheme example 3...

Страница 8: ...e Table 3 marking and indication LED1 RUN status OFF no power supply ON power supply present UART communication to LPC 2 MC7 not active BLINK ON every 4s for 1s power supply present UART communication...

Страница 9: ...t each module to the DIN rail first then attach modules together through K1 and K2 connectors 4 Connect devices and sensor wires according to the connection scheme in Figure 2 5 Switch ON main power s...

Страница 10: ...8 year of production Label 2 description 1 S N NE1 S9 0800000003 is the serial number NE1 short product name S9 user code test procedure e g Smarteh person xxx 08 year last two cyphers 00000003 curren...

Страница 11: ...n second hex noted pair of OUI 48 bit MAC notation last hex noted pair of OUI 48 bit MAC notation 4 2 Modbus protocol usage LPC 2 NE1 Ethernet adapter is Modbus slave device and supports Modbus comman...

Страница 12: ...Modbus functions NE1_x_bOUT001 NE1_x_bOUT002 NE1_x_bOUT128 Discrete input bit size 1 2 128 0x02 NE1_x_bIN001 NE1_x_bIN002 NE1_x_bIN128 Coil bit size 1 2 128 0x05 0x0F 0x01 NE1_x_wOUT001 NE1_x_wOUT002...

Страница 13: ...ection type RJ45 FM connector suitable mating RJ45 male cable connector Dimensions L x W x H 90 x 18 x 60 mm Supported protocol Modbus TCP slave Weight 50 g Ambient temperature 0 to 50 C Ambient humid...

Страница 14: ...following table describes all the changes to the document Date V Description 1 7 2012 004 CGP General update 11 5 2010 003 Updated warranty permanence 23 3 2010 002 added Label 3 description 23 4 200...

Страница 15: ...Longo programmable controller LPC 2 NE1 module 7 NOTES 11...

Отзывы: