Jump to content

Search the Community

Showing results for tags '.Net'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • Latest Release! UniLogic Spring 2020--Loadcell, BACnet IP Server and more!
    • 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, OPC UA
  • 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

Calendars

  • Community Calendar

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

Categories

  • New Features
  • Other

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 13 results

  1. I've seen a couple of examples explaining using the .net library to read/write multiple MI's/MB's during a single call is it possible to read discrete I/O, Counters, Timers as well as MI/MB/DW/MF/ and SB in one call to the PLC using the .net library? Could you provide an example of the function, and then is there detail of the array structure that's generated on the PC side. Thanks -a
  2. Hi, As another user, i'm tring to read a timer value by using com driver .net and I 've got an exception (see the attach file). Have you got a solution. Thank you
  3. Hello, I'm having an issue with getting the .NET driver to connect and read values. I am having no problems connecting using Visilogic, but when I take those properties and use them in the .NET driver they don't seem to be working. The interesting this is that I'm not getting an exception, so my application believes the driver is connected, but looking at the properties for the Ethernet object it appears not to be. When I put a break point on the oPLC object, it states that the object could not be evaluated because the previous function had timed out. When run it down to the
  4. Good afternoon, Is it possble to upload a PLC program from a connected PC programmicly? I've using the Vision 230 in a peice of equipment with 100+ installations around the world, recently we added several features that we need to distrubute to all the PLC's From a hardware standpoint, we have a supervisory computer connected to #1 RS232 port. We distrubute the PC Superviory software via windows click-once, I'd like to build a batch file that would run post appilcation installation to update the PLC. 1) has anyone every done a project that the PLC code is distrubuted with a Visu
  5. Hello, I have a .net application that connects to a 570 via RS-232 using System.IO.Ports.SerialPort. Normally, it will connect. However, when playing with different baud rates, it sometimes does not connect until I connect the same PC with any Unitronics software (Visilogic or Remote Operator). My question is this: With VIsilogic, it appears that you can define the baud rate to anything in the connection properties and it always connects. How does the controller adapt accordingly? I think "out of the box", the rate is set to 115200. If I change my application to 57600, it failes to
  6. hello, I.m a newbee and I'm developing a scada application, and I want to connect with multiple plc's using UniOPC Server. Scada is developed in C# .net and I'm using for opc client: OPC .NET API 2.00 Redistributables. For connecting to uniopc server, i need the name and location for the server: Thanks in advance.
  7. How would I retrieve the hardware serial number from the V230 throught the .net interface? Currently I'm following the documented example of plc = PLCFactory.GetPLC(serial, 0) Dim version As PlcVersion = plc.Version System.Diagnostics.Debug.Print(version.OSVersion) System.Diagnostics.Debug.Print(version.HWVersion) System.Diagnostics.Debug.Print(version.OPLCModel) System.Diagnostics.Debug.Print(version.Boot) plc.RTC = DateTime.Now ' write current time and date to the PLC Thanks Aaron
  8. Hi all, Im having a new application in which i want to fetch data from 5 - V130 Plcs and store into a database(MS access). Im planning to poll plc data by c# code. for just a serial interface i can get the data from the plc. But how can i call each unitID? Is there any examples for modbus c# codes. send me someguidelines. Thanks in advance, Jerin....
  9. All, I need to write to a timer preset and am getting an 'object' error using the .net driver. I'm sort of between a rock and a hard place... THanks in advance. Below is the 'function' that attempts to write - Public Function Write_TimerPreset(ByVal tmrIndex As Int16, ByVal TmrValue As integer) As Boolean Dim values As Object() = New Object(2) {} Try values(0) = DirectCast(TmrValue, Object) Catch System.Windows.Forms. MessageBox.Show("One of more of the values are not valid") Return False Exit Function End Try Dim wo As WriteOperands = New WriteOperands() With wo .NumberOfOp
  10. Hi, We are using datatables in V570. Trying to write to the first column in the first table in V570, address 0 – which is a Integer column. I’m not able to write to it, I Just get an UserInputException (Invalid write values). I’m able to read the same column, using the same addressing. What’s wrong with my code? Public Function WriteTableFeedPlan(ByVal FeedPlanId As Integer) Dim rw() As ReadWriteRequest = New ReadWriteRequest(0) {} Dim StartAddress As UInteger = 0 Dim NumberOfBytesToWriteInRow As UShort = 2 Dim NumberOfRowsToWrite As UShort = 1 Dim RowSizeInBytes As UShor
  11. Good morning, I'm reviewing the .net verision of the Com Drive, I've got an applicaiton that requires serial communication between the PC and the PLC occur on a seperate thread from the UI due to performance concerns. Has anyone done this successfuly and would you be willing to share the .net class code? Thanks a million, any help would get me out of a pickel. Aaron
  12. People who see the SD Card Explorer in action usually sometimes wish to have the same functionality in their own application.Some of them contact Unitronics in order to get some details on the protocol, or ways that they can do the same, while others fear from the worst: that it's a lot of work.I know very few people that will be happy to write the whole protocol by themselves.The only guy I can think of in that matter is Ash Nielson... I have no idea where he gets his strength and energy from, but the solution for this problem is actually simpler than you think.You don't have to be energetic
  13. You are probably saying to yourself "Hey, you promised that the next episode of 'Build your own SD Card Explorer' will be published, so how come Saragani posts about something else?"Well, I actually said that the next episode will be posted next week :-)It is going to have a lot of code and it will be a lot of work writing it so I might split it to few pieces.Besides, I can use this blog entry to post about new features of the Com Driver.I wrote this multi listener a while ago, but the source code of the communication driver was not published since then.You might assume that writing the Multi-
×
×
  • Create New...