MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mushu

  • Rank

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Country Ireland
  1. barcode reader to PLC

    I have used Sick barcode scanners with DeviceNet
  2. Hi All, We have been working on the system and finally we got the sequence; you have here a resume of the process, I hope it can help someone in the future: PowerFlex 700 VC with Encoder 1. Hardware: VSD: PowerFlex 700 VC – Firm. 7; AC drive PowerFlex 700, 400V, 3PH, 3.5A, 1.5KW, IP20, EMC, I/O; Cat. No. 20BC3P5A0AYNANC0Encoder Feedback: card added to the VSD: 20B-ENC-1 Ser. BBrake resistor kit, PowerFlex 700 frame 0, 380-480V, 115 Ohm: card added to the VSD: 20BD-DB1-0. Ser A.DeviceNet adapter for Powerflex 700: 20-COMM-D series B.Encoder: Efector 400 RB6029 – IFM electronicSLC500.1747-SDN: SLC devicenet scanner 2. Software: DriveExecutive. 3. Parameters: P196 [Param Access Level] = 1 Advance To set up use DriveExecutive wizards: Start up and Position Profile. P53 = FVC vector P80 = encoder P88 = Position/Speed Profile P190 = Bipolar P213 is Min Speed Limit; when the profile is running the message is Speed/Pos Prof. Dymamic Brake was chosen; it is internal resistor type. P707 need to be set to suit the application; please note that the units are “counts”. Note: in the wizard you can set the encoder and system parameters to get the counts per unit: Once P88 is set to Position/Speed profile Alarm 34 (Home not set) is set. See info about alarm: Alarm 034 [Home Not Set] Home Position Not Set § This alarm can be enabled or disabled using [Alarm Config 1]. Configurable alarm set in parameter 259, bit 17. When set to "1," this alarm is displayed when any of the following occur: · parameter 88 is set to "7" (Pos/Spd Prof) · on power up and parameter 88 = "7" · recall user sets and parameter 88 = "7" Alarm is cleared when: · setting parameter 88 to a value other than "7" · reset defaults · parameter 259, bit 17 is cleared · a digital input is configured as "Set Home" and input is True · parameter 705, bit 9 is "Enabled" · parameter 700, bit 13 (At Home) is "Enabled" - position regulator will set this bit if device is "home" Solution: parameter 705, bit 9 is "Enabled"; the alarm is cleared and P702 value is moved into P701 and the VSD can move. At this stage a homing sequence should be performed. Procedure: P705 – Set bit 10 – find homeStart VSD.Homing profile starts. VSD moves in the direction set by the polarity of the speed.When Home Limit is set (A digital input has to be configured as “Home Limit”) then the VSD would stop and bit 13: “at home” would be set in P700 and P702 value is moved into P701. We tried to move the motor to a home position based with Digital input 6 (configured as Home Limit). It worked for us several times, but then sometimes it was misbehaving. Problem 1: Homing sequence and Digital input 6 was on but the VSD didn’t stopped; so eventually we stopped the VSD manually with DriveExecutive. When we started the VSD again, P701 [units travelled] was reset to 0 and it didn’t move; even though we were receiving signals from the encoder in P414. Problem 2: Homing sequence and Digital input 6 was on but the VSD didn’t stopped; the VSD slowed down and then accelerated; eventually the VSD changed direction… and then it stopped at the point where the digital input has been set!!! But we don’t want this to happen, we want that as soon as it finds its home it stops. Solution (well or work around): Use a step with Digital input type. It does exactly the same as the homing (as far as I can see). And at the end: P705 – Set bit 9 – redefine position, so we set P701 with the home value. We need a sensor at the end of the movement. So when we need “homing” we will move in that direction (it is marked with the sign of Step Speed). We leave “Homing enable” so we get P211 – Bit 17 – Profile Set Home alarm; so we know homing is needed. It needs positive edge of “Home Limit” signal; so do not start homing (it is not needed) if the digital input is on. If you do it will run until it gets a positive edge of the digital input. Moving the turntable: encoder absolute steps. Depending on P701 (actual position) and Position the VSD will turn in one direction or another. f.i. if P701 = 50 and Position = 20: the VSD will move with negative Hz if P701 = 10 and Position = 50: the VSD will move with postitive Hz Dwell time? We thought it would hold on position for 10 seconds; but it moves around the Position!!! So it is not good for us (for this application). So to start: Set P705 bits 0-4 to give the step number in binary. Start VSD. The VSD moves to that step and does it. Once it finishes the VSD stops. If we stop prior Complete, you can restart the VSD and it will keep. To hold a step: Set P705 bit 8 to hold Start VSD if it is not running The profile will keep moving around the SP position. (Not good for us for this application; maybe for the future) To move to next step: Set P705 bit 13 to hold Start VSD if it is not running The profile will move to next step. To abort the profile: Set P705 bit 14 to abort Start VSD if it is not running The profile will stop. As you can see we have still some issues but we are hoping to solve them or to work around them... Thank you all. Regards, Mushu
  3. Hi Paul, Thank you very much for your answer; it is very clear. I spoke with Rockwell technical support and the Rockwell guy that indicated all necessary equipment and I found that that I actually needed an encoder; they presumed that there was going to be an encoder and I presumed that they included all the necessary. Well, now I have my encoder: an ifm RB6029; it has 1000 RPM and it is qudrature incremental encoder. When I said: Pxxx, I meant parameters, no PowerFlex. You are right about that accelation and speed; they are important what I meant it is that I don't need to be very fast in this application (so it is good, I think). The counts per unit is a parameter of the VSD (Parameter 708); it is calculated from the encoder PPR, the gearbox ratio and another phisical measurements; I hope to have more info to calculated. I have been doing some test today; I receive the feedback from my encoder (I can see the direction). I am using Drive Executive (a Rockwell software) to configure the VSD; anybody familiar with it? At the moment I am doing test on a test rig, so I am focus on the "sequence"; could anybody help me how to do this? 1. Turn 90 degrees (f.i. to position 100) and stop 2. Wait until some tasks are perform 3. Turn -180 degrees (f.i. to position -100) and stop 4. Wait until some tasks are perform 5. Turn 90 degrees (f.i. to position 0 (home position) and stop Wait for next sequence Thanks again Paul, Mushu
  4. Flex IO with a PC

    I'm afraid you need a PLC.
  5. Flex IO with a PC

    Hi Casanunder, Is that Flex I/O connected to a PLC? I think you need a PLC in order to read the I/O. Regards, Mushu
  6. Hi all, We are installing a turntable with three positions; to control the three positions we are going to use a PowerFlex 700 vector control with an encoder feedback as an absolute encoder. It is not important the speed and the position could be +/- 5 degrees. It is important to "remember" the position and the home position. The PLC is a SLC500 and the VSD will be in DeviceNet. 1. How could I calculate the counts per unit? 2. In each position several tasks are done; once the task is finished, we move to the next position. How do I move from one step to another? Excuse me, I found that with P705 I can start the step. 3. Where could I find a brief explanation about how the VSD calculates the position (excuse me but it took me a while to understand that I didn't need anything at the motor shaft )? 4. As we want the system to work as an absolute encoder, Rockwell recomend it to use an encoder feedback. I haven't found much information about the encoder feedback; how does it work? Why "Units Traveled" is not enough? 5. Do you have an example that I could see? Thanks, Mushu
  7. Hi all, I have a client with a small system with a S7-313 PLC; he gave me the uploaded code. When I opened the hardware configuration, all cards appeared as unspecified. When I saw it the first time I thought: well, the person who uploaded the code didn't have the hardware cards in his/her library... if I go and I upload the code, and I have the cards in my library... I will get the full hardware configuration. well, it didn't work like that; when I went online (I had all the cards in my harware library), I could see the same hardware configuration with a kind of generic cards (it doesn't specify the number of channels in any of the cards, or the wiring configuration in the analogue cards); I am interested in an analogue input card, as I want to change the hardware configuration of two channels from 2 wire to 4 wire. when I went online the card appears as an 8 channel, eventhough the actual card is a two channel, and the configuration is for voltage!!!! when the instruments are 4-20 mA. I create the hardware configuration online with the right cards but when I tried to go online it said that it was different so I uploaded and I got the same result: unspecified cards... The customer wants to change an analogue instrument from a 2 wire model to a 4 wire model but I am afraid to change anything until I get the present hardware configuration. I have a test rig at home with a PLC and an analogue card... I have been trying to get a similar result (the unespecified cards) but I haven't success. Any idea? Have you ever seen this before? Is there anyway as in Allen Bradley of creating a hardware configuration with generic cards? Thanks, Ana
  8. How to add a DI/DO card in a FX2N

    Thank you very much. I don't have any Mitshubisi PLC to try here in the office, so I will try it when I go on site. Thanks again.
  9. How to add a DI/DO card in a FX2N

    Thank you very much. So once I connect the card, would this cause any fault in the PLC? Once I go online to the PLC, should I see the new tags? Escuse me but I am completly lost.
  10. Hi all, I am completly new with Mitsubishi PLC's. I have to do a small change in a FX2N-32MR-FS/UL and to add a new FX2N-32 ET-ESS/UL (16 DI/ 16 DO). When I go to PLC parameters, the I/O configuration button is disable, so I don't know how to insert my new card in the configuration. At the moment there are 3 cards (1xFX2N-32 ET-ESS/UL, 1x FX2N-8AD and 1x FX2N-4DA) but I cannot see them (well I cannot see the configuration at all). I can see the tags used in the programme with the address pointing the cards. I have several versions of the PLC code; but when I tryed to do Cross reference only one code worked; then I realised that this code was the one with more files. If I save this code into another folder only 3 files were copied, and then I cannot do the cross reference in them. Any idea???? Thank you in advance.
  11. RSView32 Data logging

    Hi all, I have a customer that has a RSView32 application running. The datalogging is configured to keep the data permanly. They used to maintenance the log file periodically, but for some reason in their procedures they stopped doing it. Do you know what is the best practice to maintane a log file? As this file keeps growing they have problems every so often. Should he: 1. Stop RSView32. 2. Copy the log in another location. 3. Open the log file and delete the old data. 4. Close the file. 5. Re-start the RSView application. I don't know if RSView32 manage the file in other way; if it deletes the old data when the file becomes too big. Thanks
  12. SICK Barcode Scanner and DeviceNet

    Thank you everybody for your help. Finally I got an answer from Sick. My barcode scanner firmware doesn't support DeviceNet. The reason why it took so long to find it out is because I don't know yet how to know the firmware version yet. Apparently it is written on the box of the devices, but obviously we don't keep the boxes. So I have to give the manufacture date of the scanner, and then sick checked if it was compatible or not. In the next few weeks I will get a newer version, so I will let you know how I'm getting on. Thanks again, Mushu
  13. SICK Barcode Scanner and DeviceNet

    Hi Ken, I have checked the cables, I have resistors at the ends,... everything looks ok, but it doesn't work. Thanks, Mushu
  14. Hi all, I have a Sick barcode scanner connected with a CDM490 and a CMF400-DNS board for DeviceNet. I need to connect it to a 1747-SDN SLC DeviceNet scanner, but when I open RSNetworkx the barcode scanner is not detected in the network. If I disconnect the barcode scanner the network is healthy and everything is working, but when I connect the barcode scanner the network fails. Error 91 appears in the Devicenet scanner. As far I understand when you connect a new item, even if it is not in the network configuration, the network would keep working. But it doesn't. Has anybody came across this before? Thanks, Mushu
  15. Hi Eddie Willers, Thank you very much for your help, it was exactly what I needed.