MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

2 Neutral

1 Follower

About Jobbe9000

  • Rank

Profile Information

  • Country Denmark

Recent Profile Visitors

384 profile views
  1. Alternative to TEXTJOIN for creating code

    I just used the text to columns in excel 2016, with just a "Space" as delimiter. and excel break is into 4 cells. Cell A1: XIC Cell B1: ? Cell C1: OTE Cell D1: seven_tags.0 Then dragged the lower right corner of cell D1 down to "seven_tags.7"   Then in Cell G1 i entered =A$1&" "&B$1&" "&C$1&" "&D1 and dragged cell G1 down to G8. This will solve your question about excel, but i dont think you are able to import it into logix again.   If you want to able to import your changes to logix, firstly try to export your routine with just " XIC ? OTE seven_tags.0" created in it, and open the export file in a text editor.. You will see that logix uses XML, Nice! This is the part you want to copy and modify: Copy this 7 times and increment the rung number and seven_tags.index.. Save your file and import the routine back into logix. You can use excel to create the syntaxes for you, in a simelar way as i did in the above explanation. XML should not care about whitespaces and new lines, so you can create the XML as "<Rung Number="0" Type="N"><Text><![CDATA[XIC(?)OTE(seven_tags.0);]]></Text></Rung>" and still be able to import it.   I hope it makes sense, and wish you the best of luck with your auto-generate project :)    
  2. State Machine Based PLC Logic Design

    Hi Madhura, There are a ton of different ways to implement state machines, and alot of compagnies use their own version. If you want to look at some lirerature, you could look at PackML. There is a lot of implementation guides and descriptions on the internet. BUT just be warned.... implementing PackML can be a huge task, and if you only need it for this one project i would suggest that you take look at the standard and take what you find usefull from it. PackML is maintained by OMAC, and the site AutomationML has made a pretty good implementation guide.
  3. 1734-IB8S Input LED turns red.... Causes

    Only thing that i can think of, (except if the cable is damaged) is the speed of the cylinders or one of them binding on something. Sometimes there are counter and adjustable throttle valves on theese. I know you have 1 second as discrepancy time which should allow for most binding in either one of the cylinders. Uneven cylinder movements might be the cause of this only happing "once in a while" But again... Same thing could a damaged cable :)   I am not sure that a diagnostic code is available, when you are using the dual channel conf on the input card... like it would when using the DCS block.    Finding periodic faults can be a hassle, but i am hoping you will figure it our! Happy troubleshooting :)  
  4. Micrologix talking to Schneider Drive

    Hi Glenn, I havent tried this, so can't say that it will work for sure... But try to take a look at page 146, the assembly instance 100 is able to return some I/O words to you... Maybe you are able to setup in the drive, which words to return.. In that case it might be possible to get the analouge value that way.   Might be worth a shot
  5. Not able to establish DDE connection

    Okay, and you have recreated the topic PLC-C on the Windows Server ?
  6. Not able to establish DDE connection

    Hi CY, Just a quick question, do you have RSLinx installed on the Windows Server PC :) ?
  7. Kinetix 5500 - Fault <Excessive Velocity Error>

    Hi Ng Haireen If you look in the fault log, you will see that about 30ms earlier than the velocity error, you actually had a "Soft Travel Limit - Positive" fault. This fault will throw an "Planner stop" exception, which tries to stop your motor with the maximum deceleration specified in the "Planner" category. If this deceleration is too steep or hard for the drive, then the "excessive velocity error" will occour. I think you should look at your setup to see if you are going very close too your soft limits... Especially when you say that you utilize 100% of the motors speed.  The motor will have no "extra power" to compensate if it gets alittle behind, and it might end up overshooting. So to summerize, you should check what values you have in the planner category, and check if it is possible not to move so close to the soft limits.
  8. 1756-EN2F

    Hi, There should be 3 rotarty switches in the top of the module to determine the IP address. if they are set between 001..254 the module will use (rotary switch address). If you wish to use an address outside the range, then the switches needs to be set outside that area (and also not 888). Use the BootP or RSLinx to configure and disable the BOOTP/DHCP mode, otherwise the module will not save the assigned address.
  9. Removing Coordinated Motion Task

    Hi Dan,   It is hard to tell without having seen the program, but the motion instructions for coordinated motion, usually takes the "cordinate system" as a parameter. If you make a backup of the project and delete the coordinate system, you should be able to compile the whole project and you will get an error from the compiler everwhere the coordinate system is used.    
  10. Kinetix 6000 registration input using existing sensor

    Not beeing an expert on the 6000 series, but you should be able to just connect the common (pin15) on the Kinetix 6000 with the 24VDC power supply common for your CLX inputs. Then pull a wire from where the sensor is currently connected to the CLX input and to the IO registration Pin on the Kinetix 6000. If its just for testing purposes then that should do it...
  11. Kinetex 5500 Servo Drive Vertical Load

    The "MechanicalBrakeEngageDelay" parameter determins the amount of time that the servo drive should keep torque on the motor while the mechanical brake engages. It does not determin how much time the mechanical brake actually uses to engage. You should raise the time, ive heard somewhere that most mechanical brakes in AB servoes uses about 200-250ms to engage. Try to raise the engage delay time.  
  12. MATC_recovery

    Hi, First of all you have to remember that working with cam profiles is always done incremental, and that is why it always seem to start from zero. I suspect that you use the MAS or MSO to "Pause" the axis? And that you use the STO (Safe torque off) either with CIPSafety or hardwired? When the STO is activated the drive issues a MSO by itsself, which is simalar to issuing an MAS instruction to stop all movements, gearings, cams etc. and this brakes the link between the time master and your axis.   There are 2 ways to solve this problem: If you want to continue using a time cam, you will have to do some math and scale your time cam before starting it after an E-stop. This can however be very tricky if the axis is working together with other axes.   The (in my oppinion) better and more safe way to do this, is by looking into virtual axis and position cam. A virtual axis is not affected directly by STO because it as the name suggests, does only exist in virtually and cant cause any danger in the real World. The way that you would handle this, is to create a virtual master, and a virtual axis excatly matching your physical axis in settings, scaling etc. Then use a MAG instruction to gear the physical axis to the virtual axis. before excecuting the cam profile. In case of an E-stop, you will stop the virtual master and the other virtual axis and the physical axis will stop together with the master axis. Once the axes are stopped by a controlled stop, you can activate the STO function on the physical axis, which will only brake the gearing to the virtual axis.. the virtual axis is still linked in a cam profile with the virtual master axis. Once the E-stop has been reestablished, you are able to gear the physical axis back to the virtual axis and start the virtual master again.   I hope it makes sense and that you will figure it out.