Jump to content

Gabriel Franco

Members
  • Posts

    415
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Gabriel Franco

  1. In Unilogic, is there an FB to find a row within a data table using more than one value? I mean, similar to "Data tables - Find row (extended)" used in Visilogic.

    image.png.80d314090140d6332da23724f910fb94.png

     

    Any ideas?

    I have something like the following table and need to find the row that contains different combinations of SCL AND STEP, e.g. SCL=1 AND STEP=2

    image.png.fa191df288a6b83987740513292bb9ae.png

     

  2. I´m getting the following error executing a query altough connection test is passed.

    image.png.45428340bbdc353e93980ac522ea63b2.png

    image.thumb.png.e6ecf89363efefc3376f1b8d84865dce.png

     

    I´m using an existing table created in Microsoft SQL Server 2014 - 12.0.2000.8 (X64).

    Also, I´ve given the "admin" user all required permissions as well as set all in firewall.

     

     

    Does SQL run only in SQL server 2012 11.xxx ?

     

  3. This is not a question. It´s a situation I realized and want to share it.

    As you might know, trend curve Ymin/Ymax properties constant values are limited between -9999 up to 9999 (4 digits).

    Using an MI (instead of constant value) AND if it is greater than 9999 AND viewing the page containing such trend, THEN that MI is automatically changed to 9999.

    Keep it in mind to, not to use trends with numbers greater than 9999.

     

    This behavior is by software design and confirmed by support tech guy.

    • Thanks 1
  4. Project name is not enough to make sure both, the PLC and disk, projects are the same.

    Compare project signature value with PLC signatureCheck (view | show signature log menu).

     

    Before any download, import PLC operands (from PLC to computer) to have an updated copy of all operand values.

     

     

    • Thanks 1
  5.  

    Some edits I did:

    - Added socket 0 init to communicate with Visilogic.

    - Change slave ID to 255, it´s the most common address for devices using Modbus TCP.

    - Change port number for socket 3, to 502.

    - Change start of vector to read values from slave, from 40004 to 4.

     

    Try using a modbus simulator to communicate with the slave to get relevant parameters such as ID and register addresses.

     

     

    Modbus TCP Master.vlp

×
×
  • Create New...