Jump to content

Search the Community

Showing results for tags 'datatable'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • New! UniLogic V1.24 introduces VFDS from Unitronics!!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT--Looking forward
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy

Blogs

  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's

Categories

  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 4 results

  1. Hello! What's the difference in execution time between reading data from a data table and reading data from the PLC's memory? I'm trying to write a function that could use different parameter values, not sure if I could just read the parameter values from the data tables each scan or if that would significantly slow the PLC scan time. Otherwise, would reading the data table data into the PLC's memory just once, then referencing those operands be more efficient? The problem with this method would be then maintaining that memory. Thanks for your opinions!
  2. Have a real-time trend that my customer really wants to be able to compare to historic data. So, I came up with the following plan: - Real-Time Data is stored in a DataTable - call it DataTableCurrent - Allow User to Save DataTableCurrent contents into a History Data Table called HistOutput1 - When User enables History Trend, every time I write a row to DataTableCurrent, read the row from HistOutput1 with the same Row Number - Enable Trend Curve for destination Int from HistOutput1 And, viola - you get current data overlaying historic data of your choice. Trouble is, every time I run the Read Row From Data Table FB, I get zero as a result. Here is what I have checked and know for sure: 1) HistOutput1 does indeed have the data I want - I can export it to an SD and see exactly what I expect 2) The RowNumber I am trying to read is a valid number - I am using the same variable to write the current row in DataTableCurrent as I am to read the row from history, the two FB's are in the same rung and the variable cannot change 3) There are no data type mismatches - Everything is ML 4) The rung containing the Read Data Table Row is executing as the next FB in line is properly writing data to DataTableCurrent I'm kind of out of ideas as to what I need to check. From everything I can see, no matter what I do to call this FB I get a zero back. Screenshot attached of what I have now. The disabled rung below divides to give me a trend-able number, thought that was the problem but ML403 is always zero.
  3. Hi. I have a V570 that collects temperature readings and stores those on SD card. PLC itself is connected to local network and so is RaspberryPi that is supposed to work as a web server, that on request grabs that datatable from plc, makes it into nice graph and shows it to client. The thing is that currently when my RP tries to run the test code(below), it says that it is unable to connect to PLC with that unitID. In my PLC settings I have set unitID to 0. When I run same code on my PC, it works like it is supposed to. Thanks in advance. using System; using Unitronics.ComDriver; namespace RTTest { class MainClass { static PLC plc; public static void Main (string[] args){ Ethernet eth = new Ethernet ("192.168.1.190", 20256, EthProtocol.TCP, 3, 3000); Console.WriteLine(eth.Connected); try{ plc = PLCFactory.GetPLC(eth, 0); plc.EventAbortCompleted+=new PLC.AbortCompletedDelegate(plc_EventAbortCompleted); }catch(Exception e){ eth.Disconnect(); Console.WriteLine ("Error1:"+e.Message+"-->("+e.TargetSite+")"+e.StackTrace+"-->"+e.Source); } try{ Console.WriteLine(plc.Version.OPLCModel); Console.WriteLine (plc.PlcName); Console.WriteLine(eth.Connected); Console.WriteLine(plc.UnitId); }catch(Exception e){ eth.Disconnect(); Console.WriteLine ("Error2:"+e.Message+"-->("+e.TargetSite+")"+e.StackTrace); } Console.Read (); } public static void plc_EventAbortCompleted(){ Console.WriteLine ("dunno"); } } }
  4. Hello I want to read data tables from an V350. I know i can do that with the PCOM protocol, which is described (partially) in a document (VisionCommunication.pdf). This document describes how you can read the data, but you have to know the data table structure. I also want to read the data table structure my self. I know the data .NET Unitronics.DataTables.dll can do that, but i need it for another platform (microcontroller, programmed in C/C++). So my question is, is the protocol for reading the datatable structure available and/or is the source code of the Unitronics.DataTables.dll available? Regards, Alex
×
×
  • Create New...