Home › Forum › Controllori SlimLine e Netsyst (LogicLab) › How to factory reset the SlimLine CPU module
- Questo topic ha 2 risposte, 2 partecipanti ed รจ stato aggiornato l'ultima volta 11 anni, 3 mesi fa da
Sergio Bertana.
-
AutorePost
-
Giugno 25, 2015 alle 12:16 pm #35817
Anonimo
InattivoI’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.Giugno 25, 2015 alle 12:26 pm #38987Sergio Bertana
Amministratore del forumThe 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).
Giugno 25, 2015 alle 12:55 pm #38988Sergio Bertana
Amministratore del forumAbout 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.
-
AutorePost
- Devi essere connesso per rispondere a questo topic.