-
Posts
415 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Everything posted by Gabriel Franco
-
Access UINT16 data from EIP EDS files
Gabriel Franco replied to Mike Johnson's topic in UniLogic Software
As you create EIP Scanner using EDS files, the tags are created automatically. You can access them as a regular tag, in your case should be EDS_GC_Series_Input.p_30th detailed error code Individual bits inside UINT tags, cannot be directly accesed. Use Test Bit FB. -
First of all, not all devices accept UPD. Initialize Ethernet, Modbus and socket as usual. There is not need to connect/disconnect to/from each slave. As you mentioned, just select a slave index and use Modbus FB to poll trhough all slaves. It may be necessary to add a little delay between devices (in my experience, minimum 100 ms), because of the fact of not having all datagram control present in TCP. However, this delay compared with connect/disconnect times makes UDP by far better than TCP in the overall performance.
-
Reading strings from modbus slaves result with wrong text
Gabriel Franco replied to Hoops123's topic in UniLogic Software
1. Create a new tag buffer type (array long enough to hold string lenght) and a new tag string-ascii type. 2. Create a new Modbus operation using buffer name. 3. In ladder, use copy buffer to tag. -
The following message is displayed on the screen sporadically: PLC Date/Time Date and time was set automatically to local time Press OK to continue The time and date do not change when the message is displayed. What does it mean? USP-070-B10 + USC-P-B10 Unilogic 1.33.236 PLC is connected to Internet, time auto-sync enabled.
-
Try 4 instead of 40004 (and so on) in address.
-
A common mistake some of us had made and you may double check: ethernet cable connected to ethernet port instead of Expansion port.
- 16 replies
-
- communication
- connection
-
(and 2 more)
Tagged with:
-
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: