panic mode

MrPLC Admin
  • Content count

  • Joined

  • Last visited

Community Reputation

75 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

8979 profile views
  1. Constant Firmware Changes

    in that case i can see following options 1 - use your own firmware version (assuming it is possible to get tool and firmware from the product vendor) 2 - use different product. when something is constantly giving you grief, why not try alternative? And if that does not pan out, consider different brand. 
  2. Cj2m-CPU31_ Allen bradley powerflex 525_Ethernet

    what kind of Ethernet? Normally fieldbus connection would by cyclical so rather than using commands to send the message, you would access data as IO.
  3. Constant Firmware Changes

    what kind of products? HMI? PLC? 
  4. KRC4 supports 4 safety options: 1. parallel safety using SIB boards and interface X11 or X11+X13 (hardwired safety) 2. CIP Safety (requires EthernetIP option and connection to safety PLC) 3. ProfiSafe (requires ProfiNet options and connection to safety PLC) 4. FSoE (fail safe over EtherCat, requires bridge and and connection to safety PLC)   Of course only one of them can be (must be) used at any time. Also EIP and PNET are using same resources so cannot be used at the same time.   KRC4 configuration is done with WorkVisual which is free download from kuka website and usually also found on D:\ of the KRC4. WorkVisual includes several types of device description files but for EIP and DeveiceNet one always had to use generic ones (unfortunately). So if someone does have EDS from KUKA, please share it, i would be curious to check it out.
  5. motor stuck in 1 direction

    are you sure that direction output is set on time (before attempted motion)? try controlling it manually (force it to REV).
  6. Q02HCPU- Unit Verify Error

    You need to read the errors and report exactly what they tell. 
  7. Whether or not those addresses are in same or different subnet is determined by subnet mask. Ip address is only part of network configuration. It contains actually two addresses: subnet address and node address. Mask tells how the 32bits of IP address are split among those two. If you give more bits to one, fewer bits remain for the other.  so: + if the subnet portion gets more bits, you have have many subnets but each of them will be small (few bits left to address individual nodes in the subnet).  + if the subnet portion gets fewer bits, you have have fewer subnets but each of them can be large (more bits left to address individual nodes in the subnet).  to see this, convert subnet mask into it's binary form: places with "1" must be on the left (identify bits in IP address that represent specific subnet). places with "0" must be on the right (identify bits in IP address that represent specific node). example1: or  11111111.00000000.00000000.00000000  only 8 bits used for subnet but many bits available for node addresses. this is used in large networks (internet companies) example2: or  11111111. 11111111.00000000.00000000  16 bits used for subnet and 16  bits available for nodes (large corporations or ISPs) example3: or  11111111. 11111111.11111111.00000000  24 bits used for subnet and only 8  bits available for nodes (small networks, like home LAN, or individual machines) example4: or  11111111. 11111111.11111100.00000000  22 bits used for subnet and 10  bits available for nodes (medium networks etc.). Some of the basic rules are: 1. in subnet mask all "1" are on the left, all "0" are on the right" - ALWAYS. 2. all nodes in one subnet must have same subnet MASK, because this is used to split correctly IP address into two fields.  3. all nodes in one subnet must have same subnet ADDRESS (first portion of IP address, bitfield that corresponds to "ones" in mask) 4. all nodes in one subnet must have UNIQUE node address (second part of the IP address, bitfield that corresponds to "zeroes" in mask) So if all devices in your case have subnet mask such as then all of them ARE in the same subnet (first two numbers of IP match). If you set mask such as then first three numbers in IP addresses would need to match, and since that is not the case, each system would be a separate subnet.  And if you have only a handful of such systems but on different subnets and the only node that needs access to all of the systems is PC node (DATA PC), you can leave everything as is and just assign several configurations (ip/mask) to its network card. if your DATA node is a PLC, this will not work. PLCs have very limited resources when it comes to networking. But PCs can have several IP's assigned to same network card at the same time (saves time so one does not have to switch addresses all the time).   Btw. i also see often people trying to connect things with different subnet masks... Bad idea. It may "work" in some cases but this is definitely not correct and not guaranteed to work - at least not correctly. It may led to a lot of frustration (connection working only one way, or it is intermittent etc.).
  8. I am usually setting up the robot side but have never seen an EDS from KUKA, so why don't you post it? Normally this is  always done using generic Ethernet module as stated by pcmccartney1.   Also      1. what is your exact KSS version? 2. what is the version of EtherentIP option installed on robot controller? 3. Are you trying to create only standard data connection or also plan on using CIP Safety? If planning to use CIP safety, PLC must be acting as "controller" (master). Also in this case if using older PLC software/firmware CIP safety would require second network adapter in PLC. Newer PLC firmware can do both standard and safety data over single network interface if you download and install AOP for this from Rockwell website (Btw. you can also get it from downloads). I think latest version is 1.62. Also RPI for safety interface must be set to 25ms. Note: KRC4 can be setup to act as EIP master, EIP slave (up to 5 standard slaves and one safety slave) or it can be everything at once (master and several slaves). I guess other terminology is "master"=Controller and "slave"=Adapter or whatever, it is the same thing.  
  9. How should I matching the impedance?

    he asked the same thing in several times here and also on other forums. got same responses but does not seem to respond to questions in responses
  10. Q02H Analog Signal scaling GX Works 2

    Of course, that is why this is generic and not optimal for each and every scenario ( and no solution will be perfect for all cases). But i also never claimed that this equation must be implemented using integers. This can be implemented in floating point or fixed point format. The point is than one does not need to feel stuck just because something is not available as s canned and ready to use instruction. Eord programmable  in PLC means things can be done in software. I merely showed the way.
  11. Safety plc help

    why not put on scrubs and gloves and start performing surgery? in both cases human lives are in danger but medial field tend to pay better...  honestly, i would say, should not be getting near tasks that involve safety unless watching over the shoulder of someone experienced.
  12. Q02H Analog Signal scaling GX Works 2

    hmmmm... i am not impressed how easily people get "stuck". this is a very common and straight forward task. it is easy to do on any platform using nothing but high school math. in tend to roll my own functions because i don't like incompatibilities that specialized instructions bring. this way i don't care what the target platform is. just quickly adapt library and my programs will run on any controller.  there are different ways to go about this, depending on specific application needs, or computational optimization but assuming one wants generic universal scaling with parameters and without clipping, one may proceed as follows: assuming input signal and domain are: in in_low in_hi and output signal and range are: out  out_low out_hi and knowing basic linear equation in intercept form y=mx+b one can write following: intercept is b=out_lo  for line, slope is simply change of Y over change of X m=(y2-y1)/(x2-x1) or if use range and domain  m=(out_hi-out_lo)/(in_hi-in_low) but can also be expressed relative to "in" and "out": m=(out-out_low)/(in-in_low)  the only thing left is to combine everything and you get the universal linear scaling formula where domain and range can be simple to parametrize. rearrange last equation from: m=(out-out_low)/(in-in_low)  to (in-in_low)*m=(out-out_low)  then substitute in previous m expression to get: (in-in_low)*(out_hi-out_lo)/(in_hi-in_low)=(out-out_low)  and finally isolate "out" to get:  out = (in-in_low)*(out_hi-out_lo)/(in_hi-in_low) + out_low and that's it... universal formula for linear scaling with parameters. now you can use PLC of your choice to implement that equation. and this is easy because equation only uses basic math operations which are available on every controller. if clipping of output is also required, simply check if scaled output is in range. if range is exceeded trim the value to range limits.
  13. Many likes

    i noticed the same thing. forum measures may block spammers from posting but they continue to annoy by using likes for example.
  14. Report Button

    scammers can automate creation of garbage accounts/posts. we however have to manually block them one post or account at a time.  there need to be a better mechanism to control this invasion.
  15. no i have never used this product... but in general, to send command you need to know correct message format and probably handshaking sequence, since some devices may require several other commands before they are ready to accept one you need (initialize something, set specific mode, etc.)