Search the Community

Showing results for tags 'handheld programmer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 129 results

  1. Hello everyone,  Someone know, how to read timer data from omron PLC CP1E in HMI NB3Q-TW00B? I tried write macros for HMI program, but I have some error about macro in program. How I understand, this HMI model don't support data reading from plc timer TIM in cx programmer? But how I can write macros and set it for recognizing in HMI?   
  2. Can't open cxp file

    Hello. Does anyone can open the following file and send me the laddder or instruction list? I haven't the CX-Programmer. Thank you very much to all. Cheers! Luis J.   T1.cxp
  3. Timers in structured text

    HI everyone ive decided to try and use a structured text function block for an machine output calculation, to put it simply i want the machine to say how many units its outputting per minute so i thought it would be much nicer to have a basic maths Structured text block rather than a long bit of ladder for some simple instructions. i have 2 inputs, one is the start of the machine cycle, the other is the end of the machine cycle. every cycle is one unit output. i want to time the gap between input 1 and 2 then just a bit of simple maths 60/(cycle_time) for uniters per minute. i want this to be to 2 decimal places for a reasonable resolution. the main problem im having is the timers in structured text, im a little confused how they work i would do this in ladder by having input 1 set a bit and then input 2 resetting this bit(i assume i can set a bit by using an if statement [if input 1 true, timer{bool}true]) this timer bool would then activate the timer, again how i would do it in ladder would be to have a timer1 count down from &500 then use a maths block for 500-timer1 and this would give time elapsed this is the bit i really dont know how to do in structured text and would appreciate any help in the matter. otherwise i can just do it in ladder   added my idea of what it would look like IF Cycle_start=TRUE THEN     Timer_start:= TRUE; ELSIF Cycle_end=TRUE THEN     Timer_start:= FALSE; END_IF; TIMHX(Timer_start, Cycle_timer,Timer_time); Cycle_time_bin:= 500-Timer_time; Cycle_time_real:= UINT_TO_REAL(Cycle_time_bin); Cans_per_min:= 60.0/Cycle_time_real;
  4. Hello, CJ2M CPU-32 to IAI motion controller through ethernet/ip I'm working on programming electric actuators to pick up parts from a tray. I will have x (row) and y (column) coordinates that I need to update to move the actuators. So to go through the whole tray I would have to use nested loops. (below what i'm trying to achieve if i was doing it in C++)                                           6 Rows and 6 Columns, palettizing                                           data rows&columns DWORD (Row1,row2,row3...row6; col1,col2...col6)                                           c++ code                                           for i=0,i++,i<6;                                               rowData = row                                               for i=0,i++,i<6;                                                   colData = col                                                   execute movement                                                   wait for confirmation                                               end                                           end I have a way of doing it but it will require a lot of repetitive lines and typing every step, and I was wondering if there is a way on every iteration to increment the data location instead of the contents. In the picture below you can see the example where the goal is to copy data from D8100 to D8000, then in next step from D8102 to D8000, then from D8104 to D8000 and so on. So far in the documentation I was only able to find how to increment contents. Is it even possible to do what I want to?
  5. Function block and INI inside

    Hi I noticed problem that I cannot use INI inside FB. It supposed to look like attachment. Whatever parameters I set CXP inidcate error
  6. FWRIT(701) To Memory Card

    Hi Can anyone please help with the following issue. Equipment  PLC - CJ2M-CPU33 Setup is being used to log distance measurements from a conveyor belt to a compact flash card in the PLC I have successfully set this up and it is working by writing values to a stack then when this is full, changes stack and writes the data in the previous stack to the card. The FWRIT command has the control word #3D00 (Comma-Delimited, Return every 16 fields, Append, Memory Card) The problem I am having is with the data in the CSV file, I am logging typically 300K lines with 16 values.   Towards the end of logging the data in the CSV file will start to return every 5 values instead of 16 which is just painful to re-format. I have attached an image of the Excel data to explain better. My Two stacks are  Stack 1 - E0_0   -   E0_16003 Stack 2 -  E0_16010   -   E0_32013   Thanks for any help.
  7. Hi all ive been given a small test cabinet to play around with and test on, it has a cp1l-el plc and a mx2 inverter, ive been looking at how to control the inverter and cant seem to find a way to program it how i want. the plc has no modbus connector so it cannot be done that way i want to be able to set the frequency and be able to start and stop the inverter through the control pins. let me know if this is possible, thanks
  8. Hi all ive been trying to figure out if theres a way to close pop up screens from the plc when the machine i have get an error of some kind a pop up screen appears on the HMI(NB3Q-TW01B), i currently have it so that if all errors on the machine are resolved it returns to the main menu which was fine until i added a couple of new errors where them being resolved might take someone out of a screen they are working on. so a close screen function for each individual error would work alot better but im not too sure how to go about it. thanks to anyone who can help
  9. new to mr.plc....also first post on forum.. i have used omron software for years but i just came across brackets in an  instruction. i understand how the MOV works..moves data to a destination but what does the bracketed [dxxxx] mean. move to both locations? or something else? i need to understand this for future project. thanks also if there are rule to posting or if i did something wrong please advise.
  10. Hello everybody, I reinstalled CX-programmer yesterday and installed it again and it worked without any problem. I wanted to open CX-programmer this morning, but it didn't. However, I can run CX-P as Administrator, but then I don't have access to my files. CX-P gives this screen when trying to open it: Does anyone knows how to solve the problem? I already reinstalled CX-P today and also restarted my PC. Thanks in advance, Olivier  
  11. No option for CJ varient PLC

    Ive only just realized Im missing a lot of options for varients of PLC's, i need to be able to access the CJ series, is there some setting i need to change somewhere? im on cx programmer version 9.5, i cant find anything about this thanks  
  12. floating point shift register

    hi all, i'm currently trying to shift register some data in the floating point (double word) format, just for an example i,m using a 0-20mA 0-40 bar pressure sensor to gather information from a can filler and want to log the data for lets say the previous 20 cans. i understand how the shift register works and can get it to work with single word just fine, im using floating point to make my life a bit easier by using sleepy wombat's scaling function block, i need decimal points as i will be expecting reading around 4.5 or so bar and expected to be within .2 tolerence this will then have to displayed on a HMI, which i assume will be easy enough
  13. ad041 analog expansion resolution

    hi everyone, ive recently started working at a company who uses omron PLC's im a bit more familiar with siemens i used in university.   one of my first tasks at work was to go through the current plc programs we have installed, ive noticed going through them that the previous engineer doesnt use the whole resolution of the analog input, i was wandering if this was some sort of practice im not familiar with or if they just have done it their own way. for example the ad041 expansion unit has a resolution of 1/6000, which would be  scale of 0-1770 in hex, however in the programs im looking through this top end hex value is always listed as 1700.   im assuming there some safety precaution or something that i don't know about, thanks for any answers in advance * the image is of the data points being put into the SCL function  
  14. Analog Input Addressing

    Hello Everyone, This is first time i am using Omron's CX-Programmer. PLC-  CP1L-EM40DT1-D I have 2 built in analog input of 0-10V on PLC Board. I want to know the default resolution, Data Type and Register address to detect analog Input for my further programming. Please Help me with these...
  15. Hello. I am trying to make a serial RS 232C connection between Schneider Magelis HMIGXU3512 and Omron PLC CP1E. However, there seems to be a communication problems between both of the equipment. I am using cable XBT Z9740 for the serial communication cable. The format used is 8.2.N for both equipment. The baud rate is 115200. No Flow Rate is choose. Anyone can help with this kind of problems?
  16. Control Panel

    Is it possible to view the values / states of all inputs, outputs and workbits (e.g. 64.00 through 64.15 on Omron CQM1 PLC) on a single screen or control panel within CX-Programmer software?  I'm trying to troubleshoot some ladder logic that I wrote and need to know the values of 5 or 6 inputs/outputs/workbits simultaneously.  Having to scroll up and down through my ladder logic repeatedly does not work well with code that changes state every 5-10 seconds or so. Any help is welcome.
  17. Trying to connect our old Sysmac C200HE PLC to the CX-Programmer software however, failed connection appears. We are using a USB-Serial connection and have set up the comms on the device manager. To try and connect to the PLC we are using the Auto connect function, selecting the usb-serial connection and selecting the comms the same as the host network. Any help would be greatly appreciated.
  18. Genst,   Could You please advise how can I connect to CJ1M CPU12 - shown in attached picture. DB9 port is used for communication with remote input/outpus rack. There is this small portabove DB9, but first I don't know what cable should I use and seconde I don't know if it is possible to usi this port when PLC talks on DB9 with remote input/output rack. I want to connect to CX-programmer to be able to online troubleshoot PLc program.   thanks in advance. tomasz  
  19. stepper motor position control

    Hello, I need to have a cx-programmer code which I can control my linear actuator position by setting 3 positions with timer, I am using a CP1L pro'skit
  20. Hi, I can’t find an answer to the following and I was advised to ask it here.I’m programming an Omron CJ2M with an MD212 high speed I/O card. I usually do all my programming in Structured text, simply because I like it a lot over ladder or sft.Now, if I want to read the hight speed counter (incremental encoder), I have to make a ladder section and use the PRV instruction to store the present value in a chosen location.The manual says the current PV is stored in A271, but I can’t get a readout there. Apparently the only way to read it is through this instruction.Does anyone know if there is an equivalent to the PRV instruction for Structured text? or another way perhaps? Again, when I check the actual memory adress, there’s no value there withouth the use of the PRV instr.
  21. Hii sir, This is praveen from india, actually i am working on Industrty 4.0 related, Please help me in Omron PLC Data Collection like Read Holding Register, Read Coil, Read Discrete Input. Omron PLC CJ2M-CPU11 (is that possible to Read data through MODBUS RS232 in Omron CP1E-N20) Please do the needful thing awaiting for your Response. thanks, Praveen cp praveen.cp96@gmail.com +91 8015858544
  22. Ethernet/IP bandwidth

    Hello, A while ago I modernised a magazine gathering / filmwrapping machine. This was a fairly big project for which I used an Omron CJ2M as the main PLC, 10 Wago Ethernet/IP fieldbus couplers, a Keyence CV-X420 vision camera and an Omron NS12 HMI.  All of these components run on the same network which contains an unmanaged switch where the HMI, PLC and the first Wago are connected. The Wago’s act as a two port switch since they are all daisy chained. At the end of the Wago chain there is also the vision cam which is connected at the last Wago coupler. At the time I was advised against using Broadcasting instead of Multicasting with a managed switch, but I tried anyway since my networking knowlege is lacking. Also, the only ‘bandwidth demanding data’ comes from the vision system. The Wago couplers contain only digital I/O and high speed encoder inputs run directly to the CJ2M. I haven’t run into any trouble so far and the machine is already producing for over a year. Now , a new project is on the way and it will need even more Ethernet couplers, 15 to be precise.  This brings me to my question; is there a limit to the number of nodes in an Ethernet/IP network and will I possibly run in to bandwidth problems by adding more remote I/O and not using a mannaged switch? Also, I would like to get high speed input out of one of the Wago couplers. Thanks in advance for any feedback! Greetings from Holland Andy 
  23. Cannot get Online - CPM2C

    Hello Ladies and Gents, Im quite new to working with Omron. I am struggling very much to get online with an Omron CPM2C-S110C. It has a CIF01 card also. I hear this PLC is quite an old one. I have referenced the manual on 'connecting a computer running support software' and double checked I have the correct cables. The ones I am using and the way I am connecting is:-   PLC Peripheral slot >> CS1W-CN118 >> XW2Z-200S-CV >> serial to USB >> Laptop Checking on Device Manager, I have all the drivers installed, the comms ports are correctly numbered yet I still cannot connect. There are 4 dip switches on the top right hand side of the CPU and all are swiched off. I have called Omron Tech Support and they said to ignore them in this instance. The RS232C port on the CIF01 is used by a barcode scanner so there is no means to connect through that (I have been told) I feel that I have been through setting and checked in CX-Programmer and nothing looks obscure. Please offer me any ideas you may have. I would greatly appreciate it. Thank you.
  24. Hello,   Was extracting PLC program from a Chinese machine and the comments was shown incorrectly as symbols instead of Chinese characters. The Laptop used does support Chinese Language so why does the PLC program pulled from the machine does not show the comments correctly?
  25. Combination Input

    Hi.. I'm new into PLC programming so I dont really know much how to program.. So hopefully there is someone out there that can help me with this or give me some ideas.. Here is the problem; I got 2 inputs signal, A & B.. from this 2 input signal, there will be variable combination of 4 inputs and it will produce different output let say in condition; 1. AAAB - Output 1 2. AABA - Output 2 3. AABB - Output 3 4. ABAA - Output 4 . . . n. BBBB - Output n   I'm open to any suggestion and ideas for this.. Btw I'm using OMRON CP1H for this one..  Thank you