slcman

MrPLC Member
  • Content count

    360
  • Joined

  • Last visited

Posts posted by slcman


  1. Are you able to go online, if yes can you get the fault number? The fault led flash or it is solid? Maybe the program is not lost, you just can't clear the fault. If you want you can go online when plc is faulted, save and send file to this forum, I'm sure we will be able to help you with the program saved in faulted state.

  2. Are you able to go online, if yes can you get the fault number? The fault led flash or it is solid? Maybe the program is not lost, you just can't clear the fault. If you want you can go online when plc is faulted, save and send file to this forum, I'm sure we will be able to help you with the program saved in faulted state.

  3. As manual says at page 4.2, I don't think you'll need 1203-SNM. The manual have a program example with SLC. http://ab.rockwellautomation.com/drives/communication/22-scm-232#/tab6 I don't recommend you to use this network to control start and stop signal on the drive. This is very slow network, more for monitor, get fault number and in some case set speed reference. Your drive control could have a lag of 1 sec!

  4. I'm one of the guy OkiePC mentionned with old apple cable. This cable is around 7$ and you can build 2 short cable or 1 long. For be able to plug it into the plc you'll have to grind 2 knoch with a dremel and cutting disk. I did a lot of this cable for pc and HMI. I left cable pinout and part # for MAC cable. #Cable mini DIN8.pdf

  5. It's depent of witch plateform is used.I've seen press with simotion and older one with masterdrive. If simotion plateform is used in your projet, scout is the software to use for programming and go online with your projet. You can retrieve drive program by going online and select active node in scout software (if your connection is ethernet you must enter ip adresse in active node windows). I don't think you can retreive motion program from the controller, if you found a way to do it, post a update. On scout install cd you'll found few application example. One off them is a printing press code devlopped by Siemens eng, it is open source. This example may help you to create press code. Have you put 2 motor on the same shaft as dc motor drived press are or you put one motor per unit? I think one motor per unit is the best way to make it work. If your project use masterdrive, I think the software you'll need is drive monitor. You'll be able to found a copy on Siemens web site.

  6. I always get good result by using vmware bridged and step 7 ethernet comms. I only get problem 1time with a hudge project who contain many simotion d445, s7-300, s7-400, hmi and pc. I think the managed swith allow only one ip the the port I was connected. I had to use NAT adapter in vmware for get it to work (in this case only 1 ip is assigned). Pay attention to if pc/pg exist in your project. You must the same ip of pc/pg in your gest to be able to bridge in siemens network.

  7. First, best practice for simulate input is to use a debug file and rslogix emulate. When you create a new file, check the box Debug in the lower left corner. Debug file are not downloaded in the plc. Then assign your debug file # in RsEmulate. PLC scan input, do logic and write output but high speed counter is running in parrallele to plc logic. This is why your example doesn't work. Now bad new RSEmulate doesn't support M1400 and doesn't emulate high speed counter. Here is the feature RSEmulate doesn't support : http://rockwellautom...rsemulate%20hsc But I left a example and video on how you can to emulate hsc. Last thing I can say on your program is: is very strange to call a routine in HSC interrupt (function file) AND in main routine with JSR intruction....how you can know where the routine is called from when you are in LAD4? **The video is fast and have poor resolution because of upload restriction **Step by step with RSEmulate from Rockwell http://rockwellautomation.custhelp.com/app/answers/detail/a_id/25539/kw/rsemulate%20m1400 AB Movie.avi HSC Functionality.RSS

  8. You're right, update is 2 sec. For get a one second update you could use STI interrupt. Set interrupt at 1 sec. For your application, I can suggest you to reset the timer in STI routine (RES T4:0) and put your timer in continuous routine Lad2 by default (T4:0 1.0 5). That it, the timer sould never reach the DN bit because is reseted at 1 sec rate. Wish I help

  9. I have a suggestion for you but for make it work, number of pulse between each photoeye reset must be egal. You can increment a counter each time photoeye have to reset your high speed counter [controller tag]. Then create a periodic task at 20msec rate. In this task use a formula to get speed. Don't forget to write last current count for offset in the next scan (use controller tag and write 0 to it at first scan). e.g. Distance = ((photoeye * pulse_per_reset) + actual count - Last_count_offset) * mm_per_pulse Speed in mm/sec = Distance * 5 //Because 5 * 20msec = 1sec Reset photoeye counter and write current count to offset tag at the end of logic

  10. You may check Serialport config of your plc while online thru ethernet port. As Ken say, you will be sure you're got DF1 protocol. If DF1 are used, you may check witch port of you laptop the AB USB adapter use (in system -> hardware config). I never had to work with AB USB serial adapter but with other USB adapter like 1747-UIC the COM port could change if I connect adapter in different USB port of my pc. Wish it's help