panic mode

MrPLC Admin
  • Content count

  • Joined

  • Last visited

Community Reputation

53 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

7597 profile views
  1. Addressing Bit Inside an INT

    why look for 'special' function and not use generic ones that are literally available on every platform? OR instruction and suitable mask does the job.  
  2. Bit to word

    did not touch Mitsubshi in a while but something like this sure used to work: MOV D0 K4M0 MOV K4M0 D0
  3. you cannot tell computers to do something for you if: a) you don't speak their language or b) they don't speak your language   first option is used by programmers, second by users.
  4. if he really solved it , result would be 4 bytes. he only got two. but if that works, he showed you the way and you need to finish it.... Byte4 = Position AND 0x000000FF Byte5 = (Position AND 0x0000FF00) SHR 8 Byte6 = (Position AND 0x00FF0000) SHR 16 Byte7= (Position AND 0xFF000000) SHR 24
  5. nope... just need someone who has done PLC programming,. one person is plenty. you should be the one watching over the shoulder.
  6. this situation is no different than any other. looking up used tags/memory locations is done with cross-reference. if you don't have PLC software, you can still open PLC1.pdf and search for inputs (Ctrl+F then type I:). as mentioned, only four inputs are used in PLC program and their addresses are I:0/16 to I:0/19 All four of them are on a PDF page 8 (schematics sheet 7).  
  7. what does the datasheet tell about the format? clearly you have 4-byte value (32-bit value) but what is the exact format , signed or not, REAL or INT,  what is the byte order?       
  8. your HMI is not PanelView600, it is PanelView600Plus (programming software for them is different).
  9. not sure what the big deal is. if production is important to you, you would make darn sure to have all schematics, BOMs, all configurations and applications backed up long before disaster strikes. that is called preparedness and it one of key indicators of competence.  then when problem happens it is not end of the world - if HMI is defective, replace it an load application from your backup.  if you don't have backups at the time of need, well... you get the point. if you want to keep production running, you don't have much choice now, deal with vendor or get someone else to reprogram system that you have... or create completely new one.  using what you got will require some reverse engineering. program is without any documentation but - it is rather simple, with plenty of logic repetitions, which dramatically reduces effort. i would say start with commenting I/O and work from there. for example focus on tags or addresses used most...
  10. CompactLogix function to find the highest DINT ?

    you don't have to, this is just pseudo code. implementation can be in any language. 
  11. CompactLogix function to find the highest DINT ?

    MAX_Index = 0 DINT_MAX = ARR[MAX_Index] FOR n=1 to 12    IF ARR[n]>DINT_MAX THEN          MAX_Index = n          DINT_MAX = ARR[MAX_Index]     ENDIF ENDFOR
  12. Simliar Mitsubishi functions in Allen Bradley

    same thing... it is all in the manual. i have not used PLC in recent years but AB allows screen switching just like (if not simpler than) others. you don't specify AB PLC model but in general, all data in AB is retained. also this is easy to test - deploy empty project, put values in tags or data tables manually (not by program). reboot and check what is not cleared. coil instruction (OTE) will always clear output on powerup (as if rung condition was false during first scan)
  13. PLC coil winding application help me?

    well, you provided nothing. what is the problem exactly? based on level or detail presented, my response is going to be equally specific: study datasheets, do the math, apply controls, tweak them until it works. if you have a working algorithm, follow it exactly.  
  14. Ladder diagram

    here is slight tweak since most PLCs do not have TT bit (timer timing). Instead of TT,  here we use DN bit (timer done). also a bit of comments are added... good luck anyone
  15. OMRON Ethernet IP as Slave

    Omron and ODVA are first places to check. Google is helpful too: