Vai al contenuto

How to factory reset the SlimLine CPU module

Home Forum Controllori SlimLine e Netsyst (LogicLab) How to factory reset the SlimLine CPU module

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • #35817
    Anonimo
    Inattivo

    I’m using SlimLine CPU module (Full RS485) with Picoface HMI. During the testing it was happen to the error and we can’t download to SlimLine controller anymore (See screenshot). To mistake from our engineer who was download COM0 instead of COM2. After that it happened to error message and the CPU have failure so far. So I have a couple of questions.

    1. How to reset (factory initialized) in slimline PLC
    2. Could you send sample program for RS 485 application with other RS-485 communication module.

    #38987
    Sergio Bertana
    Amministratore del forum

    The problem is due the fact that you are connected to the target system by using the serial line COM0. The LogicLab is using a modbus RTU protocol over the serial line to communicate with the SlimLine CPU module. In your program you have configured the COM0 to be used with the ModbusMaster FB, so it has been detached from the operating system and now it’s impossible to communicate with it thru the COM0. There are many ways to solve the problem.

    First if your CPU module has more than one serial port you can use another port instead of the COM0 to connect to it the PC that runs the LogicLab program. You can use also the COM2 in RS485 half duplex.

    If your CPU module has only the COM0 you can connect to it by using the Ethernet (If the CPU module has it) or the USB cable (Using RNDIS driver). I remind that on both these cases the connection is a TCP/IP connection and you have to set the LogicLab to communicate with the Modbus TCP/IP protocol by defining the IP address of the CPU module (Default is 192.168.0.122 on Ethernet, 192.168.1.122 on RNDIS) on TCP port 502.

    It’s obvious to remind that the TCP/IP conection is the best way to connect to the CPU module, thru it you can have many concurrent connections, LogicLab connected on modbus, a Telnet connection on port 23, it’s possible to transfer file with the FTP protocol, it’s possible to browse web pages with the HTTP protocol.

    Anyway there is an emergency way to connect to the CPU module, by connecting the COM0 to a PC and using the Toolly program, it’s possible to activate on Tooly the CPU catch sequence. This sequence permits to capture the module during it’s power up (See the topic).

    #38988
    Sergio Bertana
    Amministratore del forum

    About the RS485 communication with other module, the forum is full of examples, unfortunately they are in Italian but by using Google translator it’s quite easy to translate the topics in english. All the programs on this forum can be downloaded and it’s easy to understand them. They are all well documented and on the topic, it’s explained how they work.

    You don’t tell if the communication is made by a modbus protocol or if you want to develop your own protocol. A communication example with a energy meter can be found in this topic.

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Devi essere connesso per rispondere a questo topic.