Longo programmable controller LPC-2.MC8
4 OPERATION
There are several logical units attached with this module. They can be accessed from Smarteh IDE
application. Some units are enabled by default, others can be enabled through Smarteh IDE.
Unit is
enabled when any of its variables is used.
PLC has 32 kB of non-volatile memory, which is available to any variable used inside application,
simply by setting the variable Option to Retain.
PLC also provides 4 kB of ROM (flash) memory area to the user who would like to use some
initialization data or some fixed parameters. This area can be accessed from application only for
reading. Setting the values of variables in Flash can be issued with Flash uploader page
.
In Flash memory area there are some preloaded data stored:
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.223.
MASK:
default value is 255.255.255.0
Gateway, Primary DNS, Secondary DNS: default 0.0.0.0
Flash memory unit
This unit enables only reading from its variables. Setting the variables is issued with one of Smarteh
IDE plugins, Flash uploader page.
Flash unit provides reading of a portion of a flash memory inside MC8 module. Flash memory is non-
volatile, therefor keeps data for ever.
Usually this area is used for setting some data to the default value, even before installation of the
unit to its position. After, when PLC is commissioned, the data are already present and there is no
need for further setting. This keeps its data in this area some startup parameters can be written.
RTC unit
For RTC back-up and for Retain variables there is
Super Capacitor
instead of battery integrated
inside PLC. This way replacement of the discharged battery is avoided.
The Retention time is minimum 30 days from the power down.
RTC time provides date and time information. Along, alarming function is also supported.
Modbus slave unit
ModbusTCP slave has 512 addresses in each memory section.
Coils:
00000 to 00511
Discrete Inputs:
10000 to 10511
Input Register:
30000 to 30511
Holding Registers:
40000 to 40511
Supports up to 3 connections to the slave unit.
Scan rate is 500 ms or greater.
4