Jump to content

Search the Community

Showing results for tags 'tcp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • UniLogic 2021-- UniCloud IIoT Cloud Platform, EtherCAT & 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
  • Motion! Servo Drives, Motors, Actuators, & VFDs by Unitronics
    • Motion: Unitronics Servo Drives, Motors, Actuators, VFDs--by Unitronics
  • UniCloud: the end-to-end IIoT Platform for Unitronics Controllers
    • Everything UniCloud!
  • 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 17 results

  1. Hello, I just have a small problem, and I keep on asking some simple stuff, because I'm new to Unitronics, and programming PLCs. I have a JZ20-J-UA24, and I want to read from it, and write via labview. This requires a modbus configuration. I looked at the sample modbus configuration on that unitronics supplies with U90 ladder, and some modbus forums on unitronics, but didn't clearly understand what to do next. So suppose I want to read on labview the temperature measured via a KTC connected to the PLC's analog input channel 1 displaying its value at the level of MI 19, how can I do that? A
  2. Hi. I'm an experienced PLC programmer but I'm new to the unitronics universe. I'm wondering if anybody can give me an example on how I can send and receive text strings over TCP client interface? I'll be using a UNIStream PLC to communicate with a robot arm using a TCP connection. I would like to connect to the robot on port 29999 to send different commands. The robot will then come with a reply. For example: Command sent to robot: "load <robotprogram.file>" Return value on success: "Loading program: <robotprogram.file>" Ret
  3. On upgrading my Unilogic program with compiler version 1.29.111, it now reports this error: 'The TCP Remote slave limit of 64 operations has be (sic) reached. (136)' The program previously compiled successfully with compiler version 1.29.26 and .34. I have 11 ModBus Remote Slaves on separate IP addresses, with 10 of which I request a single 64-register transfer, and the eleventh two 32-bit register transfers. If I remove all the Slaves and associated code, then the program compiles. If I then reinstate them it now compiles successfully! I have several versions of my program in d
  4. Hello, I have JZ20-J-R16, and I want to read values from output 1 on labview, but I just have a problem in trying to do it. My PLC doesnt have an Ethernet port, I can just connect it by means of a USB, or com port to my PC. So if I wanted to read from this PLC on labview by means of RTU communication, can someone please give out an easy code to do that (to configure the PLC, and thus assign the addresses to each port)? And if I bought an external mode that contains an Ethernet port and connected it to my PLC, would I be then able to communicate by means of TCP through labview? I need help o
  5. Hello, I am writing a communication program. I receive a string of data and need to compare it with a couple of parameters. Anyone? example : i receive : /X354,Y653,Z345/ my PLC needs to recognize : /X... , Y..... , Z.... / in the future i also need to parse this and display the values in different text boxes. thx in advance
  6. Hello, I am a new programmer in Unilogics. After I got to know Unilogics , I have to set up an TCP/IP connection. The PLC is the server. I already programmed a function for sending information to the Hercules ( on my laptop). Now I need to receive information back from my Hercules. I have tried a lot of options but it will not work. The Rx blocks count the right amount of byte's that is received. The problem lays ( I think) in the fact that OUT E from the Rx box doesn't go to 1. Also I dont get BOX E from de parse message box. If i made a scanned message for receiving it isn't standing t
  7. Hello, I am a student , also in PLC programming. After I got used to Unilogics I got a internship order. I need some help with TCP data Rx/Tx, especially with the programming ladder blocks. My program is now so far working that I can see that my PLC and Hercules ( on laptop ) are connected but then i can't get it working. First up i want to try to make a very simple light lit up when i received data. So I had it configured like in the image. The day before I programmed it like that I was able to see the quantity of byte's that was received in box D. But today with de configuring in
  8. Not so familiar with TCP_Client_Server in Unilogic. Can this be used to send AT commands to a device? I have a Bgan SAT unit with built in gps. I can telnet a AT command from my pc and receive the gps co-ordinates.
  9. At random times sockets 0 and 1, 20255 and 20256, server (slave) on V430 and SM43 are freezing up. Usually not both.... thinking it's more port 20255. I've played with the SI for timeouts. SB168 is set to power up at "1". it will still email, web server (V430) will still work, and usually port 20256 will work to let me connect and remote REBOOT the PLC, then the frozen port comes back to life. Any ideas!? I worked a long time on getting a reliable "EMAIL" logical construct; I believe I got that whipped and have had no issues lately. This STICKY PORT issue has plagued me for sometime. Any sugge
  10. Hi everyone! I´m using the four sockets in a Vision 130, and I need more! So, I tried to redifine a socket in run time according to some conditions, but I find out that once the socket was defined, I can´t redefine it. The socket is first initialized as TCP / Port 502 / Server. A Modbus IP configuration is attached to this socket, and running as Modbus IP Slave. Then, I close the socket... ...and redefine it as UDP The result is that the socket never loose the Modbus definition, and can´t connect via UDP. When the second socket definitio
  11. I'm attempting to communicate with a server (robot) using TCP Client Connect, Tx, and Rx. Upon making ladder logic changes, and re-downloading to the PLC, the TCP Client fails to connect (Socket State = 3, Is Connected = 0). If I change the IP address of the Panel/CPU, it works again. At first I thought this might be an issue with spamming the TCP Client Connect function, so I changed it to only run once upon startup. No luck. I also tried running a TCP Client Disconnect before the Connect with a time delay between the two. No luck. What ever changes I make, if i change the IP addre
  12. 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
  13. Hello world, is it possible to make Remote Operator to re-establish communication automatically after losing TCP connection? If negative, is there some workaround (e.g. some VBscript)? Now, if the connection is lost, only informing text appears on the screen and user has to click "stop communiaction" and "start communication" again to see the display. Many thanks for an idea, Michal.
  14. I'm trying to connect my PC with a Unitronics PLC. I would like to use Modbus over TCP/IP for this purpose. This is the first step in my project. Later on I would like to connect it to a Rabbit Wolf (BL2600) to exchange I/O. I first want to connect the Unitornics PLC to my laptop to get a decent understanding of the Modbus TCP/IP protocol used by Unitronics. At the moment I'm already stuck, so I hope that someone could help me. I did read the documentation about Modbus Application Protocol on: http://www.modbus.org/docs/Modbus_Application_Protocol_V1_1b.pdf I'm using the Unitronics exam
  15. Does anyone have a simple working example of the TCP RAW Send or TCP/IP Send? Im basically trying to simulate an HTTP Request to a web server and send over some variables. Ex: 70.166.55.128/?id=5&Name=Petey
  16. Hi there; I need to access MI area of a V1040 PLC through ethernet. I had written a code that communicate with PLC via serial port before for an another project. Now, I am planning to modify my code to run under TCP. At PC side, I am working with Delphi XE2 using Indy TCP client component. I tested these components on my network with another computers and they work properly. At PLC side, I am using socket 1, port #20256 and Protocol is TCP Slave.. (I think these are default settings of socket 1 so I don't need to add a socket init FB to my ladder, am i right?) PLC info mode says that
  17. I am currently working a program that is similar to a counter. It takes the photo eye pulses sends the TCP packet to a server. The server then interprets the message depending on which line the pulse is from the message will be different. Then updates a database. I am currently testing this program between two V130s. The socket connects it sends the information. It gets a successful bit back from the tcp layer. The problem I have is that the FB Scan just gives me a -1 in the index of message. From what the help says is an invalid format or message to be received. Review PLC master TCP/IP 1
×
×
  • Create New...