Search the Community

Showing results for tags 'socket program'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 37 results

  1. Hello i'm new in all things about plc, i do a project for school and i use a festo fc 34 plc. The plc is programmed via serial port RS232 my pc not support a serial interface and i use a RS232 to usb adapter. when a try to download the program to plc give me a error: "ERROR: Cannot access controller".  What i do wrong.  Thank you in advance and sorry for my English. Have a nice day.
  2. Looking for Socket TCP/IP communications program examples for Mitsubishi PLC iQ-R R04CPU using GX Works3, to compliment the Mitsubishi Ethernet manual Socket commands instructions. Unfortunately, the manual is missing real application ladder logic illustration examples of these commands. For example, the Socket Open Connection command, does not describe in what order or format to enter the IP Address.   For example, to enter IP Address, does the most significant octet 192 is entered or stored first in the lowest memory storage register (Big Endian format) or does the least significant octet 100 is entered or stored first in the lowest memory storage register (Little Endian format)? I am trying to write a simple Socket TCP/IP communications command that will write about four registers from an existing Mitsubishi PLC R04CPU (Socket Client) to an Allen Bradley PLC ControlLogix (Socket Server). .
  3. I'm using Controllogix L61 redundancy system as a slave with DCS using ethernet tcp/ip socket programming. The communication between master and slave will fail after a switchover. Kindly give solution for this. Thanks and regards, Rasu
  4. CX-Thermo program

    Hello, I am working with e5cc-t programs, for heating application. I need to find a way, to start program, when temperature reaches set-point of first (no. 0) segment. I think that, there should be some kind of setting, but i cant found it.. I've done this with PLC, but this is not an solution for this application. in conclusion: After program starts, it has to reach set point temp, and then hold temperature for certain time.  
  5. Hi everyone, I'm a newbie in the ladder logic programming languages. For my thesis project I've to develop a scenario but I'm stuck with the creation of a socket connection from the Modicon M340 PLC to a server for transfer continuous data given from sensors or similar. Does anyone have a sample program that could have such a functionality so that I can change it based on my needs? Thanks in advice for any further reply!
  6. Version 2.0.2


    free HMI/SCADA program WebN Server 2.0 (freeware) * manual & program download site : * Web-N Server 2.0 (freeware) - PLC interface demo video :* Android phone app download : ... .en2&hl=en- Windows 7/8/8.1/10 x64, .NET frameworks 4.6 over  - Mult-Language (tool language, view page language)  - PC monitor, Web browser monitor, Smartphone monitor - (Design once and monitor on multiple instruments)   Unlimited number of tags    Unlimited monitoring time    1,024 concurrent connections    Unlimited upgrade    Unlimited connection of       equipment (PLC, DCS, DDC ..)    Unlimited app push message   No Software fee    No installation cost    No registration fee    No license fee    No cost to use    No upgrade cost    Free Redistributable      
  7. free HMI/SCADA program Web-N Server2.0 (freeware) View File Program download site :   Web-N Server 2.0 - video for PLC interface demo :   - Windows 7/8/8.1/10 x64, .NET frameworks 4.⁠6 over - Mult-Language (tool language, view page language) - PC monitor, Web browser monitor, Smartphone monitor   (Design once and monitor on multiple instruments)   Unlimited number of tags Unlimited monitoring time 1,024 concurrent connections Unlimited upgrade Unlimited connection of equipment (PLC, DCS, DDC ..) Unlimited app push message   No Software fee No installation cost No registration fee No license fee No cost to use No upgrade cost Free Redistributable =============================================== Submitter webn Submitted 08/29/17 Category Free Utilities
  8. CJ2 to V680S (ETN version) using Socket Service function blocks View File This is a short bit of sample code using Socket Service function blocks to read and write data from / to a V680S RFID tag using the Modbus TCP (-ETN) version of the V680S. Submitter Michael Walsh Submitted 04/09/16 Category PLC Sample Code
  9. Socket communication with Micro820

    Hi everyone ! I have a little project wich involves communication between two Micro820 controllers via TCP/IP. To do that, I started to work with TCP/IP socket. Within CCW (Connected Components Workbench), I tried to create a new socket instance using the instruction SOCKET_CREATE and set the socket address to Basically, my computer through the FTP port. The problem was that it couldn't create a new socket instance (error variable is set to TRUE and status is set to 4, wich I don't know the meaning) because I didn't have a server-side application that listens to TCP/IP socket requests. That said, I found an open source application called SocketTest that listens for TCP/IP socket requests on a specified IP address and port. So, I started a listener on the following address :, but the error variable is still set to TRUE and status is still set to 4. So, my questions are : Is my IP address OK ? Is my port number OK ? What means the status code 4 ? Is SocketTest doing what I think it does ? Do I need to do something else before using the SOCKET_CREATE instruction ? Thank you in advance for your help !
  10. I got a CJ1M CPU11 that I can connect to but I can just go to run mode but when I try to switch to program mode I'm tell that I can modify the mode
  11. Q03UDVCPU UDP Connection

    Is there someone who has well known of UDP socket communication between Q03UDv CPU or Q03UDV and LCPU? I try to establish a socket between 2 Q03UDV cpus. Inittially evrything goes ok but after some days of well communication the socket breaks down. The connected HMI (GT1675) becomes inactive or responds extra too slow. In order to re-establish the socket comm i have to reset the cpus. I think it is ubnormal!!! Attached you can find the program of socket connection Do you know if the SC_SOCOPEN and SC_SOCCLOSE  instructions are requested? According to the manual "Q PLC Comm Via Bulit In Ethernet Port - 01042010 SH(NA)080811 Version C) on page 3-35 I think that instructions are not requested Thank you in advance for any help!  
  12. hi.  i want to make some program that work with indirect adress. example, i make program with many much type. I make with Got-1000 mitsubishi.   can you bring me some example? i am sorry, my english is Bad
  13. Rslogix 5000

    I am unable to read FBD program in RSlogix 5000.It says editor not downloaded.I m able to see ladder logic programs.
  14. Micrologix 1000

    Im having some trouble with a PLC and looking for a some help. Whats happening is output number 3 is stuck on. I thought maybe it was just the PLC. I pulled the program tried it on a new PLC with no luck. I checked for faults and the handheld shows no major faults. The output that is stuck on is for a door, its telling it that the door is open. Any help would be great.
  15. Beckhoff PLC Counter

    Hi everyone, I need some help with my PLC programming. I am currently using a twincat 2 software and a Beckhoff CX 8090. Basically, the gist of my program is to send and receive data and datalog the input data received from the sensors and timestamp the received data for every 1 second. I want to create a boot up counter where it will count the number of times my data logging program has restarted(if it did). This boot up counter serves as a health monitoring check to ensure that my program is running perfectly and thus, not restarting randomly when it shouldn't. I am more familiar with structured text so if you have a solution, kindly post it in structured text form. Your help would be greatly appreciated. Best regards, DeadPool
  16. Logix Designer ReadSocket Message

    Hi all, I'm having a hard time with this socket service to consistently read all of my data. It seems like there is a race condition where I miss a status of the Message instruction. If you have any insight, it would be much appreciated. Thank you. My application data is greater than 484 bytes, it can be variable up to hundreds of thousands of bytes. I've began to notice that when there is a lot of non-zero data, I start to miss chunks when I read them and put them into my buffer array. So I created a simplified testing application that always reads 484 bytes, and accumulates it. I manually send the plc 133164 bytes, which amounts to 276 times that the message instruction returns data. ((275 reads * 484 bytes) + (1 read * 64 bytes)). Sometimes my program accumulates to 133164 bytes with a count of 276 reads. Often however, it accumulates to 132680 bytes with a count of 275, 132196 bytes with a count of 274, or 131712 bytes with a count of 273. Because it is always off by a multiple of 484 bytes, and generally only once or twice in the stream, it makes me think my program has a race condition somewhere. I couldn't find information in the socket manual about how to signal that data is ready, so I followed the message timing diagram in the help file as best I could. Maybe this is my issue. I'll attach some pictures of my current implementation (they are arranged in order of program flow). I'm planning to access KB 33672, but waiting on a quote from my AB supplier. It might have some helpful information for me.   If you would rather see the project, let me know. I have not attached it because there is a lot of socket maintenance code around it. I thought this would be the best way to show my steps directly. Thank you all in advance,                
  17. ST program step count

    Hello everyone. I can't find my ST program step count in GX WORKS 2. Does anybody knows where is program step count in GX WORKS2 ?
  18. Brian B

    I need help with a program I wrote for school that didn't work quite right.  I have to make a chasing light program that will freeze the lights when a PB is engaged and reverse when PB is engaged on light 1.  The assignment has already been turned in but our instructor ( if you want to call him that) has told us a similar sequence will be on the final.  Can anyone help me out??
  19. Dear Experts!!!   Could you please provide me the sample of "QD75MS Module & MR-J3-B program with functional block"    As you can see the page no. 3  in the attached document  "KI-Doc_QD77MSXX_MR-J3-XXBS.Zip" sample is there but i am not able to find it anywhere.   Or if you have any otherone please share it.   Please help!!! KIdoc_QD77servo_English_20130131.pdf
  20. Version 1.0.0


    This is a short bit of sample code using Socket Service function blocks to read and write data from / to a V680S RFID tag using the Modbus TCP (-ETN) version of the V680S.
  21. Program not comparing

    Dear Sir, I need to update the PLC program offline with online, so I tried to compare the program blocks but I got the error that The comparison of the two blocks in STL showed that codes are identical. But still when I want to go online it is giving error that codes are different. Can anybody help us in this? New Microsoft Excel Worksheet (2).xlsx
  22. CQM1H-CPU51 Download Program

    hello...... i use of C200HS-CN220-EU Program Download Cable for downloading program to plc. i can work online but when transfer to plc error is check dip switch.... i read manual and dip switch table but cant set dip switch..... please help me to setting dip-switchs for C200HS-CN220-EU Program Download Cable...