MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

24 Excellent

1 Follower

About collinsd70

  • Rank

Profile Information

  • Country United Kingdom

Recent Profile Visitors

731 profile views
  1. Speed in meter/mint

    If you have 800 increments the "resolution" will be very low- so you may have to calculate over a larger time base .   Regards Daniel.
  2. Speed in meter/mint

    So 800 increments = 1 Metre of Travel. Capture number of increments over a set period of time. You now have a time and distance, now you just need to get everything into metres/minute. -Set this as a high priority task (10ms) if possible. -You need to account for overflow in your code (32,767) -Your final value will be a REAL, so you may need to take your inputs and convert to REALs in order to complete the calculation.     Regards Daniel.  
  3. Speed in meter/mint

    So I would work out how many encoder incrments you get per metre of travel....this will be your scaling factor. You can do this manually using a trap- once you have this count write it down. Then you can capture your increments in second intervals- and apply the scaling factor to get your travel per minute.   Regards Daniel
  4. Speed in meter/mint

    Circumference of the shaft is not relevant to conveyor travel unless you work out the ratio between them- this is the value you need to calculate, either by Encoder Increments of another form of Conveyor Speed. What feedback devices have you got to work this out?    Regards   Daniel
  5. project allen bradley

    Youtube is also another brilliant free-source of training documents for things like this.   Regards Daniel
  6. Speed in meter/mint

    Hi Areeb. You can do this by 2 ways- use 2 static values such as a speed frequency or inverter speed and work out how many rotations it gives you per minute- then you can work out a scaling factor using conveyor travel. If you are using incremental encoder for example- work out number of increments per meter of conveyor travel (maybe use some trap software for this). Then you can measure number of increments per (increments over 10 seconds x6) /Scale Factor= Speed in Meters per min. You can modify the forumla or optimise depending on your system requirements.    Regards Daniel
  7. How to solve problem with MMC

    You can use the S7Writer above in conjunction with a blank image file. The alternative is to put in a CPU and power on- select "run" then hold switch in "res" position- once stop light stops blinking quickly release lever and push back to stop. Once stop light stops flashing- memory card has been cleared.     Regards Daniel
  8. Keyence / proface

    Hi Choi07.   It sounds to me that you have lost communication with the PLC. Have you checked cable connection and wiring status? is the PLC running?     Regards Daniel
  9. Salvage PLC to play with, but...

    Hello BornHandy. I believe there is a trial version of GX Developer that is free for a fixed amount of time/ steps. You will have to browse the web for this as its not something ive ever had to do. Just a heads up- if you are using Q00J, Q00, Q01 or Q02 (not Q02H) will also need to buy the serial lead to communicate with the PLC. Otherwise a standard Printer Cable can be used in conjunction with the EasySocket driver.   Regards Daniel
  10. Error when downloading hardware configuration

    Hi PaulKim1003. This error regarding device name in use suggests 2 or more DP-slaves have the same name. You can check this by checking your offline configurations- if you have not altered the program; maybe there is a change point somewhere in the field.     Regards Daniel
  11. S5_6es5

    I do not know the S5 Series well- however a few ideas that come to mind.   1. Are you reading your input from the Peripheral Input (PI) rather than the Process Image? 2. If you are reading the input voltage correctly- maybe there is an overflow in the PLC? or the analogue to digital conversion is faulty.     Regards   Daniel
  12. Motion Instruction bits not clearing

    Hi derrickjp7 From Memory; the PC and DN flags should reset themselves- however I have heard of many stories involving these bits not clearing down to 0 and causing machine problems. Whenever I have written motion logic- I have always monitored the condition of these bits at the end of process and generated an alarm or manually unlatched these bits when necessary. If this is a common problem with your machine- I would probably recheck the operation of your logic. Somewhere I have a Rockwell "Bible" on handling motion instructions, I will see if I can find it for you.   Regards Daniel
  13. S5_6es5

    Seeing as an analog output is driven by software; perhaps this is a programming error or problem with the machine. Have you measured your output voltage/ current at the card during time of issue to determine if the problem is indeed at the PLC end or in the field somewhere (such as a momentary cable break). Without further investigation or analysis; it is very hard to detrrmine the root cause of your problem. Regards   Daniel
  14. Data Exchange Between two S7-300 CPUs via MPI Protocol

    I dont think this is possible (please dont quote me on that) as I dont believe MPI Protocol can be emulated in PLCSIM. The only method I can think of is to use 1 PLC and 'Net to PLCSIM' but you will need to change your connection type to Ethernet for this to work. In summary I think it will be easier to get the hardware and test as it will be in real world- or you can send me both your compiled projects and I will test across 2 PLCs for you....   Regards Daniel
  15. Data Exchange Between two S7-300 CPUs via MPI Protocol

    It is possible but you are limited to data amount due to the protocol and communication method. For 300 <--> 300 you are limited to 76 Bytes using either the GET/PUT or the SEND/RECV blocks. See here for further information.   Regards Daniel