Jump to content

Gabriel Franco

Members
  • Posts

    416
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Gabriel Franco

  1. All comm parameters can be configured using Unilogic (Project | PLC Communications | Serial COM or from properties window of serial communication module under hardware configuration) within your application and can be modified using UniApps.
  2. About 100 rows. What I've done is to scroll down the table from row 0, loading entire row and comparing values, all in a kind of loop.
  3. 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. 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
  4. According to the specifications, Modbus slaves are unlimited. In addition to Flex´s comment, ID=255 is reserved on Modbus. Are you sure those slaves have 255 as ID designation?
  5. 1. Save the runtime value of each pump to a different file in a data table. 2. Load runtime column into a vector. 3. Use "Get Max" to find the maximum value within the vector. 4. Use "Data table find" with the maximum value from the previous step. It will give you the first row found that points to the desired pump.
  6. I would move to a brand (not Unitronics) that have redundant controllers (and I/Os).
  7. 1. Do not place more than one rung in each net. Split them. 2. You´re using the same ID (#1) to master and to slave. Fernando already mentioned where to change slave ID address. It´s highly suggested to use Modbus PC software (such as ModScan, Modbus Poll or any other) to debug communications.
  8. Maybe the funtion where you have this code, is not being called anywhere.
  9. Thanks Joe. I did not configured panel DNS, then must use IP instead of server name. Now, all queries work seamlessly using SQL Server 2012 Express or SQL Server 2014 Express.
  10. I´m getting the following error executing a query altough connection test is passed. 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 ?
  11. 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.
  12. You can use "Disabled Mode" option of the button and then reset its linked bit after password is entered.
  13. Are you running Visilogic with administrative privileges?
  14. These may help: https://support.unitronics.com/index.php?/selfhelp/view-article/Catastrophic-Failure---Visilogic https://support.unitronics.com/index.php?/selfhelp/view-article/Run-Time-Error-in-VisiLogic
  15. I´m able to place INT16 tags to C (Y1) and E (Y2), even A (input) is UINT16. Attach your program to take a look. Also, confirm Unilogic version
  16. 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.
  17. To do so, I would add an alarm pointing to e-stop with acknowledge bit. Then use this bit to resume process.
  18. 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
  19. Subroutine 02. Elevator Test is nt being called anywhere. Any subroutine (other than main) must be explicitly called anywhere in ladder or HMI (see links and jumps tab). Use this: MB8 O84 -|P|-----(X)
  20. The answer is no but what I do is to change online color from default red (I suffer of color blindness) to yellow. This is enough to me.
  21. I´ve used separated rungs with "Load DTI From file" block for each data table. As long as I know, the data table target (parameter A) cannot be indexed.
×
×
  • Create New...