Smarteh LPC-2.MC9 User Manual - 4 Operation
Longo programmable controller LPC-2.MC9
4 OPERATION
After installation done only by qualified persons LPC-2.MC9 main module must be configured and
programmed with the appropriate user program using Smarteh IDE software.
Smarteh IDE software allows user to configure main module to its own requirements.
LPC-2.MC9 comes with factory predefined network settings:
MAC: is unique for every unit produced. This value can be also found on the label attached
on the housing of the unit.
IP: default value is 192.168.19.222
MASK: default value is 255.255.255.0
Gateway, Primary DNS, Secondary DNS: default 0.0.0.0
RTC unit
The main module has a real-time clock unit that can be accessed by user program via functions
described in the Smarteh IDE manual. RTC unit has super capacitor backup with retention time is
estimated up to 14 days.
RTC provides date and time information, while additional alarming function is also supported.
Modbus TCP/IP slave unit
Modbus TCP slave has 1024 addresses in each memory section.
Coils:
00000 to 01023
Discrete Inputs:
10000 to 11023
Input Register:
30000 to 31023
Holding Registers:
40000 to 41023
Supports up to 5 connections to the slave units (defined with MaxRemoteTCPClient parameter).
Highest scan rate is 100 ms.
CANopen unit
The CAN interface is designed as a CANopen interface in compliance with the CIA specification.
CANopen unit consists of Master (CAN1) and Slave (CAN2) communication ports. They are
independent, thus can be connected to two different CAN networks at the same time.
The ports can operate at baud rates 50 kbps, 125 kbps or 250 kbps.
It follows the internationally standardized (EN 50325-4) CAN-based higher-layer protocol for
embedded control systems. Advised rules and concepts by this standard must be followed to fulfill
the conditions and so achieving normal operation and results.
The structure of the network as cable type and lengths, baud rates, number of the nodes and
termination must be taken into account within the recommendations and requirements, when
designing the network.
The bus network can consist of at least one Master and at list one Slave node by the standard, but it
is advised that with increased number of nodes, the Master node fastest interval is extended. Below
are two examples:
Example1: network with 1 master and 9 slaves, every slave have defined 32 (4x8) byte of data and
baud rate 125 kbps. Fastest Cycle time for this configuration is 50 ms.
4