Gambit

MrPLC Member
  • Content count

    2624
  • Joined

  • Last visited

Posts posted by Gambit


  1. I guess you would have to change it in the sotfware to a RJ71EN71(Q) module.

    However I was thinking the comm only restarts after a rst of the PLC right.  This probably means the modbus master/client is trying to open the port again which is already open.

    By default the keep alove should be active which means the port will close automatically but after a certain time. By Deafult this is about 10 min maybe with retries 30 min.

    You should try and change the destination Alaive check start interval to a a few seconds and check if the port closes.

    The best would be to match the setting of the master/Client 

     

    Screenshot 2023-08-03 103520.jpg


  2. Hmm either it's the wrong module number or it's not accepting the command.

    Can you double check the IO number by a screenshot of you System Diagnostic. IO number should be above the module

     

    p.s. In your post you mention an R08.. the diagnoistic says R16 ???


  3. The inconsistency has nothing to to with the program not being complete.

    It just means that if you donwload symbolic once and after that you only download the program it's not consistent with the symbolic info.

    1 person likes this

  4. U is just the IO adress of the module but you only specify three of the four digits. So If your module has IO adress 0200 you enter 20.

    For D you just enter a bit lime M1000 which will turn on after the instruction completes

    S is the first word of 6 consecutive words. (create an array)   for instance Controword[0]

    All the words should have the value 0 as you don't really want to change anything just reset the module.  

    Something like this:

    Screenshot 2023-08-03 103520.jpg


  5. I don't think it is possible. You can set an inpu for run/stop. 

    So you would be able to do that from the HMI. alternatvily you could set an output which breaks te power to the plc.

    But why do you need to rst the PLC ? Isn't it better to solve the problem ? 


  6. yes you can just click the alarm itself and have a pop up screen come up.

    I think i have an example somewhere where i use the alarm number for the comment number so i only need one pop up screen/

    took the other pages out but it should still work or give you an idea how to recreate it

    I took the comment number instead of the alarm number but both are possible

    Example_Alarm.GTX


  7. The DSCL2 instrucion is scaling with the option to have multple ranges. However this is only for intger values (16 or 32 bit)>

    You would either convert your real to intger values do the scaling and then make them floats again. 

    or just multiply the reals with the Gain and add the offset

    In you case (0-1200) to (0-100) the gain would be 0.0833333 and the offset 0.

     

    1 person likes this

  8. M8000 are the old FX special. The FX5 is more like the system Q/iQ-R SM400 etc.

    As for mofbus there is an example program in your e-manual

    See PAGE ID: JY997D56101-6B in your e-manual viewer

     

    I expect you want serial modbus because you don't need any porgramming for modebus TCP/IP


  9. If you  replaced an FX5 with another FX5 than the porgram schould be the same and the GOT should be able to comm.

    Have you checked the diagnostics from the HMI and Ethernet diagnostic in the FX5 ?