panic mode

MrPLC Admin
  • Content count

  • Joined

  • Last visited

Community Reputation

41 Excellent


About panic mode

  • Rank
    Mitsubishi Moderator
  • Birthday 12/15/69

Contact Methods

  • Website URL
  • ICQ 0

Profile Information

  • Gender Male
  • Location Mississauga, ON
  • Country Canada
  • Interests many...

Recent Profile Visitors

6763 profile views
  1. Schenk process

    you may want to provide more details such as link to manual of specific product. what interfaces are available? analog, fieldbus, ...?
  2. KR175 SPOT Manual

    Version 1.0.0


    Manual for KR175 Spot
  3. KR175 SPOT Manual View File Manual for KR175 Spot Submitter panic mode Submitted 06/07/18 Category Robots and Servos
  4. Profibus GSD WELLE__X.200

    why don't you follow profibus cable from PLC to that slave? then read model name/article number and maker from the device? then you can search for manufacturer of the slave and contact them for GSD file...
  5. How to make analog signal more stable?

    sure if it means that much to you, but this small fluctuations are normal and averaging will just distort the signal (slow it down). filtering can be done in software and hardware. look up low pass filter in this forum. btw you still did not answer our questions....
  6. How to make analog signal more stable?

    i would say signal changes from 73.95 to 74.2 which is 0.25 units change on Y axis (74.2-73.95)/(74.2+73.95)= +/-0.17% looking at the graph seem to match that to +/-3 counts.  what is the resolution of the analog input? what is the range for graphed value?
  7. How to make analog signal more stable?

    jumping how much exactly? what sensor exactly? what is the nature of feedback? potentiomenter, magnetorestrictive,...?
  8. ST Language

    This can work in any language. Important thing here is that flag used to store information must be static...
  9. array set zero

    that is because you did not use IN_OUT transfer as suggested  
  10. array set zero

    I am not familiar with this platform but ... loop ranges do match array dimensions. is this perhaps case sensitive? I see that array declaration starts with upper case...  and why is the purpose of IF statement? But more importantly, passing parameters seem to be wrong - you are declaring is as VAR_INPUT (ByValue) but for this to be useful, it must be declared as VAR_IN_OUT (ByReference). example posted by acpi is using proper form...
  11. UART (TTL)

    actually... i just had to look it up... this not conventional RS485 (or RS232) interface - there is also control line called "DIRECTION". I doubt you will be able to communicate like that - even if you use one of PLC outputs as direction signal, it will prpbably be very difficult to get the timing right (PLC I/O are updated in scan, communication is in overhead). If i was going to do this, i would have a microcontroller in between servo and PLC.    
  12. UART (TTL)

    MAX485 is used to interface devices using RS485 and TTL . full or half duplex does not imply hardware handshaking. Neither RS485 not TTL UART use it anyway.
  13. Ladder diagram

    you are welcome. depending on used PLC, instruction set will differ. specialized instructions are vendor specific so i tried making an example using only the most basic instructions. this should make porting to other platforms simple but it adds some restrictions of course (here it is size of word). nevertheless, idea is to learn concepts. once you can represent data in a form that corresponds to real world, you can use it any way you like. good luck...  
  14. Ladder diagram

    1-Sorry,Iam not understood all the ladder diagram. Can you explain it? i did ... in previous post. the whole point is that you should not focus on this ladder diagram and try to make your own. also syntax will be different. tip when programming, you need to understand what happens with information/data that you work. if you cannot explain it on paper, you don't understand it. 2-Where are the signals of sensor tracking position and rejection sensor in the ladder diagram? did you read at all...? IN1 and IN2 are in the diagram.    3-What do you mean by conveyor indexed signal? since you don't do decision making and processing on the spot, information need to be stored for later use (reject station is some distance away from station where you check for cap). this means that stored data (in PLC memory) need to corelate with physical situation you are looking at (bottles on conveyor and their position and their status to be rejected). so let's suppose we have bit field (i used an 16-bit integer which ws sufficient in this case). i am showing TWO bit fields here, first one represents bottles on conveyor, second one only shows locations that need to be rejected. in ladder example above, i only use the second one (that is all that we really need to know in this case). suppose no bottles need rejecting, then data will look like: 0000000000000000 ' no bottles present (just used for illustration) 0000000000000000 ' no bottles need to be rejected yet (this is our tracker)           ^               |           |______' reject position     after while it may looks something like this (i choose to track bottles as if they were moving to the left - new bottles are inserted on the right side): 0000000110101111 ' 7 bottles present, there are some gaps in bottle stream 0000000000000000 ' no bottles need to be rejected yet           ^               |           |______' reject position            eventually we may encounter bottle that has no cap or it has wrong cap 0000011010111111 ' 9 bottles present, there are some gaps in bottle stream 0000000000000001 ' bottle detected that will need to be rejected            ^               |           |______' reject position   but we need to wait until reject reaches certain position (this is why we must track conveyor) 0011010111111101 ' bottles keep shifting, there are some gaps in bottle stream 0000000000001000 ' bottle that will need to be rejected has traveled, information about reject is shifted in memory to keep track of the bottle position in the stream Eventually bottle to be rejected WILL reach our reject station: 1101011111110111 ' bottles keep shifting, there are some gaps in bottle stream 0000000000100000 ' reject reached reject station - KICK IT OUT, NOW!           ^               |           |______' reject position  
  15. Ladder diagram

    any concerns about thing called academic integrity? here is an example that is 99% complete but there is an intentional bug (or feature) and language is from another PLC so you still have to do something....