Search the Community

Showing results for tags 'how to connect encoder to nx-ec0122'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 67 results

  1. Does anyone know how to change the reading on Omron servo motor reading from negative to positive? The encoder is reading negative values when it is moving in the forward direction.  I am using 1S servo on NX1P2 controller on Sysmac studio software.  Please suggest. 
  2. Can USB-A2 connect PLC through PROFIBus? Can profibus connect sub-stations directly for diagnosis?   There is a 3152dp, which communicates with the sub-station through dp, and it is inserted into the dp head of cpu. It is not connected by automatic mode, but can be inserted into mpi port. Do you need any Settings?
  3. Hey group! I am working on a project that has a machine that forms cartons that will drop the cartons into a cleated conveyor after they are formed. The forming machine needs to be synchronized with the cleated conveyor so that the formed cartons will drop in between the cleats as they pass under the forming machine. So, in essence, the conveyor will be the master and the forming machine will be a slave to the conveyor and match its position accordingly. Initially, it was proposed that the conveyor utilize a CIP encoder so it could be set up as a motion axis, but the customer declined that option as they didn't care for using CIP encoders (can't really blame them!). So, a slightly cruder proposal of using two 1024 count encoders was proposed, which they accepted. However, your friendly programmer here isn't quite sure how to make that work! I think the basic concept is encoder following but but I can't seem to find anything online that really describes the actual process or logic for this. The RA Sample Code site doesn't seem to have anything on there but maybe I just haven't entered the right search keywords. The forming machine has the following notable components: 5069-L310ER 5069-HSC2xOB4 PowerFlex 525 drive 1024 count incremental encoder As noted, the idea is to have a 1024 count encoder mounted on the conveyor with some sort of ratio so that the counts will run the pitch of the cleats 508 mm). Some trickery will have to worked in to get them to sync at the right time but for the time being, I'm just looking for a method to do the encoder following and asking the group if anyone has some ideas, or better yet, a method, of how to accomplish that.
  4. Encoder for fx1n

    Hi all! How can I use two AB phase encoder at the same time. I use Mitsubishi FX1N PLC, and I would like to use a high speed counter. I think the plc has 6 high speed counter input, but I cant use only one at same time.
  5. Hi, I have to implement an axis control in a NX1P2 PLC using an inverter (3G3MX2) and an encoder cabled on a EC0122 board. I found something similar implemented  on a CJ2M PLC, but I have no idea how to set up the axis in the configuration of sysmac studio and how to implement the control. Can someone help me? Some sample to catch out the configuration?   Thanks a lot Andrea
  6. connect encoder to nx1p2

    hi everyone i have a question about nx ec0122 i connected an encoder to ec0122. now i want creat a programm for read the pulse and reset pulse. Then write a program to measure the length of a roll. How should I do this? Thank you for your help
  7. Hi All, I just take over a project which involve accurate positioning and movement up to 0.010mm(around 10 microns) of a servo motor. I found out that my motor always move to an incorrect position. Let's say I want it to move to absolute position of 5.210mm, I found out that it may move more till 5.235 or move less 5.190(something like that). So i start to check if I'm outputting correct pulse. Using CX-Drive, I connect to the driver then i found out that the pulse is correct and consistent(for example i use my pulse per revolution and pitch to determine how many pulses) Currently I'm using an incremental encoder and servo motor and my PLC cycle time is around 12 ms and my servo move at a speed of 0.66mm/s. So I was wondering if my PLC scan time will affect my accuracy in moving ?? I'm using a CJ2M PLC with CJ1W-NC413 pulse card , incremental encoder and a servo motor. I want to make sure is not software limitation or anything wrong on software side before I bring it to my mechanical team   Appreciate all inputs here and thanks!
  8. Crane Positioning

    Hey folksI'm trying to make a Ladder program in Sysmac Studio to control a Crane.The crane gets via a HMI a position that it must drive to, first at high speed then in low speed this is controlled via encoder signal for fine positioning there are several sensors.For all this I have an NX1P2-9B24DT1, NX-EC0222 and 3G3MX2-A4030-ESomeone here who can help me with an example of how this can be done in Ladder.Many thanks in advance for your help.
  9. Hello There, Hope you are safe and Healthy. I am using Omon "CP1L-EM40DT1D" PLC controller for a cut-to-length type of application. for the measurement of length, I am using an inbuilt high-speed counter 0.   Now the problem, when the status of PLC changes from Power off to Power On the high-speed counter starts from 0. How to hold the pulse value of HSC0 at power restart ?    (I am using Differential Rotary Encoder, not absolute)
  10. NX1P2 Motion Control

    Hi:       I need to change an old PLC  with NX1p2  to control 3 servo motor by means of Analog Outputs couple with encoders, My job is to change the PLC only. So the servo drives and drivers are untouchable (No budget and involve too much mechanical works).   I observed that Sysmac Sttudio Axes setting has this: Servo Axes, Encoder axes, Virtual Servo Axis and Virtual Encoder Axes.   I believe the Encoder Axes couple with Analog Output is able to to do the Job? If so, what function block should i use? If no, do any body have a suggestion of any function block i can use? Thanks  
  11. Hi:         I am planning to use NX with Encoder Card  couple with Omron Rotary Encoder for measuring product length. ( GX-EC0211 /EC0241) or may be (NX-EC0112, I read there is proble with this card , here https://forums.mrplc.com/index.php?/topic/34896-problem-pulse-reading-with-fast-counter-card-in-nx2/ ), but whatever it is I need to know is there any specific Instruction in Sysmac Studio that is tailored for Fast Counter or Encoder (something Like PRV in CX Programmer or special function in CJ-CT021 where start/stop counter and changeable preset counter are available).  The Length measurement is straight forward and is only a small part of the overall program.  Basically is Start ---> measure to length----> Cut --->Repeat again.  I read through the Instruction Reference Manual and I am unable to find one.   Anyone have any idea or any sample program (Sysmac Studio only ) that I can refer to ?    Thanks     
  12.   Good afternoon, dear specialists. Recently, only without preparation, I began to set up communication between the scada and the PLC. The problem is that RSLINX LITE (v3.90.01 CPR 9 SR9) sees both PLCs on the network, but one of them gives a problem with reading data, or rather, the data monitor does not load at all (or shows a red cross (which means there is no physical connection to the PLC)). But it responds perfectly = 1ms. Nearby is an old PC with an old RSLINX LITE (v2.41.00) that perfectly reads data from both PLCs. What is the problem? why doesn't the more recent program read the data? There is an even older PC on Windows XP on the Intouch scad, via OPC the "SMC" application also reads data without problems New PC:                                               Old PC:                                                still the third ancient PC: Windows 10                                         Windows 7                                            Windows XP RSLINX LITE v3.90                             RSLINX LITE v 2.41                             SMC (intouch) Status Not working                              Status Working                                      Status Workinп It was also connected via the "Ethernet" and "Ethernet / IP" drivers. I directly connected a new PC to the PLC and set up only one connection, still the result is negative. I would be grateful for any help! If I apologize for my English, I did it through a translator.    
  13. connection to omron CJ1M PLC

    I have an omron PLC (CJ1M type) at home which I would like to connect to, however, lately, I can't anymore.  I'm trying on two different PC's a newer and an older one, both running on windows 10. 1 is just mentioning a DLL error and I can't even start cx-programmer, the other one seems to work, however, when I try to go online it always fails I'm using a usb to serial device and after some searching on the net, I thought the issue was with the prolific driver.  I tried all kind of fixes, but nothing seemed to work.  I have now purchased another device, the XS8801 from usconverters and installed the latest driver.  I have checked if cx programmer is set to work with the correct port and this is the case. My knowledge is very limited but I would really want to connect to that PLC again, so hoping someone out here is able to help me. Thanks a lot    
  14. Hi everyone, I have an annoying fault on my Kinetix 5700 drive: M01-Safety Feedback. I know this fault is generated by  the SFX instruction in my Safety program that sets tag: "Axis.SFXFault" to 1. The problem is that the instruction is NOT in Fault (Fault code 1 = no fault). This error occurred after Safety encoder 843ES lost it's IP address. I used Bootp to set it gain. And reset the SFX instruction. I can see the encoder in studio 5000 rev 32.12 running and ok.  Does anyone encountered this problem? How can I clear the fault?   Thanks
  15. I have a machine with NJ501-1400 controller. I have some NX-ECS212 SSI encoder input cards. I use Encoder axis with that SSI encoders. I need to change the encoder axis value with the real value of the machine. I tried to use "MC_HomeWithParameter" instruction but I cannot do it because must'nt be used with encoder axis. If I put it at a virtual encoder axis I cannot change actual axis position. I tried to use "MC_SetPosition" instruction but it isnt retentive area and when I lost power I lost reference value too. How can I do it? Thanks! Josep Torres.
  16. Hmi temperature delta

    I have connected 2 temperature devices with him delta with plc delta by rs485. When I run plc I can see the temperature change on pc but the problem in hmi  it's give errors. Com 2 errors  I need someone help me to connect these devices please 
  17. How to connect + Program wire encoder

    Hi all, I am not a PLC expert but can find my way within the program and would like to develop much more. For work (We sell industrial bandsaws) we have purchased a Posital Fraba wire encoder, and we would like to hook it up to our Mitsubishi FX3G PLCs to measure at what height the saw bow of the bandsaw is at that moment. Unfortunately I have little experience with connecting these things, as other encoders used in our machines are pre-installed by our factory. Below is described what functions the wires have. What I thought was the following: Pin 1 goes to an input of the PLC Pin 2 goes to + (or 24V) Pin 3 doesn't go to "Ground" as they describe, but instead to - (or 0V), which is technically ground Pin 4 and 5 we don't use, correct me if I am wrong. The saw bow goes up and down only, and I thought we don't need to use these wires.   I connected it like this, connected wire 1 to X0 on PLC and just to test I made the program read:   M8000 ------------------------------ C235 k99999   But the value stays 0, whether I pull the wire or not. So something is wrong, but what, I really can't figure out. Hope someone can help!  
  18. Hello Everyone, I am struggling with interfacing Incremental encoder with FX5U PLC, Does anyone have parameter setting and sample program for same. i am unable to fetch counts...   Encoder: 500ppr, 24V line drive, A-B phase,  PFA datasheet
  19. Hello guys, I am running an application for packaging measurement using a sick DFS60B incremental encoder (programmable from 1 to 10000 PPR). In more detail, it passes packaging on a conveyor belt and we have created an inspection station and an expulsion station (defective packaging), so we use the encoder to check at specific points of the packaging for defects (we use special sensors to check defects). ) (there are four in total). However, the problem we are having is the following: When reading the encoder in the PLC, the same means that performs "jumps" and does not enter the windows (GRT and LES) created on the ladder, ie, as if it were not continuous. . I understand that because the VHSC24 card works at 1 MHz in counter mode, this type of problem should not occur according to our application is not even 100 KHz. For example, our case: Using 1000 PPR and the motor speed (coupling output) is 3600 RPM (in practice it is around 1750 RPM) the frequency is calculated as follows: F = (PPR X RPM) / 60. : F = (1000x3600) / 60 = 60 KHz, ie 60 KHz is much less than 1 MHz, I think this kind of problem does not occur. Application Info: . Studio 5000 V31 . PLC Model: Rockwell 1769 - L19ER-BB1B CompactLogix 5370 . Encoder Card: 1734-VHSC24 / C . Incremental Encoder: Sick, DFS60 up to 10,000 PPR and HTL Electrical Interface. Using a 200 mm circumference / perimeter wheel. . Motor Nameplate Data: 1670 RPM, 0.37 kW / 0.5 HP, 60 Hz . Inverter: Weg CFW500, Output Frequency 62 Hz. Card Settings we use RPI: 2 ms Type: Counter, but we already use it as Encoder X1 Store Count Mode: Disabled Filter: No Filter, but we use 50 KHz and 5 Khz filters in our tests. Counter Attenuator: 1 Wiring Diagram VHSC24 We turn on encoder A at input 0 and encoder Aret at input 1 In logic (Structured Text) Using the PMUL instruction to convert encoder (Pulse) data to mm scale. (Ladder) The window comparisons part (GRT and Les) and other part of the process. We emphasize that we performed the tests also only with the reading and comparison part of the data, excluding the other parts, precisely to verify the issue of Scan, but the problem persisted. If anyone here in the forum has some information that can help us, I would appreciate it.
  20. Trying connect baumer EAL 580... Ethhercat absolute encoder with Beckhoff C6015. Ethercat connection is From PLC to EL6695 module(This module is connected to KUKA robot for mater to master communication) and from Out port of EL6695 to In port of Baumer Encoder. It is not getting scanned nor manually appended. But when i connect it directly to PLC it works fine(gets scanned). Any solution?
  21. Hi all, I am taking a Kubler draw wire encoder back to a 1734-VHSC24 and having a little bit of an issue with the rollover.  With the draw wire untouched the output value seems to be fluctuating over time and appears to be drifting backwards to the rollover value making our distance measurements completely useless.  Does anyone have any insight as to why that might be?
  22. Hi, I can’t find an answer to the following and I was advised to ask it here.I’m programming an Omron CJ2M with an MD212 high speed I/O card. I usually do all my programming in Structured text, simply because I like it a lot over ladder or sft.Now, if I want to read the hight speed counter (incremental encoder), I have to make a ladder section and use the PRV instruction to store the present value in a chosen location.The manual says the current PV is stored in A271, but I can’t get a readout there. Apparently the only way to read it is through this instruction.Does anyone know if there is an equivalent to the PRV instruction for Structured text? or another way perhaps? Again, when I check the actual memory adress, there’s no value there withouth the use of the PRV instr.
  23. s7 214

    Dear All ,  I need to connect two encoder to S7 214 PLC  any one have information about 1-If it applicable to connect encoder  2-How adjust it on S/W and H/W to work good  thanks in advance
  24. Cp1h-y - encoder issues.

    My issue and goal. - Trying to get an encoder (Automation Direct TRD-N30-RZVWD) connected to a cp1h-y to read wheel position(coupling) and have a pulse trigger at certain positions is this possible? I currently have the encoder wired up to highspeed counter 1 and am using PRV(881) port #0010 control data #0 with an P_On always on flag.  wanting to see  values change but nothing is being changed in the watch window. I'm reading the programming in section  3-20-2 HIGH-SPEED COUNTER PV READ: PRV(881), but I'm struggling.  any help is much appreciated.    
  25. M7 486 SIEMENS cpu

    Dear all ,  I have PLC M7 486 and connected encoder on EXM card 478 on the same rack  I need to know encoder address on PLC  programmer was written in C language