panic mode

MrPLC Admin
  • Content count

  • Joined

  • Last visited

Community Reputation

58 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

8006 profile views
  1. Centerline Smart Electrode (VeriFast)

    do you mean this one?
  2. omron to AB 1738-AENT e/ip communication

    i used 1734-AENT with robot controller. your product may be similar to setup. unlike many bus couplers that automatically determine number of connected modules, compile image etc., this process was quite ...manual. for example first one need to connect to AENT, assign not just network settings but also set chassis size (number of connected IO modules + 1, to account for AENT), reboot and verify settings.  next one need to get EDS for AENT (must have correct chassis size, or get them all), as well as all modules and import them. create configuration with matching chassis size, module order etc. EIP supports multiple connections to each and every module (not just AENT) but in my case, i changed connection type to "exclusive owner" so the IOs are only controlled from one scanner (robot controller in my case).   good luck
  3. Rules for the Forum

    i hear you but over time i came to conclusion that - this is just the way most people are. one can put ;list of rules or guidelines but most won't bother to read them. More specifically those who would benefit more from reading would fail to do so... 
  4. Rules for the Forum

    since the question is specifically about posting attachments, my view is that one should use common sense. MrPLC is very generous when it comes to what can be attached or posted but that is not to say that one should abuse it: do not post something that may be sensitive or put this forum in sticky situation. this is addressed in TOS this is free of charge and very clean place. let's keep it that way. spam etc are not tolerated. posting files just to waste forum resources is not tolerated.  most posts are by people asking for support of some sort. make it easy for people offering advice and support to help you. this means providing details about particular case. This means posting datasheets or links to datasheet, sketches of process/situation, photos of setup etc are welcome. just be mindful of image size and readability. nobody likes slow loading page so consider re sampling/resizing of any photos, rotating them to correct orientation etc. choose compressed file format (JPG or PNG for example) to reduce file size and improve experience of those who may be willing to provide support.
  5. RsLogix Lookup Table programming Help

    what is the brand and model of this device and why don't you have datasheet? how else can you use the product? bottom line is - if vendor does not share such critical document,  look for alternative product and don't waste time with this brand. 
  6. RsLogix Lookup Table programming Help

    why are you so secretive? post the link to datasheet or at least post table. SCP is not a good idea since it is linear and pH is logarithmic. this is why lookup table is used.
  7. Distance in milimeter from Encoder pulses

    first determine correct ratio or scale factor:     reset position     move whatever your encoder is tracking certain distance (257mm for example)     look at the encoder value (5103514 counts for example).     then divide the two values to get travel in pulses per mm (19858.03112840)   now that you have scale factor, divide whatever encoder pulses are by that factor and you will get traveled distance in millimeters.    
  8. RsLogix Lookup Table programming Help

    lookup table just translates one value (input) to another value (output). if relationship is simple, one can use scale or similar transform.    If input is one of following cases 1,2,3,4 and output is 10,20,30,40 one can write Y=X*10 so only one operation is needed.   If input is one of following cases 5,6,7,8 and output is 10,20,30,40 one can write Y=(X-4)*10 so only two operations are needed.   If relationship is more complicated, math gets more complicated. In some cases it may be simpler to just create a list of all cases (table) and for each case assign specific value. If input is one of following cases 5,6,7,8 and output is 10,29,32,40 one can write EQU N7:0 5    MOV 10 N7:1 EQU N7:0 6    MOV 29 N7:1 EQU N7:0 7    MOV 32 N7:1 EQU N7:0 8    MOV 40 N7:1   That would be example of hardcoded lookup table. For each point there are two operations. if table is long, many operations would be needed. Once can also use more elegant way where data is stored in the data table and retrieved by index... if needed index can be calculated. SUB N7:0 5 N7:2  // N7:2 is recalculated index so input 5,6,7,8 is translated to 0,1,2,3 MOV N17[N7:2] N7:1  // then we can use N7:2 as an index to read values from table N17 that contains list of output values
  9. 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.  
  10. Bit to word

    did not touch Mitsubshi in a while but something like this sure used to work: MOV D0 K4M0 MOV K4M0 D0
  11. 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.
  12. 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
  13. nope... just need someone who has done PLC programming,. one person is plenty. you should be the one watching over the shoulder.
  14. 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).  
  15. 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?