mikecqm

MrPLC Member
  • Content count

    40
  • Joined

  • Last visited

Everything posted by mikecqm

  1. CS1 IO table and memory card

    Hello everybody... CS1G-cpu 43h My goal is to have a single memory card, and several PLCs and load in every plc a different program and a different IO table from the same memory card, (inserting it manually every time). I'm not allowed to perform the "restore" or the "autoexec" (pin #2) because of I would like to be able to store more than 2 "configuratio" of program and parameter files. I have already done this, with the program (obj file), using the special bit A650.15 having written before the program name on the A654 -A657 words; The systems are provided of an NT21 touch screen, and the program selection is done by different touch switches. Now I would like to upload also the parameter file (std file) in a similar way, but I didn't found istructions about it... I don't want to do this the cx programmer....only by touch screen!! Thanks for help. Mike
  2. CS1 IO table and memory card

    Hi Sleepy, and thanks for your reply. I have to say that I have done some steps forward; storing several *.obj and *.std files with different names, and changing their names by the program, performing the "cmnd" instruction, I get the "aotoexec.obj" and the "autoexec.std". In order to start the machine with the correct configuration, I have just to start it up with the dip #2 in "ON" position. The fins commands that I use by the "cmnd" instruction, are the "delete file" in order to delete the old autoexec .obj and .std files, and than "file copy" in order to have the new autoexec .obj and .std files. That is how I got the solution. Ciao, Mike
  3. FIFO buffer

    Get a look to the "ASFT" instruction...you can built a FIFO or FOFI function. I don't think there is a limitation af word....try! Ciao, Mike
  4. Help with compare

    Just have a look to the attachment... I hope this can help you... Mike Test.doc
  5. Help with compare

    That's why I was talking about ZCPL. Negative values have "F000" in the Most Significant Word. I normally use this function in order to determine if the valeu is negative or not.... BTW...Happy you find your way!! Ciao, Mike
  6. Help with compare

    Hi, BJR.. maybe it was too easy thinking to the ZCPL function..that's why I think I didn't get your problem! Ciao, Mike
  7. Cx-server Fails To Create Temporary (working)

    I found this topic from an Italian forum: The problem seems to be the registration of the file ole32.dll Solution: you need to edit the registry key: Write this: "Regsvr32.exe %Windir%\System32\Ole32.dll" and click on Ok. Click Ok in the dialog box of Regsvr32 I hope this can help! Mike
  8. CS1 link 1:1

    I would like to perform the same linking I have, between a C200HX and a CQM1H (link 1:1) exchanging LR area, with a CS1 and a CQM1H. I have no LR Area in the CS1, I would use other area....even area D is good for me. I would like to leave the program I have in the CQM1H the same, linked with the C200HX or with the CS1 as well. Has anyone wrote a Protocol-Macro routine in order to perform this ? Ciao, Mike
  9. CS1 link 1:1

    Thank you, Jay.....you're always the "same"!! Mike
  10. Nt 4.6 And Languages

    I'm using NT31-21, and every time I'm forced to traslate every string in different languages, of my "string table". I am asking you, if there is a way to traslate only one file inside the *.onw file. It is not possible for me, having as many different pages as my languages project is needed! I have also used the "numeral display", for the strings inside the pages, in order to be able to change string from the plc, but is a very haevy option for the cpu! Any other possibilities? Thanks, Mike
  11. Nt 4.6 And Languages

    Thanks, IO Rack. I'm afraid I' ve to give up! My intention was to traslate a file, not to write several Dm inside the plc...
  12. Nt 4.6 And Languages

    I think I was not so clear! I will try in other words.. Does anybody mange different languages in a *.onw file? Is it possible to switch the string table, without doing it manually? Sorry for my rought language! Mike
  13. MC221

    Maybe you're right! What a pity! Ciao, Mike
  14. MC221

    Hi everybody, I was wondering myself, if there is a way to use the E00..E31 as I usually use the *DMxxxx. I am able to write: G60 E00= A0010+1000 G01 X(E00) if my A0010 is 0001 the E00 will be as the same value of A1001 and the X will move to the number of A1001. That's already done. But what about "write in" *E00 ? (in A1001 ?) G60 (E00)=A100+10 This is not allowed..so: how can I write a value inside the E00 value without "take this out" from E00 and put it in back? Hoping was clear enought.. Mike
  15. MC221

    Ok guys, I already use the "Specifyng Register" as in your example. I would like to know if is possible to go a little forward; as operate with them. like we do with the pointers: using the Dm we can operate using: Dm10=Dm100+100 if Dm10=1 *Dm10=9999----> it means that I wrote #9999 inside Dm111 ! Is there something similar possible with the E of the MC221? P.S. In my Dm example, operating using ADD & MOVE !!
  16. MC221

    Chris, I'm not talking about the plc' EM! I'm talking about the E area available in the Cx motion programming software for the MC221 axis card. Thei name is "Specifyng Register" and thei range is E00--E31. Anyway, thanks for your reply. I attached the .doc 'cause I'm not able to insert an image...sorry!
  17. MC221

    I did not explain well myself! I apologize me! Does anybody use the EM00..32 in the MC221 language? Is their usage so limitated as I understand? Thank you. Mike
  18. NTst

    I'm having problems with the utility "Change addresses" under the "Tools" menù: it seems working properly with bit to bit changement, but not word to word!! Not all the time, but often the program crashes. Did anyone had the same problem? I'm changing CIO word to W word for a Cs1 Cpu. Ciao, Mike
  19. How to reset a counter?

    BobB, the program our friend has posted, has the Lr3.00 which is already a "difu" contact! You don't need to program a differential mode function. Angeraer, how's goiog? ciao, Mike
  20. How to reset a counter?

    I'm sorry...it was me. I did't log me in.. Ciao, Mike
  21. Serial network connections

    I am looking for documentations concerning the multidrop connectiond between rs 232 plc. I am used to connect them (2 or more) by a "MOXA converter A50-A52", but I have often problems with the new version (A52). The problem is that the Cx, sometimes give me a connection error while I am online with 2 or more Plc'; My test configuration is made : pc (cx)--moxa(1)---------moxa(2)----------moxa(3) moxa 2 is connected to a Rs232 Cqm1h moxa 3 is connected to a Rs232 Cqm1h The connection between the moxa is done RS422 (4 wires), and also tesed as RS485 (2 wires). If somebody has some suggestions..... Bye, Mike
  22. compare applications

    Yes, you have to purchase it.. In Italy we have the 4.0 version and the comparison tool that Jay explains here, is working very good. How long had it took to have this feature!! Mike
  23. Device net

    I'm goinig to perform a connection via device net between a DRM21 (Cj1M), and a robot. The Robot should be the master and the CJ the slave; as long as I known about nets, (controller link or link 1-1) I must specify in the master which and how many channels I want to exchange. I have the manuals which I'm going to read all at once, but I would like to read something as "a setting example" like my application,in order to have my ideas clear. Thanks, Mike.
  24. Indirect address

    I'm looking for code examples (programs), explaining the "indirect addressing" for IR. I'm used with the "*Dm" but not with the Cj new feature using IR0 and IR1. I find these functions extremely usefull, in order to parameter a lot of routines, so I am studing about 'em. Thanks everybody who will answer!! Ciao. Mike
  25. Macro programming

    No Mr Jay, don't waste your time! I've already found some examples in the CJ Programming manual. Thanks.... Mike