Page 3
24 months is valid from the date of sale to the end buyer, but not more than 36 months after delivery from Smarteh. In case of claims within warranty time, which are based on material malfunctions the producer offers free replacement. The method of return of malfunctioned module, together with description, can be arranged with our authorized representative.
Longo programmable controller LPC-2.CX1 2 DESCRIPTION LPC-2.CX1 is a communication module with a port for RS-485 communication. It's main feature is being a gateway for Modbus RTU or other UART protocols, exchanging data with the main module, where all of data is being interpreted. It also equipped with a MP3 player and an audio amplifier for an external speaker connection.
Longo programmable controller LPC-2.CX1 3 FEATURES Figure 1: LPC-2.CX1 module Table 1: Technical data RS-485 master port for Modbus RTU or other UART protocols MP3 player 10 W audio amplifier Internal 4 MB Flash USB for external memory or internal flash loading...
LPC-2.CX1 module can be controlled from main PLC module (e.g. LPC-2.MC9). Module parameters can be read or written via Smarteh IDE software. To use the LPC-2.CX1 module in your Smarteh IDE programming software configuration, you must select the universal module LPC-2.Cxx.
If protocol type Modbus RTU master driver is selected use the tables in this chapter numbered from 2 to 21. In the first column named Reg. are Modbus RTU registers. These are used for controlling LPC-2.CX1 module from the Modbus RTU Slave main module (e.g. LPC-2.MU1).
Page 10
Longo programmable controller LPC-2.CX1 Table 2: Communication settings, Modbus RTU mode 4xxxx, Modbus RTU Holding registers SmartehIDE output parameters → Time delay between Modbus No timeout Rx_TLG_Timeout → telegrams 1 .. 65535 1 .. 65535 ms → Timeout waiting for answer for...
Page 11
Longo programmable controller LPC-2.CX1 Table 4: TxBuffer, MBS1 Head, Modbus RTU mode 4xxxx, Modbus RTU Holding registers SmartehIDE output parameters Raw → Engineering data Reg. Par. Name Description → Not active → 101.L Slave_Address Modbus RTU port slave address 1 .. 255 SlaveID1 ..
Page 12
Longo programmable controller LPC-2.CX1 Table 6: TxBuffer, MBS3 Head, Modbus RTU mode 4xxxx, Modbus RTU Holding registers SmartehIDE output parameters Raw → Engineering data Reg. Par. Name Description → Not active → 109.L Slave_Address Modbus RTU port slave address 1 .. 255 SlaveID1 ..
Page 13
Longo programmable controller LPC-2.CX1 Table 8: TxBuffer, MBS5 Head, Modbus RTU mode 4xxxx, Modbus RTU Holding registers SmartehIDE output parameters Raw → Engineering data Reg. Par. Name Description → Not active → 117.L Slave_Address Modbus RTU port slave address 1 .. 255 SlaveID1 ..
Page 14
Longo programmable controller LPC-2.CX1 Table 10: TxBuffer, MBS7 Head, Modbus RTU mode 4xxxx, Modbus RTU Holding registers, SmartehIDE output parameters Raw → Engineering data Reg. Par. Name Description → Not active → 125.L Slave_Address Modbus RTU port slave address 1 .. 255 SlaveID1 ..
Page 15
Longo programmable controller LPC-2.CX1 Table 12: TxBuffer, Data, Modbus RTU mode 4xxxx, Holding registers SmartehIDE output parameters Raw → Engineering data Reg. Par. Name Description Start of transmit Modbus → 133.L Tx_Modbus_Buffer_Start 0 .. 65535 0 .. 65535 buffer End of transmit Modbus →...
Page 16
Longo programmable controller LPC-2.CX1 Table 14: RxBuffer, MBS2 Head, Modbus RTU mode 3xxxx, Modbus RTU Input registers SmartehIDE input parameters Raw → Engineering data Reg. Par. Name Description Number of successful → 111.L Rx_Counter 0 .. 255 0 .. 255 transactions →...
Page 17
Longo programmable controller LPC-2.CX1 Table 16: RxBuffer, MBS4 Head, Modbus RTU mode 4xxxx, Modbus RTU Input registers SmartehIDE input parameters Raw → Engineering data Reg. Par. Name Description Number of successful → 115.L Rx_Counter 0 .. 255 0 .. 255 transactions →...
Page 18
Longo programmable controller LPC-2.CX1 Table 18: RxBuffer, MBS6 Head, Modbus RTU mode 3xxxx, Modbus RTU Input registers, SmartehIDE input parameters Raw → Engineering data Reg. Par. Name Description Number of successful → 119.L Rx_Counter 0 .. 255 0 .. 255 transactions →...
Page 19
Longo programmable controller LPC-2.CX1 Table 20: RxBuffer, MBS8 Head, Modbus RTU mode 3xxxx, Modbus RTU Input registers SmartehIDE input parameters Raw → Engineering data Reg. Par. Name Description Number of successful → 123.L Rx_Counter 0 .. 255 0 .. 255 transactions →...
If protocol type Universal UART is selected use the tables in this chapter numbered from 22 to 26. In first column named Reg. are Modbus RTU registers. These are used for controlling LPC-2.CX1 module from the Modbus RTU Slave main module (e.g. LPC-2.MU1).
Page 21
Longo programmable controller LPC-2.CX1 Table 23: Communication settings, Universal mode 4xxxx, Modbus RTU Holding registers SmartehIDE output parameters → 0 .. 1000 0..1000 bytes → other AUTO (receive data 11,12 Rx_Data_Length Length of received data until timeout or buffer is full) →...
Page 22
Longo programmable controller LPC-2.CX1 Table 25: TxBuffer, Data, Universal mode 4xxxx, Modbus RTU holding registers SmartehIDE output parameters Raw → Engineering data Reg. Par. Name Description Start of transmit UART → 100.H 16 Tx_Buffer_Start 0 .. 65535 0 .. 65535...
Longo programmable controller LPC-2.CX1 4.4 Sound module command format Table 27: Sound module command format Length Command Parameters Checksum 1 byte 1 byte n bytes 1 byte Length is determined by the sum of all bytes in command. Length = Number of bytes: Length + Command + Parameters + Checksum Checksum is determined by summing the values of all bytes in the command.
Page 24
Longo programmable controller LPC-2.CX1 Table 32: Play USB file by index File index high File index low Command Checksum Length byte byte Table 33: Play USB file by name File name Length Command Checksum ASCII codes 54 (T) 30 (0)
Page 26
Longo programmable controller LPC-2.CX1 Table 46: Number of files in USB Length Command Checksum Answer → 00 00 .. FF FF 0 .. 65535 number of files Table 47: Number of files in USB in specific folder Length Command Folder name...
Longo programmable controller LPC-2.CX1 5 INSTALLATION 5.1 Connection scheme Figure 2: Connection scheme Table 51: RS485 RS485.1 RS485.2 RS-485 (A) RS-485 standard voltage levels RS485.3 RS-485 (B) Table 52: K1 K1.1 Not used K1.2 Not used K1.3 Not used K1.4...
Page 28
Longo programmable controller LPC-2.CX1 Table 52: K1 K1.5 + 24V DC External power supply for audio amplifier K1.6 K1.7 Speaker Output Speaker Output K1.8 Table 53: USB Mini USB Type B receptacle connector Table 54: K2 Internal BUS Data &...
Mounting instructions: 1. Switch OFF main power supply. 2. Mount LPC-2.CX1 module to the provided place inside an electrical panel (DIN EN50022-35 rail mounting). 3. Mount other LPC-2 modules (if required). Mount each module to the DIN rail first, then attach modules together through K1 and K2 connectors.
Page 30
Longo programmable controller LPC-2.CX1 Figure 4: Minimum clearances The clearances above must be considered before module mounting.
Longo programmable controller LPC-2.CX1 6 TECHNICAL SPECIFICATIONS Table 56: Technical specifications Power supply From the main module via internal bus Power supply for audio amplifier From the main module via internal bus or external 24 V DC Max. power consumption...
Longo programmable controller LPC-2.CX1 8 CHANGES The following table describes all the changes to the document. Date Description 17.03.23 Update of tables 25, 44 and 47. 28.02.23 The initial version, issued as LPC-2.CX1 module UserManual.
Need help?
Do you have a question about the LPC-2.CX1 and is the answer not in the manual?
Questions and answers