panic mode

MrPLC Admin
  • Content count

    2329
  • Joined

  • Last visited

Everything posted by panic mode

  1. DeviceNet

    connected how? what PLC? what software? etc
  2. setting BOOL [64] in Studio 5000

    also note that OTE instruction ALWAYS writes to memory location - regardless if condition in front of it is true or false. therefore setting LIM before OTE will do nothing to prevent out of bound errors...! since 64 is binary power multiple, you may consider using mask to constrain (modify) index value
  3. my thoughts exactly... but if there is a concern or different opinion, i am always interested to hear about it. 
  4. that is why i asked for clarification...  but even if the SC was connected to GND, both VFDs would have their SC referenced to same potential and if this is an issue - it has absolutely nothing to do with wiring to this particular analog output card. presence or absence of the analog card would make no difference.  
  5. you stated that there can be a problem, don't you think it would be fair that you elaborate and substantiate that claim? i read the manuals and don't see a reason for such concern.   it is no different than using two contacts of a relay in two different circuits. relay coil and two contacts are isolated from each other (3-way isolated).   this is the same thing, only the signals are analog instead of digital: * yellow region is isolation. * left of it is circuitry that connects to PLC. * right side are four channels (analog outputs) that are isolated from each other. i have shown two of them wired  
  6. how exactly? each output channel is isolated individually. can you show circuit and possible current path that would be concern?
  7. why would that be? as already mentioned, that analog output card is isolated.
  8. never connect two power sources  directly to each other or sparks may fly. (analog output is a source too). so ... just do NOT use FS terminal... (that is +10V source).   you MUST use SC terminal as this is your reference potential.   Note: FS terminal would only be needed if potentiometer is connected (passive component). potentiometer provides voltage output on wiper (connected to FV) that is a fraction of supply voltage. in this case that supply would be FS-SC and fraction can be adjusted 0-100% by turning potentiometer knob.     but since you do have an analog output card, do as mentioned before (output itself already has needed voltage - it is a source)   since this is an analog circuit, it need to be shielded. Shield must be connected in one place only, either to GND or to SC. (tape other end). if connections are short, shielding may not be needed but i would always use it, specially on voltage signal.  
  9. i don;t see a problem. output is isolated, ranges match, output can handle loads 2k+ (VFD input is 10k) etc.     
  10. DeviceNet

    E78 tells that node (5) is configured in a scanlist but it is not responding... did you check terminations and presence of 24V on the bus? is the wiring correct? are ALL devices on same DeviceNet network set to use same speed? http://literature.rockwellautomation.com/idc/groups/literature/documents/in/1756-in566_-en-p.pdf  
  11. Schenk process

    that tells me nothing. do you have specific details? useful info would include link to a datasheet, connection diagram, photo of your connections etc.
  12. Schenk process

    you may want to provide more details such as link to manual of specific product. what interfaces are available? analog, fieldbus, ...?
  13. KR175 SPOT Manual View File Manual for KR175 Spot Submitter panic mode Submitted 06/07/18 Category Robots and Servos
  14. KR175 SPOT Manual

    Version 1.0.0

    0 downloads

    Manual for KR175 Spot
  15. 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...
  16. 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....
  17. 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?
  18. How to make analog signal more stable?

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

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

    that is because you did not use IN_OUT transfer as suggested  
  21. 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...
  22. 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. http://support.robotis.com/en/product/actuator/dynamixel/dxl_mx_main.htm    
  23. 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.
  24. 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...  
  25. 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