BITS N BYTES

MrPLC Member
  • Content count

    811
  • Joined

  • Last visited

Community Reputation

47 Excellent

About BITS N BYTES

  • Rank
    Guru

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Gender Male
  • Location Miami Beach FL
  • Country United States

Recent Profile Visitors

8565 profile views
  1. CP1H with servo motor

    If you measure the PWM output with a meter does it change with the duty ratio? Maybe a wiring issue? Notes from servo motor:- Frequency of PWM: MG995 takes in PWM signal of frequency 50Hz and any higher and lower frequency PWM will lead to error. As shown in figure the every single cycle of PWM needs to be 20ms width for 50Hz frequency. Duty cycle of PWM: The duty cycle of PWM (or ratio of ON time to total cycle time) determines the position of servo axis. If we provide a PWM signal of 0.5ms ON time over 20mS complete cycle, the servo axis will move to 0º. Your settings  for pulse output  0 at  1000 hex Pulse output 0 and Duty factor in increments of 0.1%, Frequency in increments of 0.1 Hz look correct, but maybe the motor will not respond correctly. Try 0000 for the Port specifier and change the duty ratio to &50. IMHO has to be either a wiring issue OR response from the motor.
  2. CP1H with servo motor

    Providing model number does NOT end with an A [CP1H-X40DR-A or CP1HXA40DR-A] the PWM should work. 1. With PWM outputs it is NOT necessary to change any PLC settings. 2. Is the task in which the PWM and INI instructions running? 3. Could be a wiring OR power supply issue from the PLC to the MG995 servo? 4. Post your code.  
  3. Fork terminals for Mitsu PLS's

    Does anybody has a place where to order these narrow sleeve fork terminals? Our distributors have only this car-style (=> large, thick) standard crimp shoes. They are so wide, the lower screw is covered again. You should find what you need here: - http://www.ferrulesdirect.com/electrical/VINYLINSULSPADETERM.htm  
  4. PULS & SPED for Controlling Servo Drive

    do you have any idea where should i check? If you are sure PLC program is configured correctly with PLC and SPED then the problem has to be in the Servo Drive parameters. Can't help you there as I am unfamiliar with the Panasonic servo products.  
  5. PULS & SPED for Controlling Servo Drive

    PLS sets the number of pulses you want to send to the drive. If you want to rotate the motor 1 revolution and the drive and motor is set up correctly so that 2500 pulses = 1 revolution use 2500 in PLS. SPED sets the target frequency [pulse rate] used to output the number of pulses set by the PLS instruction. If you want to rotate the motor at full speed of 2000 rpm then use 83333 for the target frequency in the SPED instruction. Read the relevant section in the manual W451-E1-03, this has examples of how to implement PLS+SPED on page 730.
  6. PULS & SPED for Controlling Servo Drive

    First of all I recommend you use the PLS2[887] instruction. This allows modification of the accel/decel rate, target frequency [max. speed] number of pulses and whether movement is relative or absolute. In your  application a 2000 rpm motor with 2500 pulses/rev would require [2000 x 2500]/60 = 83333 pulses/second to achieve max. speed. You cannot send fractional values for pulse outputs [you mention 1.525]. My 2 cents.  
  7. CP1E PLC AI scaling logic requires

    Use the APR instruction. Program example attached in this post........................ http://forums.mrplc.com/index.php?/topic/30950-proble-with-scale-function-in-cp1l/#comment-145675
  8. stepper motor controle CP1E

    High speed outputs will ONLY work if the model has transistor outputs.
  9. Measuring with Plc

    Added note:- To measure speed I recommend using the PRV2(881) instruction. Just be certain to use high-speed counter 0 for your encoder input as PRV2 only works with this input. Also reference this link. Though for a CJ PLC same principles apply. Very useful! http://forums.mrplc.com/index.php?/files/file/268-cj1m-motion-and-interupts-quickstart/
  10. Lamp Bit and Buzzer

    The CP1L series PLC's do NOT support bit level addressing of D registers. [Only available in CJ2M series] So change the allocation addresses to W memory. Turning on W0.12 in the PLC will turn on the continuous buzzer on the NS15 HMI.
  11. Lamp Bit and Buzzer

    Then you need to change your communications setup in CX-Designer by adding a HOST to the ethernet option and then point the NS memory to the desired location in the PLC.  
  12. Lamp Bit and Buzzer

    In CX-Designer go to PT->System Settings ->Initial. Assign "$SB Allocation Address" to the PLC memory area you wish to use. Then select "System Memory List". In order for communication to work you must enable the check box.