lilics

MrPLC Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About lilics

  • Rank
    Hi, I am New!

Profile Information

  • Country France
  1. First of all, many thanks Sparky for your ideas. I have a BMX P342020 card, no IOScanner in this kind of cards
  2. Hello, I have a Schneider PLC M340 with an Ethernet port (BMX P34 2020) and I use Unity Pro S to program it. I used Modbus in TCP/IP, so the PLC is the slave of a PC Master. I need to know when the PLC lose the connexion to its Master, so I found in Unity Pro>Project Navigator>Communication>Net>Configuration>Messages> a variable called "Open Connexions" (I attached a picture of this window) which interests me - when the master is on is set to 1, and when the connexion is lost is set to 0. I don't find this variable in the PLC in order to use it in a program. I found with T_COM_ETH_BMX and the Function Block READ_STS some information about 502port (status of the port, IP ADDR, number of refused connexions, RAZ of the messages counter,...) and the variable %MW0.0.3.7 (Number of process messages in the 502 port). Thanks in advance for any new idea!