Search the Community

Showing results for tags 'socket program'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 41 results

  1. Hi, In conception phase we currently use GXWorks to upload programs to PLC (L-Series). In production mode, for different security reasons we would like to automate this transfer so that the operator does not access directly to the program. Do you know any tool allowing this by using command lines and not GXWorks UI ? (GXWorks does not seem to be "command line" friendly As a POC I  have automated the GXWorks UI in C#  (by simulating menu or buttons clicks) but I don't find it reliable (what if an unexpected popup "pops" ? ). PS : I am a totally noob in this PLC world so maybe I missed stg in the docs ... 
  2. Multiple branch

    Hi Guys! You can read my problem below, if anybody can help, please do it. Thank you. So, I have 4 knife. You can set the cutting width for each knife separately. The problem is, there is a lot of size. There is an example: No1 size:  #1: 20 mm, #2: 25mm, #3: 30mm, #4: 25mm   (#1=Knife1.......)                                       No2 size: #1: 22mm, #2:24mm, #3: 32mm, #4: 27mm What is make the problem more difficult is There are plenty of type code too. Like X1, X2, X3, Y1, Y2, Y3 ..... This is the main material code. and you can choose the belogging size. So you can select for X1 to No1 or No2 ... but you can select for X2 to No1 or No2 or any sizegroup you want. I can solve it with a lot programming, like deal every possible situation ... but there is a lot time .... :S  There is a touch panel where you can set the values.  Anybody have another idea for this problem ?    
  3. We have a QSeries PLC. Q25HCPU. We also have a PLC program. We found that the address registers (also known as device addresses) attain a z-value added next to it - automatically over time. We are not sure why this is the case. Nonetheless, when these values get added (by the PLC - not the engineering software), some of the functions in the PLC doesn't work. We found that by formatting the CPU, and reloading the program, allows for the system to work again (temporarily) for a few weeks, up until this problem occurs again. This problem occurs across various CPUs (eliminating the potential for hardware problems. These z values can be seen when a program comparison is done. (see attached file). The questions become; 1. What is the function of these values? (why does the PLC add them? 2. How can they be permanently removed?
  4. We have a QSeries PLC. Q25HCPU. We also have a PLC program. We found that the address registers (also known as device addresses) attain a z-value added next to it - automatically over time. We are not sure why this is the case. Nonetheless, when these values get added (by the PLC - not the engineering software), some of the functions in the PLC doesn't work. We found that by formatting the CPU, and reloading the program, allows for the system to work again (temporarily) for a few weeks, up until this problem occurs again. This problem occurs across various CPUs (eliminating the potential for hardware problems. These z values can be seen when a program comparison is done. (see attached file). The questions become; 1. What is the function of these values? (why does the PLC add them? 2. How can they be permanently removed?
  5. 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.
  6. 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 192.168.1.100, 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). .
  7. 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
  8. 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.  
  9. 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!
  10. Version 2.0.2

    191 downloads

    free HMI/SCADA program WebN Server 2.0 (freeware) * manual & program download site : http://www.netran.co.kr * Web-N Server 2.0 (freeware) - PLC interface demo video : https://youtu.be/MuOFMwK7Qqs* Android phone app download : https://play.google.com/store/apps/deta ... .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      
  11. free HMI/SCADA program Web-N Server2.0 (freeware) View File Program download site : http://www.netran.co.kr   Web-N Server 2.0 - video for PLC interface demo : https://youtu.be/MuOFMwK7Qqs   - 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
  12. 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
  13. 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 127.0.0.1:21. 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 : 127.0.0.1:21, 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 !
  14. 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
  15. 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!  
  16. 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
  17. 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.
  18. 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.
  19. 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
  20. 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,                
  21. 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 ?
  22. 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??