Search the Community

Showing results for tags 'cj1m program mode run'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 94 results

  1. I get the input of an encoder and do operations based on that, for at least twenty object 'slots' at once. Program is on ladder since client needs to be able to modify it at will, but I'm using structured text functions to handle all the messy operations, since every object has properties and data, and up to twenty can be running in real time. This is a CP1L. Instead of instancing those function blocks twenty times each, I keep a single instance of them one running all the time, and output TRUE when one of those objects raises a valid comparison. In essence those FBs compare each objects' relative position to the encoder against defined points. The picture is an example of the functionality I'm needing. When one object completes the FB task, one of its flags turns ON so that it can't be used anymore. The issue is that without an input/output ST variable, this flag stays ON no matter what, and I need to reset it from outside so the cycle can begin again. The inner FB bit linked to this output stays ON since nothing inside of it makes it change. That's why I need an input/output variable. In the picture the timer would reset the bit - until the FB turns it on again - but I can't do this in this controller. Is there an elegant way to make this work? I know I could use the rising edge of the output to turn some other bit ON but that's the kind of thing I want to avoid.  
  2. BECKHOFF CX-9020

    Hello PLC experts, I am master student currently writing thesis. For this, I have a initial task of making some changes to PLC program (Just started getting to know about PLCs- complete beginner). I have a BECKHOFF cx 9020 PLC connected to my notebook using ethernet. I am using TWINCAT 3.1 (VS) as IDE. Firstly, I cannot find my PLC IP address connected to my notebook . I added the route in the Twincat and it shows the PLC is connected. When, I am trying to run a program (activate boot project), I am unable to login to the PLC. It gives an error "login failed for application port 851". What I undertood from BECKHOFF scripts,  there is something wrong with the ADS ams net ID which I am trying to figure it out. I appreciate all the help. Thank you.
  3. Hello,, I have motion controller A series A172SHCPUN,, I have written the program ladder into the CPU, but I can't write the motion program.. i dont have the program to open file the program motion and I want to ask if I have the software SW3RNC-GSVE, my os computer is window XP, Can it be installed? and is the cable transfer used the same as the ladder transfer program cable (SC09)?
  4. Mitsubishi GT DESİGNER GOT1000

    Hi,  I need this program Please help me  R.lotfi@gmx.com
  5. receiving clocked data

    I have an older Omrom PLC with some input cards and a solid state output card. ID211 and OD203. I have another PC controlled device (microcontroller with 24v I/Os) and I want to send and receive simple commands ( a number between 0 and 255). I have three input lines and three output lines. Both talkers could act as a master. To send a number to the PLC, I plan to use the following format. Raise pin1(attention). Toggle pin2 (CLK) at ~20 HZ for eight toggles. Pin3 will be the data and change on the rising clock edge. After the word is transferred, (attention goes to zero) the PLC will act accordingly. This protocol is just a thought. My intent is to transfer data to and from the PLC. The rate as described will be about 2-3 bytes per second or faster if there is a minimal baud rate for a particular instruction). What "instructions" would be best for this type of command transfer? I have it working with a page of KEEPs, MOVs, and COUNTs. I would like something cleaner. Thanks  
  6. Hello folks,   I am a rookie, self-training in PLC programming. I have written an SFC exercise (attached ACD file). I also try to call STL written subroutines and add-on instructions, from within the SFC main program. Calling the created subroutine works fine, but calling the add-on instruction fails from a reason which is above my level. I tried, tried and tried different solutions, with no avail. I am either wrong in writing the add-on (perhaps some missing but missing tag ?), or wrong is calling it. Can someone please give me a hint on what I do wrong ?   Thank you, Radu PS . I use Studio 5000 v24, combined with RSLogix 5000 Emulator.     SFC_trial.ACD
  7. PLC trainee

    Version 1.0.0

    23 downloads

    SFC test file; cant call an STL written add-on from SFC main program
  8. PLC trainee View File SFC test file; cant call an STL written add-on from SFC main program Submitter Radu Babau Submitted 02/04/19 Category PLC Sample Code
  9. Omron CJ1m - bluetooth connect

    Hi, I write app to smartphone to communication omron CJ1m and Android. I want to connect devices by standard bluetooth. I plug in bluetooth adapter directly to omron RS232.  I want to ask you, how i can connect by FINS command. Bluetooth device baud rate is set 9600. If i connect to omron, i sent code: "AC01" and i sent how long as omron return me "AC01" ?? And what's next command i sent? If I want read CIO 10 i sent: "0101B000000A" ? and FCS and "*" ?? how i calculate FSC? Is it XOR my data sent? 
  10. Panasonic FP0 C14RS

    Hi All, I am new to the forum and new to programming PLC and like every newbie I have a lot of questions - Brief History of me - I had been a Manufacturing Technician for 20 years and recently got my BS on Electrical Engineering and now working as an Equipment Engineer. The main reason that got me interested in PLC's is my degree,  the field that I would like to get into and a recent problem that arise at work. My experience with PLC is very small in programming, some in TS I/O- However I had been studying by my self to the point that I built a test bench to understand it better and in the future create different project for learning purposes Currently I am putting together a tool Alarm delay program - Basically my exhaust sensors trigger an alarm (input signal turns OFF) before its send  the signal to my tool for abort, I want to create a different Alarm which will cause a different response from my tool and delay the original Alarm by 10 min and then trigger the original Alarm - PLC = Panasonic FP0C14RS  Reasons: Create a different Alarm: The response from my tool to this alarm will allow me to return my material back from the tool and put it in a safe spot. Delay the Alarm: Use a timer to perform this tasks - This the time that approx. it takes the to return the material. Trigger the original Alarm: I need to know which sensor was the problem in order to properly TS- So after my timer is complete - I want to know which sensor created the original Alarm My Current problem: I created the LD program, and while the original alarm stays OFF the program works fine - but since my exhaust sensor are always on - If my original alarm is trigger for  a few seconds, just enough to start my Delay Alarm: I dont have a way to know which sensor trigger after my Delay(Timer)is complete,  I reset my relays in order to be ready for new alarm.   Please provide feedback to my program - I know currently is not the best way or efficient way to do this and there are better ways, but my plan is to get it to work and then later revisions improve the way the program can be written   Thanks in advanced for your feedback and help Exh_delay_inv_rev1.pro
  11. ladder program

    Hello everyone, I want to know why the Y172 coil is ON / logic 1? whereas contact SM1 is worth OFF / logic 0? can anyone explain it to me ?
  12. End code unknown

    Hello I have problems when  trying to communicate with my cj1m. Recently, i have added an ETN11 ethernet module and i can now communicate with the PLC using CX-programer. But the problem is i cant communicate with my python script to read something. I just want to read CIO area 2 from bit 0 to bit 15. But Wireshark tells me that the end code is differente than completed. I cant find anywhere the end code 9005, any ideas?   Thanks  
  13. Hello.. I have hmi Proface GP-4301TW, USB type B cable and ethernet cable. I want to transfer the program to the hmi but I cant. When I turn on the power of hmi,  a series of test appears and finally it looks like the photo below and I cant enter the offline menu.. can anybody help me to solve the problem?
  14.  Hi all. I have a question about how to set up the motor in rotary mode. My application will be a basic rotary table driven by a servo motor without gearbox between. So, in my servo drive axis settings, I select the motor as a rotary mode. then I defined the maximum position setting value for 360 degrees, and minimum to 0. So far so good. But the problem comes when I want to make an absolute move using the mc_moveAbsolute to move 360 degrees. Whit this settings the error "target position settings out of range " will come up. So, what is the solution to rotate 360 degrees without generating this error? if I set up the maximum value to 361 degrees and then if I rotate 360 the error will not occur and the motor will rotate 360 degrees as I aspected, but it's this correct ? or there is another way to do it? Thanks  
  15. C-mode hostlink library for NJ/NX1P or CP1L

    Anyone knows if there is a C-mode hostlink library for NJ/NX ? Also, a C-mode hostlink library for CP1L could be helpful, to translate such a library to work with NX1P is probaly less work whan writing a new library.  Maybe Omron France has developed such a library? - they seem very active..   Background: Looking into writing a programmatic c-mode hostlink master for NX1P12, this is for connecting the handheld NSH5 HMI to the NX1P12 via RS232C using a CIF01. I have the hardware set up, and an machine built, expected some compatibility efforts by Omron.... but the NSH5 seems to talk C-mode hostlink, and the CIF01 only seems to support the FINS version hostlink.   On the NJ you can of course add an SCU module, thus not need a library.  But working with NX1 ( due to limited space available ), you are dependet on available CIF-modules which do not support C-mode hostlink.  
  16. Please,if anyone has a working program (.stx).I need it to test a PL7 JUNIOR software
  17. 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 ... 
  18. recover program from plc-5/15

    A machine was bought at auction which included PLC-5/15 module.  It did not come with a backup of the program.  Our maintenance technician said the program would not load and turned the module over to me (IT).  I notice the battery was installed in '92 so am assuming the program is lost.  Is their any internal memory or last ditch effort i can attempt to recover the program from this module?
  19. 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 ?    
  20. Here is a link to a thread on a recent post showing how to communicate serially to an Omron PLC using VB.Net. This uses the Omron Host Link serial protocols. (C-Mode Commands) It will read 10 DM registers and display them on the form.   http://accautomation.ca/implementing-the-omron-host-link-protocol-vb-net/ Here is the source program that can be downloaded. Other links: VB6 Program: http://accautomation.ca/how-to-implement-the-omron-plc-host-link-protocol/ VBA Program: http://accautomation.ca/how-to-implement-the-omron-host-link-protocol-part-2-vba/ Regards, Garry www.accautomation.ca
  21. Hi, I have some trouble with a CJ2M-CPU33. My client did a backup to memory card earlier today, and after this we did some changes through remote link. Now the client wanted to restore the previous backup to the PLC and has done so, but the system would not function correctly. After going online on the PLC it seems like the PLC is stuck in "Stop/Programming Mode". When trying to change to "Monitor" or "Run" mode a dialog comes up containing the following message: "Failed to change the operating mode. The operating mode may be still changing in the PLC."  - All the dip switches are set to off after restoring backup - The PLC has been rebooted  - I have downloaded the application again through CX-programmer  - Verified that the PLC is set to start up in "Monitor mode" But nothing helps. The same message comes up when trying to change the operating mode.  Hoping anyone can help to resolve this issue as it is very critical for us and the client. In advance, thanks for any tips or help received. Best regards Stian
  22. 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?
  23. 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?
  24. 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.
  25. PWM 891

    Hi everyone, im using CJ1M CPU21 ... I want to ask how to disable origin search function before I using PWM(891) instruction? This is because i noted that both PWM output 0 cannot share with the origin search function.