-
Posts
407 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Gabriel Franco
-
Timer doesn't stop after RLO of FBD down
Gabriel Franco replied to timboekhorst's topic in UniLogic Software
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. -
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".
-
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.
-
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.
-
Display analogue inputs as REAL/FLOAT with decimal precision
Gabriel Franco replied to Ballza's topic in UniLogic Software
-
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.
-
How to delay a output in a sub-routine
Gabriel Franco replied to christopher's topic in Best Programming Practices
-
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.
-
FIFO Data table nos being populated
Gabriel Franco replied to Gabriel Franco's topic in UniLogic Software
Thank you. -
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
-
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.
-
Subroutines
Gabriel Franco replied to Arberhaziri's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
I´ve used conditional return from subroutines with no problems at all. -
Adjustment of Serial Comms settings within User Program
Gabriel Franco replied to Chris2's topic in UniLogic Software
Only in Uniapps as long as I know.- 4 replies
-
- serial communication
- uac-cb-01rs4
-
(and 1 more)
Tagged with:
-
Adjustment of Serial Comms settings within User Program
Gabriel Franco replied to Chris2's topic in UniLogic Software
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.- 4 replies
-
- serial communication
- uac-cb-01rs4
-
(and 1 more)
Tagged with:
-
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.
-
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
-
MODBUS master problem connecting remote slave(s)
Gabriel Franco replied to pascal's topic in UniLogic Software
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? -
"Indexed" Sort?
Gabriel Franco replied to RickL's topic in Vision & Samba PLC + HMI Controllers & VisiLogic Software
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. -
Maybe the funtion where you have this code, is not being called anywhere.