Jump to content

Gabriel Franco

Members
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by Gabriel Franco

  1. I tested it and you are right. In my opinion, this is a bug . @Saragani Can you check it? I haven´t used TA in UDFB before, only TD or counters in ms, the last method to be able to pass "timers" to the UDFB when input parameter is a struct. If possible, call the functions without conditions.
  2. To whom may be interested: answer from Unitronics Support: "No option to force on power up, you can configure a tag with power up value and store the value to the output".
  3. VNC will meet your requirements. You can acces the PLC from multiple clients at the same time (but they will all see the same screen). It is also possible to configure two types of access: full control or view only. Delays depends on number of elements of each display.
  4. Is it possible to keep forces after power-up? I´m using USP-070-B10 + USC-P-B10 with some IO. Forced some inputs and outputs via Uniapps but after power-up all forces are deleted.
  5. In my projects, unlike my colleagues, I always use timers instead of counters. Reset timer at power-up checkbox means, timer will start over from preset value down to 0 if conditions are met no matter what preset is, if the originally downloaded or any modification you made online or from HMI. This is at least the behaivour I've seen in TD. This scenario is probably differente to TA and TE, due to their inherent retentive operation mode. Rarely I use TA nor TE so I cannot answer it. About prest value resetting to 0, I experienced the same thing one time, but it was caused of electrical spikes. In my projects I always use timers instead of counters. Resetting the timer in the power-on checkbox means the timer will start again from the preset as long as the conditions are met, no matter what preset it is, the one you originally downloaded, or any modifications you made online or from the HMI. This is at least the behavior I've seen in TD-like timers. This scenario is probably different from that of TAs and TEs, due to their retentive mode of operation. I rarely use TA or TE, so I can't answer for sure. About resetting the value to 0, I experienced the same thing once, but it was caused by electrical spikes.
  6. I´ve had this problem in the past. The solution to me was to change the port number (12 in the image) in device manager (Windows side) to a lower port. Currently I use port 4.
  7. I would use a machine state using an MI register to track the current step of each slave, e.g.: 10=reading slave 1 group 1, waiting for response. 12=no response slave 1. Jump to slave 2. 14=response ok slave 1 group 1. Process data 15=reading slave 1 group 2, waiting for response. 17=no response slave 1. Jump to slave 2. 18=response ok slave 1 group 2. Process data 20=reading slave 2, waiting for response. ... In my applications I´ve not needed to add delays between slaves.
  8. FIFO data tables are not populated while online. Also, the read and write buttons are disabled. Is this normal? Unilogic V 1.33.236. PLC: USP-070-B10
  9. I haven´t reviewed the program but, you mentioned Modbus RTU (serial) and are trying to communicate over Ethernet. Has the actuator Modbus RTU or Modbus TCP protocol?
  10. Post your code to take a look. It can be a myriad of things, most probably the protocol definition
  11. Since you want to share datatables between different PLCs, the easiest (easy in terms of a few lines of code) way I see, is to write DT from the source PLC to a SQL database, then any other PLC can retrieve data in any time asyncronously. For reference, my PLC program toom about 330 scan cycles to INSERT 50 rows. If you want to go faster, you would use Ethernet/IP, sending the entire data table (row by row) to each destination PLC.
  12. I´ve used conditional return from subroutines with no problems at all.
  13. 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.
  14. 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.
  15. 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
  16. 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?
  17. 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.
  18. I would move to a brand (not Unitronics) that have redundant controllers (and I/Os).
  19. 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.
  20. Maybe the funtion where you have this code, is not being called anywhere.
×
×
  • Create New...