Search the Community

Showing results for tags 'how to interface cx-programmer and cx-supervisor?'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 173 results

  1. Hi all I was being really clever and suggested i add a list of preset settings to a line which every1 seemed thrilled with. however the amount of tedium has just dawned on me. im hoping theres a better way to go about this. the main idea is that we have a line controlled from a cj2m which has around 150 changeable settings including things like conveyor speeds, pump filling times.. waiting times etc.. i have done this in smaller scale before where we had changeable pumps, when pump 1 was connected i used the MOV function to load pump 1's data into the correct words. and in NB designer i had layered multiple number input boxes each displaying only when its own pump was connected. any ideas would be great
  2. Flip flop in structured text

    Hi all i've been trying to make a simple timer in structured text which is turned on and off by a single input, all instances of flip flops i have found seem to be 2 input. any help or examples would be appreciated example of programs; Pulse signal received, start timer Pulse signal received stop timer
  3. Pressure transmitter drift

    Hello all this isnt strictly omron/programmer but has anyone used much in the way of pressure transmitters? we have a wika s-11 pressure transmitter on one of our machines installed roughly 7 months ago where the scaling does not seem to be linear, i only started working here around that time so i dont know how it was installed etc. but its a 0-40 bar 4-20mA transmitter connected to an ad081 4000 resolution connected to a cj2m. so the conversion should be nice and easy 100 raw data = 1 bar however it seems to be scaling logarithmicly to me as we checked with a 2 different guages and when they were at 2 bar the transmitter was showing 137 raw data and at 8 bar it was showing 737 raw data and this seems to keep scaling in this fashion as we get to higher bar. is this a common fault on transmitters? is there anything else that could be causing this? how often would you normally expect a transmitter to last? i checked my scaling FB on another transmitter connected to a compressor and it worked correctly so its not the maths used   thanks in advance
  4. Hey all, Further to my other post I need to read an analog input flowmeter signal (4-20mA) and scale it to litres per minute flow-rate. Then display on HMI...... Then use a PID control block to control a output water control valve (4-20mA) to a calculated set point (litres per minute) The flowmeter is measuring water flow in a pipe & The control valve is controlling the flow rate in the pipe. The water is then sprayed onto a conveyor belt - measured at a percentage SP depending on the amount of powder product on the conveyor belt (in KG) 1. So inputs to PID is the SP (litres per sec) calculated every few seconds from product weights (kg) in bins. 2. And the PV is the flowmeter reading. 3. Output is the control valve (4-20mA)  Does anyone have any tips to do this or some good flow PID and flowmeter example. Your help would be much appreciated. Thanks Richard                           
  5. Hi all is it possible to use the internal date of a plc in a function block without setting it as an input for the function block? for instance i have some logic to do something inbetween lets say 10:00 and 16:00 o'clock am i able to use those internals bits of the plc where the time is stored without inputting them to the function block and using them internally?   thanks
  6. Hello there, I am new to OMRON so need some help to communicate two PLC over FINS.   Here are the description of the system... (IO Table image is attached)   PLC1-  CJ2M-CPU33 IP- 10.113.218.34 SUBNET-255.254.0.0 UNIT NO - 00 (set the dial available on the CPU in HEX) NODE - 22 (set the 2 dials available on the CPU in HEX) PLC2-  CJ2M-CPU33 IP- 10.113.218.35 SUBNET-255.254.0.0 UNIT NO - 01 (set the dial available on the CPU in HEX) NODE - 23 (set the 2 dials available on the CPU in HEX)     Now, what i have to do is to transfer the D100 to D110 from PLC1 to PLC2's D200 to D210 and Transfer the D100 to D110 from PLC2 to PLC1's D200 to 210.   I have tried RECV and ECHRD blocks but didn't succeed yet.   Two CPU are connected over ethernet via a industrial switch.   Can you help me to achieve data transmission please...
  7. 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?   
  8. 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
  9. 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;
  10. 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?
  11. 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
  12. Connection cable for Sinumerik810

    Hi, I am trying to connect my M2 pg with a Sunumerik 810 cnc.    does anyone have the part number or pin out of the 25 pin-25pin tty cable that’s needed for this.    thanks   
  13. 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.
  14. 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
  15. 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
  16. 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.
  17. 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  
  18. 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  
  19. 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
  20. 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  
  21. Hi, according to the manual one should reduce points by using the bitwise operator on an integer instead of making a point for each bit. I have tried making a test page with several squares and made a colour change action using Testword & 0x30, but the result seems quite random. 0x03 don'seem to work either.  I also tried making a script to load the bits from the PLC into a bool array and this action expresion: TestBool[3]  and even using "Rectangle_3.colour = red" in the script. This last attempt worked OK for the first two bits, but no response for the rest. Now i'm running out of ideas :( Is this a bug or a limitation of the educational version? Anyone have a solution or a workaround? Geir  
  22. 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...
  23. 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?
  24. 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.
  25. 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.