OdinPT

MrPLC Member
  • Content count

    66
  • Joined

  • Last visited

Everything posted by OdinPT

  1. Hello People, Im trying to control a Barcode Sequence using a Sick CLV210 scanner and a PLC CJ1M CPU21. I have the Sick Scanner in The RS232 connection and the CS1w-CN226 cable from the PLC to the PC the communications are Ok. As im very noob in the PLC world I got the TX/RX program example in the Downloads section, each time I do a manual trigger to the Scanner it reads something, but only the reception Bytes change and what I want is a Word With the Barcode Information For example: Triger 1: 000000000092 Triger 2: 000000000093 Triger 3: 000000000094 Triger 4: 000000000095 . . . etc Only having this number I can do any Kind of control to the sequence but I don't know how to save this number K If anyone has done something similar I would appreciate some help. There is a attachment of what i got. Thanks.
  2. Control Sequence Using A Barcode Scanner

    Hummmm, Seems that im having some problems trying to compare the 2 postions. For example when the scanner gives an reading error it displays in the position "0" the value 02. Is it possible to put all other memory spaces with the ".." ? How can i say... is it possible to clean all the unused spaces in the actual reading? Because if i want to compare all the word there are other last values in the memory. In the Attachment you can see that it gave an error but the word is still full with the last value. Do i make my self clear ? Thanks.
  3. Control Sequence Using A Barcode Scanner

    Hi gtsuport, Once again thanks for the help, i have the information in the attachment in the Memory Area, i used the D500 word so the barcode information in this case, the value 00000000092, is in that position. My problem now, and is probably because my lack of knowledge in PLC programing, is how to work that information, i want to say for example, if the next reading is diferent from (last+1) it turns on an output. But how can i work that word in way to do this ? Thanks.
  4. Connection between CJ1M CPU21 and PC

    Hi, After unistaling CX-Programmer abou 10 times and cleaning the regestry and all files the PLC simply was detected... Never did understand why... Oh well, now back to work. Thanks to all!
  5. Hi Again, I have recieved my CJ1M and my CS1W-CN226 cable (yeah! ). But... i have a problem when i connect the cable to the PC and i run CX-Programmer (ver5.0), i choose the Device and The CPU, Toolbus as the Network type (since was this one i used in others Projects when i used the CPM1A), i press ok and then try to work online but it seems it doesn't find the PLC. Im very, but very new, to the PLC world so i might be doing some realy noob thing... if someone could help me i would apreciate it. Thanks.
  6. Connection between CJ1M CPU21 and PC

    Hi, Im not going to be able to test that in the next week, but as soon i test it ill say something in this Post. Thanks.
  7. Connection between CJ1M CPU21 and PC

    Hi ppl, I brought the PLC to my home... to try in my personal computer (don't tell anyone im not allowed ), and it worked... i simply put the cable in the com1 port and on CX-Programmer, it was communicating... I have tryed all the helps in this topic in the project place and it simply doesn't work... the Com port is Ok is working, but yet the PLC doesn't communicate. I have tro try instal CX-Programmer again... it can only be that... The versions are 5.0 in the 2 pcs... i dont understand.. Thanks.
  8. Connection between CJ1M CPU21 and PC

    Hi, Licence type: 1 user C:\Program Files\OMRON\CX-Programmer\CX-P.EXE 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\CX-PRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\CX-PDATA.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\CX-PDRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\OSLICENCE.DLL 1.2.0.32 C:\Program Files\OMRON\CX-Programmer\LICLANG.DLL 1.2.0.32 C:\Program Files\OMRON\CX-Programmer\SYSWIN.DAT 07/03/00 C:\Program Files\OMRON\CX-Programmer\FILEPORT.EXE 5.0.0.0 C:\Program Files\OMRON\CX-Programmer\FPORTRES.DLL Not found. C:\Program Files\OMRON\CX-Programmer\SWP_CXP.OCX 5.0.0.0 C:\Program Files\OMRON\CX-Programmer\SWPCXRES.DLL Not found. C:\Program Files\OMRON\CX-Programmer\CCXPIMPORTEROCX.OCX 5.0.0.0 C:\Program Files\OMRON\CX-Programmer\OCXPRT.OCX 5.0.0.0 C:\Program Files\OMRON\CX-Programmer\OCXPRTRES.DLL 5.0.0.0 C:\Program Files\OMRON\CX-Programmer\KBASECOMP.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\KBASECOMPRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\LADDERDOCUMENT.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\LADDERDOCUMENTRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\LADDERPARSER.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\LADDERVIEW.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\LADDERVIEWRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\PHEADDOC.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\PHEADDOCRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\PHEADVIEW.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\PHEADVIEWRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\STEDITOR.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\STEDITORRES.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\STRUCTUREDTEXTCOMPILER.DLL 5.0.0.5 C:\Program Files\OMRON\CX-Programmer\STRUCTUREDTEXTCOMPILERRES.DLL 5.0.0.5 Here it is the file versions, is it ok ? About the Syswin, im seeing if i can find a demo version to try it but i can't seem to find it. Thanks.
  9. Connection between CJ1M CPU21 and PC

    Hi, that will show some company information that i think i'm not allowed to show.... Tell me what you want, i print screen or past what you need. Thanks.
  10. Connection between CJ1M CPU21 and PC

    Suprise... the CPM1A isn't working either... i have tryed the RS232C connection and i can't seem to connect too... is there anything missing in the CX Programmer ? this is very strange, i have tryed all baud rates and nothing seems to work. My COM port is Ok because i tested it with other software, i think it might be some CX-Programmer setup... i don't know... the dip switches are ok too as someone said it, i really cant connect with the CX-Programmer.
  11. Connection between CJ1M CPU21 and PC

    Oh, yes is a real com port my PC com port, i only have one to test it... but i worked with CPM1A and RS232C and it worked ok. I really dont know what to do more...
  12. Connection between CJ1M CPU21 and PC

    Hi, I only have a COM1 Port, the PLC is turned ON, what do you mean on a "Real com Port", i use the same port to program CPM1A with RS232C and its ok... now im trying to connect CJ1M with a CS1W-CN226 and simply doesn't seem to connect... I don't have other software using the Port, The CPU is powered on and the RUN light is on too.. that i dont know why. Other thing im not understanding very well... the "on" on the Dip SW is the normal position ? if we push it to the left it stays "off" is that it ? Thanks.
  13. Connection between CJ1M CPU21 and PC

    Hi, The SW1 i put it off since i don't need it one, you say all is ok for the connection right ? When i try to connect there isn't any light turning on, ill read the PDF u posted. If there is anything more i could try say it please, the cable is from Omron, the PLC is new, probably something im not doing right... But untill now everything seems preaty obvious how to be done. Thanks.
  14. Connection between CJ1M CPU21 and PC

    Hi, The Auto Online ! i forgot that, but now i have done the Auto Online but it says after the search, Failed to conencto to the PLC.... could be from the Dip SW configuration ? i have: 1 - ON 2 - OFF 3 - OFF 4 - OFF 5 - OFF 6 - OFF 7 - ON 8 - OFF Thanks.
  15. Barcode Scanner in PLC

    Hi again, Thank you all for the help. Im wating to recieve a CJ1 PLC with rs232 so i can start working, i got a CLV210 Sick barcode scanner to work with it, ill keep informed of my progress thanks for the help :)
  16. Barcode Scanner in PLC

    gtsuport once again thanks, and yes you didn't really answer my question but it was helpfull. Sleepy Wombat thank you for the description of the serial card, i would like to know if is complex the procedure of getting the info from the rs323 card, and work it in the PLC, i have downloaded a file in the forum "TX-RX" that seem to be simple. Is it all that is needed? Im not very at ease with PLC's, if there is any info you could give from where to start i would apreciate it. Thanks.
  17. Barcode Scanner in PLC

    Hi, Thanks once again since you helped me several times in this forum. CJ1 family you say, from your experience do you know a good scanner to work with this Omron PLC type ? or the most used.... The trigger for the scanner is sent by the PLC. Thanks.
  18. CPM1A Activating a Timer

    Today i couldn't try the timer situation.... Lets see if tomorrow i have the PLC to do some experiêncies. Thanks for the help you all
  19. CPM1A Activating a Timer

    Hi people, I have a cpm1a and i need to activate a timer with a impulse only, but the timer condition says: " A timer is activated when its execution condition goes ON and is reset (to SV) when the execution condition goes OFF. " As i said i just want to give an inpulse and then make the timer run 2 seconds and activate... What i need is to recieve an input and make a delay of 2 seconds and activate an output, how can i do this ? Can someone help plz? Thanks.
  20. CPM1A Activating a Timer

    Well if is to do some calculations.... The object size is about 10cm, the distance between the photocells is about 30cm and the carpet yes 10000/ hour. I don't see other way to do this without the timer... i thought on 30ms... i use TIMH with #30 after LS1 is lit but i have sometimes some errors i think is because the TIMH and the restart of the memories... Im new on this PLC world i had some lessons but.... well... In real situations is a lot diferent
  21. CPM1A Activating a Timer

    Hi, It is true my english is very bad... And to explain a situation it gets worse. You don't have to ask sorry for nothing Back to the problem, The carpet is allways running and yes i allready know if the pack is good or not when it reaches S1 it validates good or not. When the S1 cell is activated the carpet simply goes on untill the end and i want to validade the condition of "Object good and has been removed" or "Object bad and hasn't beem removed" before other object reaches S1. When i mean validation i mean to send a signal to the output if one of those 2 conditions happen before other object passes. (and they pass really fast...) As you said : If the part is bad, when S1 is activated the carpet will start, you will see a signal at LS1, but will not see a signal at LS2, because the Rejection Arm should have removed the part. This is my main problem... I'm thinking on using a Timer activated when the object enters the LS1 then i wait 30ms to see if the LS2 is activated... if is activated and the object has an error it sends a signal to the output. But then i need to restart the LS1 and LS2 memories... and don't know how... sinse after 30ms other object is allready in S1. Oh my god
  22. CPM1A Activating a Timer

    Yes but I need a bit more time to do the output activation, I suppose isn’t going to work…. I am trying to find the solution to the following problem: I have 2 Light Sensors Photocells a Rejection Arm (something that pulls the object out) and a carpet that moves in cycles (isn’t always running it runs after seeing an object in S1, for example if an object is S1 the carpet moves fast until the end, passing through the conditions). The objects come in a carpet from right to left and I want to ensure that if the Object enters in LS1 and is to be rejected LS2 can’t be activated or if the Object enters LS1 and is not to be rejected it passes through LS2. My main problem is that I have to validate these conditions in a carpet cycle and is Really fast like 10000 objects /hourK. I’m using 3 memories one for LS1, RA and LS2 I try to validate them when S1 receives other object and I do the reset before it reaches LS1, that’s why I was asking how to use a timer only with one impulse the S1 impulse the example for the 2 seconds was to try to comprehend how would it work. LS2 RA LS1 S1 How can I do a validation in so fast cycle? What is the best solution… really timers don’t seem to be very good… but the velocity between LS1 and LS2 is always the same, fast but always the same. I’m sorry to expose the problem this way but I am really in need of help.
  23. CPM1A Activating a Timer

    Hi, Not more than 60ms.
  24. CPM1A Activating a Timer

    Hi, Thanks for the help, what if i want to use the end of the timer to do the "reset" ? I only can use one input and i want to do the pulse input more times. Is there a way to use the end of the TIM to do the reset? After The 2 Seconds i can use the Pulse again. Thanks
  25. Cpm1a, Outputs Intputs

    Hi, Again i ask for the knowledge of some helpful mind so... i ask 2 questions 1) I would like to know how does one do a NO or NC contact in the output of CPM1A, for example imagin one want's to control a Emergency stop Button, the input is given to the PLC and then comes my dificulty i just want to open a 24v line that is.... Original 24 v_________________ Machine N ___________________Machine Controled By PLC 24v _______ \_________ Machine N ___________________ Machine I Put the 24 v in the comOutput and then i continue the line to the Machine in the 10.00 Output, i control the signal using the input given, is that wrong ? why doesn't it work ? 2) Imagin you want to use 3 photocells inputs that are in 3 diferent machines, one photocel sends 14 vdc and the other 2 send 24 vdc as their signal. My question is.... is it possible ? since they have difeerent COM's and diferents input voltage ? Once again i Thank in advance for the site that has been Helping me a lot.