LX3V-4PG

Last modified by Theodore Xu on 2025/01/13 16:10

1 Introduction

The LX3V-4PG is pulse generator unit which has four channels. Each channel can control positioning of an axis independently. It works by sending specified quantity of pulses (200 kHz maximum) to Server controller or step motors.

The LX3V-4PG is an extension module of LX3V series PLC, which transfers data with the PLC using the FROM/TO instructions.

There are two versions for LX3V-4PG, one is LX3V-4PGA (Advanced), and the other is LX3V-4PGB (Basic). Please get more detail from [BFM description]

Warnings: Make sure power is cut-off before installation/disassembly of the unit or connection of wires onto the unit, to prevent electric shock or product damage.

2 Dimensions

LX3V-4PG_html_bf6ccc4678f6c050.png

  1. Extension cable and connector
  2. Com LED: Light when communicating
  3. Power LED: Light when connect to 24V
  4. State LED: Light when normal condition(Software version number 24002 and later, flashes when normal)
  5. Module name
  6. Analog signal output terminal
  7. Extension module interface
  8. DIN rail mounting slot
  9. DIN rail hook
  10. Mounting holes (φ4.5)

3 Crimp terminations

  • Please use crimp terminals as indicated on the graph.
  • The tightening torque should be applied 5 to 8 Kg.cm.
  • Other terminals should be empty but only wiring terminals mention in this manual.

LX3V-4PG_html_a035e325e1e93843.png

4 Terminals Definition

TerminalInstructionTerminalInstructionTerminalInstruction
COM0Common terminal for channel 1FP2Channel 3 outputs pulsesS/SCommon terminal for X and DOG, it supports NPN/PNP type.
FP0Channel 1 outputs pulsesRP2Channel 3 outputs direction
RP0Channel 1 outputs directionFP3Channel 4 outputs pulsesDOG 3Home position return: Channel 4 near point signal input
COM1Common terminal for channel 2RP3Channel 4 outputs directionX 0Channel 1 interrupt signal input
FP1Channel 2 outputs pulsesDOG 0Home position return: Channel 1 near point signal inputX 1Channel 2 interrupt signal input
RP1Channel 2 outputs directionDOG 1Home position return: Channel 2 near point signal inputX 2Channel 3 interrupt signal input
COM 2Common terminal for channel 3 and 4DOG 2Home position return: Channel 3 near point signal inputX 3Channel 4 interrupt signal input

5 Input and output Specification

Input specification

LX3V-4PG input specification

X input and DOG input

Input terminal: X0-X3, DOG0-DOG3

This is NPN type, if you want to PNP type, please connect S/S to 24V negative electrode, and X connects to positive electrode.

LX3V-4PG_html_3b5702fca4add783.gif

Input signal voltageDC V 24 ±10%Input signal typeContact input, NPN and PNP
Input signal current5 mA /DC24VCircuit insulationOptocouples insulation
Input ON current3.5 mA / DC24 VInput actionLED turns on, when input ON
Input OFF currentLess than 1.5 mA  

Output specification

Output circuit

Output:

FP0-3: High-speed pulse output;

Electrical parameters: Same as PLC high speed output (Y0-Y1);

PR0-3: Normal output direction;

Electrical parameters: Same as PLC normal output ( from Y4);

LX3V-4PG_html_9e4a6cda17d864b3.gif

ItemsTransistor output
ModelsLX3V series PLC
External power supplyDC 5~30V
Circuit insulationOptocouplers insulation
ActionLED turns on when optocoupler works.

Maximum load

Resistance0.5A/ each point, 0.8A/ four points (0.3A/each point in FP terminal)
Inductance12W/DC24V (7.2W/DC24V in FP terminal)
Lamp0.9W/DC24V (0.9W/DC24V in FP terminal)
Leakage current0.1mA/DC30V
Minimum loadDC5V2mA
Response timeInput current (ON)5us less than 0.2ms (FP terminal)
Input current (OFF)5us less than 0.2ms (FP terminal)
Output typeNPN signal

6 Function description

BFM list

BFMLatchedOperationRegister nameB15B14B13B12B11B10DefaultRange
CH1CH2CH3CH4
H16L16H16L16H16L16H16L16
04080120XR/WPulse rateUnit : PLUSE/ REV (Pulse/ Revolution) [1]20001-32,767
2142418281122121XR/WFeed rateUnit: it set by b2-b0 of BFM#3 [1]10001-999,999
34383123XR/WParameters--DOG input polarityS-type acceleration and deceleration [3]Home position return direction00-5
5445448584125124XR/WMaximum speed)The unit value depends on the system of units set in the BFM #3 b1 and b0100KHz10Hz-200,000Hz
64686126XR/WBias speedThe unit value depends on the system of units set in the BFM #3 b1 and b00Hz0Hz-10,000Hz
8748478887128127XR/WJOG speedThe unit value depends on the system of units set in the BFM #3 b1 and b010KHz10Hz-100,000Hz
10950499089130129XR/WHome position return speed (high speedThe unit value depends on the system of units set in the BFM #3 b1 and b050KHz1Hz-100,000Hz
115191131XR/WHome position return speed (creep speed)The unit value is depending on the system of units set in the BFM #3 b1 and b01KHz0Hz-10,000Hz
125292132XR/WReserved------
141354539493134133OR/WHome positionThe unit value depends on the system of units set in the BFM #3 b1 and b00-999,999-999,999
155595135XR/WAcceleration timeTime from the bias speed Accelerating to the maximum speed.100ms20-32000ms
165696136XR/WDeceleration timeTime from the maximum Deceleration to the bias speed.100ms20-32000ms
181758579897138137XR/WSet position (I)The unit value depends on the system of units set in the BFM #3 b1 and b00-999,999-999,999
2019605910099140139XR/WOperating speed (I)The unit value depends on the system of units set in the BFM #3 b1 and b010Hz10Hz-200,000Hz
22216261102101142141XR/WSet position (II)The unit value is depending on the system of units set in the BFM #3 b1 and b00-999,999-999,999
24236463104103144143XR/WOperating speed (II)The unit value is depending on the system of units set in the BFM #3 b1 and b010Hz10Hz-200,000Hz
2565105145XR/WOperating mode-Variable speed operation start-Two-speed position start----
27266766107106147146OR/WCurrent positionThe unit value is depending on the system of units set in the BFM #3 b1 and b0  
2868108148XR/WStatus flag--Interrupt signal----
2969109149XRError code------
3070110150XRModel code

LX3V-4PGB: 5110;

LX3V-4PGA: 5120; [5]

K5110 
3171111151XRVersion code K13301--
3272112152XRReserved----
3373113153XRReserved
3474114154XRReserved
3575115155XRReserved
3676116156XRReserved
3777117157XRReserved
3878118158XRReserved
3979119159XRReserved
BFM ListCH132528
CH2436568
CH383105108
CH4123145148
Device nameParametersOperating modeFlags
b9Rotation direction

Interrupt

single speed positioning start[3]

CLR signal
b8--Single speed positioning startPositioning completed flag
b7--Relative /absolute positionError flag
b6Interrupt signal input polarity[3]

Home position

return start

Current position value overflow
b5Positioning data multiple 100~103JOG- operation--
b4JOG+ operationDOG signal
b3 Forward pulse stopStop signal
b2Reverse pulse stopHome position return completed
b1System units: motor systems, mechanical systems, combined systems.STOPReverse rotation/ Forward rotation
b0Error resetReady/Busy

✎Note: Symbol remarks: O means power-off save type; X means power-off non-save type; R means read only; W means read and write.

  1. Unit is um/R, mdeg/R or 10-4 inch/R.
  2. Unit is PLS, um/R, mdeg/R or 10-4 inch depending on the system of units set in the BFM #3 b1 and b0.
  3. S-type acceleration and deceleration interrupt single speed positioning and two-speed positioning are available in advanced version.
  4. When there are more than one bits set on in BFM #25 b6~b4, b12~b8, the operation will not be executed.
  5. “5110” (basic): it has JOG, single speed positioning, home position return and speed change; “5120” (advanced): it has all functions.

7 BFM instruction

System of Units and Parameter Setting

[BFM #0] Pulse rate

This is the count of input pulses what the motor needs to rotate 1 revolution. It is not the count of encoder pulses that generates by motor when it rotates 1 revolution. (The pulse speed is different value according with the electronic gear ratio.) The BFM #0 is not required to be set when the motor system of units is selected.

[BFMs #2 and #1] Feed rate

  • b1 (distance specification) = 1 to 999,999 um/R
  • b2 (angle specification) = 1 to 999,999 mdeg/R
  • b3 (distance specification) = 1 to 999,999x10-4 inch/R

This is the machine feeding distance while the motor rotates by 1 revolution. One of B1, B2 and B3 could be selected, the unit could be um/R, mdeg/R and 10-4 inch/R. The BFMs #2 and #1 are not required to be set when the motor system of units is selected.

[BFM #3] Parameters (b0 to b15)

System of units (b1, b0)

b1b0System of unitsRemarks
00Motor systemUnits based on pulses
01Machine systemUnits based on lengths and angles
10Combined systemUnits based on lengths and angles for position units based on HZ for speed
11

The table below shows the units for position and speed in accordance with the setting of the BFMs #2 and #1

 Selection of feed rateMotor systemMachine systemCombined system
Position data*1Unit 1PLSum
Unit 2PLSmdeg
Unit 3PLS10-4 inch
Speed data*2Unit 1Hzcm / min
Unit 2Hz10 deg /min
Unit 3Hzinch / min
  • *1 position data: HP, P (I), P (II), CP.
  • *2 speed data: Vmax, Vbia, Vjog, Vrt, V (I), V (II).

Multiplication of position data (b5, b4)

b5b6

The position data HP, P (I), P (II) and CP will be multiplied by the value shown in the table on the left.

Multiplication

00100
01101
10102
11103

Example: When the value of the set position P(I) is 123 and the BFM #3 (b5, b4) is (1, 1), the actual position (or travel) becomes as follows:

Motor system units123 * 103=123,000 (pulses)
Machine system units

123*103=123,000 (um, mdeg, 10-4inch)

=123 (mm,deg, 10-1inch)

Combined system units

Rotation direction (b9)

  • When b9 = 0: The current position (CP) value increases with a forward pulse (FP).
  • When b9 = 1: The current position (CP) value decreases with a forward pulse (FP).

This bit is used for the initialized setting. The change of rotation direction is not active when the positioning works.

The direction of home position return (b10)

  • When b10 = 0: The current position (CP) value decreases during return to the home position.
  • When b10 = 1: The current position (CP) value increases during return to the home position.

S-type acceleration and deceleration(b11)

  • When b11=0, the acceleration is constant during the process of accelerating and decelerating for positioning, the curve of speed is trapezoidal.
  • When b11=1, the curve of speed is S-type during the process of accelerating and decelerating for positioning.

DOG input polarity (b12)

  • When b12 = 0: The DOG (near point signal) is turned on when the workpiece is approaching the home position.
  • When b12 = 1: The DOG (near point signal) is turned off when the workpiece is approaching the home position.

8 Speed Data and Positioning Data

[BFMs #5 and #4] Maximum speed Vmax

Motor system and combined system: 1 to 200,000 Hz

This is the setting of maximum speed. Make sure that the bias speed (BFM #6), the JOG speed (BFMs #7 and #8), the speed of home position return (BFMs #9 and #10), the creep speed (BFM #11), the operating speed (I) (BFMs #19 and #20) and the operating speed (II) (BFMs #23 and #24) should be equal to or less than the maximum speed. The degree of acceleration/deceleration is determined by this maximum speed, the bias speed (BFM #6), the acceleration time (BFM #15) and the deceleration time (BFM#16).

[BFM #6] Bias speed Vbia

The range is 0 to 10,000Hz

This is the bias speed for start. When the LX3V-4PG and the stepper motor works together, it is necessary to set a value while considering the resonance area and the self-start frequency of the stepper motor

[BFMs #8 and #7] JOG speed VJOG

The range is 1 to 100,000Hz

This is the speed for manual forward/reverse (JOG+/JOG-). It should be between the bias speed Vbia and the maximum speed Vmax

[BFMs #10 and #9] The speed of home position return (high speed) VRT

The range is 10 to 100,000Hz

This is the speed (high speed) for returning to home position. It should be between the bias speed Vbia and the maximum speed Vmax.

[BFM #11] The speed of home position return (creep) VCR

This is the speed (extremely slow speed) after the ear point signal (DOG) for returning to home position. It is instantaneous velocity before stopping at home position. Slower speed could get high precision of home positioning.

[BFMs#14 and #13] Home position HP

Motor system: 0 to ±999,999 PLS. Machine system and combined system: 0 to ±999,999

This is the position of home position return, when return actions completes, the value is written to the current position (BFMs #26 and #27).

[BFM #15] Acceleration time Ta

The range is 20 to 32,000 ms

This is accelerating time from the bias speed (BFM #6) to the maximum speed (BFMs #5 and #4).

[BFM #16] Deceleration time Td

The range is 20 to 32,000 ms

This is the decelerating time between the bias speed (BFM#6) and the maximum speed (BFMs #5 and #4).

LX3V-4PG_html_159c549ad122fb42.png

[BFMs#18 and #17] Set position (I) P (I)

Motor system: 0 to ±999,999 PLS. Machine system and combined system: 0 to ±999,999

This is the target position or the travel distance for operation. When the absolute position is used, the rotation direction is determined in accordance with the absolute value of the set position based on the current position (BFMs #26 and #27). When the relative position is used, the rotation direction is determined by the sign of the set position.

[BFMs #20 and #19] Operating speed (I) V (I)

The range is 10 to 100,000 Hz.

This is the actual operating speed within the range between the bias speed Vbia and the maximum speed Vmax. In variable speed operation and external command positioning operation, forward rotation or reverse rotation is performed in accordance with the sign (positive or negative) of this set speed.

[BFMs #22 and #21] Set position (II) P (II)

Motor system: 0 to ±999,999 PLS. Machine system and combined system: 0 to ±999,999

This is the set position for the second speed in two-speed positioning operation.

[BFMs #24 and #23] Operating speed (II) V (II)

The range is 1 to 200,000Hz

This is the second operating speed in two-speed positioning operation.

[BFMs #27 and #26] Current position CP

Motor system: -2,147,483,648 to +2,147,483,647 Hz. Machine system and combined system: -2,147,483,648 to +2,147,483,647

The current position data is automatically written here.

Position Data, Home Position and Current Position

The position data includes the following: HP: Home position, P (I): Set position (I), P(II): Set position (II) and CP: Current position.

When the operation of returning to the machine home position is completed, the home position HP (BFMs #14 and #13) value is automatically written to the current position CP (BFMs #27 and #26).

The set positions P(I) and P(II) can be treated as absolute positions (distance from the current position CP = 0) or relative positions (travel from the current stop position) as described later.

Operation Command

[BFM #25] Operation command (b0 to b11, b12)

After data is written to the BFMs #0 to #24, write the BFM #25 (b0 to b12) as follows.

  1. When b0 = 1: The error flag (BFM #28 b7) is reset.
  2. When b1 = 0→1: Stop, if this bit is changed from 0 to 1 in positioning mode, the machine is decelerated and stopped.
  3. When b2 = 1: Forward pulse stop, the forward pulse is immediate stopped in the forward limit position.
  4. When b3 = 1: Reverse pulse stop, the reverse pulse is immediate stopped in the reverse limit position.
  5. When b4 = 1: JOG+ operation, when b4 continues to be 1 for less than 300ms, one forward pulse is generated. When b4 continues to be 1 for 300 ms or more, continuous forward pulses are generated.
  6. When b5 = 1: JOG- operation, when b5 continues to be 1 for less than 300ms, one reverse pulse is generated. When b5 continues to be 1 for 300 ms or more, continuous reverse pulses are generated.
  7. When b6 = 0→1: Home position return start, the machine starts to return to the home position, and is stopped at the machine home position when the DOG input (near point signal) is given.
  8. When b7 = 0: Absolute position. When b7 = 1: Relative position. The relative or absolute position is specified in accordance with the b7 status (1 or 0). (This bit is valid while operation is performed using b8, b9 or b10.)
  9. When b8 = 0→1: Single-speed positioning operation is performed.
  10. When b9 = 0→1: Interrupt single-speed positioning operation is performed.
  11. When b10 = 0→1: Two-speed positioning operation is performed.
  12. Reserved
  13. When b12 = 1: Variable speed operation is performed.

Operation command data transfer method

  • Error can be reset by forcedly turning on/off the peripheral unit. The input X000 does not have to be used. When the data on absence/presence of error and the error code should be saved even after power interrupt, use power down save register.
  • In operation which does not require returning to the home position such as inching operation with a constant feed rate, the input X006 is not required.

LX3V-4PG_html_3d648b433d213dfd.png

  • In the program below, the start bit for the operation mode cannot be set to OFF inside the PGU, so operation from the second time and later cannot be performed. Correct it as shown in the right.

LX3V-4PG_html_d88dd0506b0a57bf.png

9 Status and Error Codes

[BFM #28] Status information (b0 to b10)

The status information to notify the PC of the PGU status is automatically saved in the BFM #28. Read it into the PC using the FROM instruction.

  1. When b0 = 0: BUSY. When b0 = 1: READY. This bit is set to BUSY while the PGU is generating pulses.
  2. When b1 = 0: Reverse rotation. When b1 = 1: Forward rotation. This bit is set to 1 when operation is started with forward pulse.
  3. When b2 = 0: Home position return unexecuted. When b2 = 1: Home position return completed. When returning to the home position is completed, b2 is set to 1, and continues to be 1 until the power is turned off. To reset b2, use the program.
  4. When b3 = 0: STOP input OFF. When b3 = 1: STOP input ON.
  5. When b4 = 0: DOG input OFF. When b4 = 1: DOG input ON.
  6. Reserved
  7. When b6 = 1: Current position value overflow. The 32-bit data saved in the BFMs (#27 and#26) has overflown. This bit is reset when returning to the home position is completed or the power is turned off.
  8. When b7 = 1: Error flag, b7 becomes 1 when an error has occurred in the PGU, and the contents of the error are saved in the BFM #29. This error flag is reset when the BFM #25 b0 becomes 1 or the power is turned off.
  9. When b8 = 0: Positioning started. When b8 = 1: Positioning completed b8 is cleared when positioning is started home position return start, or error reset, and set when positioning is completed. b8 is also set when returning to the home position is completed.
  10. CLR signal, when returning to the home position is completed, CLR signal is output, the duration is XXX ms.
  11. When b10=0: interrupt input OFF. When b10 = 1: interrupt input ON.
  • Various start commands are accepted exclusively while the BFM #28 b0 is set to 1 (READY).
  • Various data is also accepted exclusively while the BFM #28 b0 is set to 1 (READY). However, the BFM #25 b1 (stop command), the BFM #25 b2 (forward pulse stop) and the BFM #25 b3 (reverse pulse stop) are accepted even while the BFM #28 b0 is set to 0 (BUSY)

LX3V-4PG_html_d166ba395b9da027.png

[BFM #29] Error code number

The following error codes Nos. are saved in the BFM#29. Read and check it when the BFM #28 b7 is set to 1 (Error present).

  • 001: Large/small relationship is incorrect. (V max <Vbia or V RT < V CR);
  • 002: Setting is not performed yet. (V (I), P (I), V (II) or P (II));
  • 003: Setting range is incorrect;
  • 00 indicates the corresponding BFM No. For example, “172" indicates that the BFMs #18 and #17 are set to 0. “043" indicates that the BFMs #5 and #4 are set to a value outside the range.

When a speed command specifies a value equivalent to or more than V max or a value equivalent to or less than Vbia, error does not occur. V max or Vbia is used for operation. Though the ready status can be specified even while an error is present, the start command is not accepted.

Function description

Seven operation modes are available in the PG in accordance with the start command type. The data on speed and position should be transferred preliminarily from the PC to the buffer memories (BFMs) of the PG.

10 JOG operation

While the forward or reverse button is pressed and held, the motor is driven forward or in reverse.

LX3V-4PG_html_ad2c03a6a25bb100.png

Any value between the bias speed Vbia (BFM #6) and the maximum speed Vmax (BFMs #5 and #4) is valid as the command speed VJOG (BFMs #8 and #7). When JOG signal continues to be 1 for less than 300ms, one reverse pulse is generated. When JOG signal continues to be 1 for 300 ms or more, continuous reverse pulses are generated.

Machine home position return operation

When the home position start command is received, the motor makes the machine return to the home position. When returning to the home position is completed, the home position HP (BFMs #14 and #13) value is written to the current position CP (BFMs #27 and #26).

LX3V-4PG_html_877fe39646739cde.png

  • When the home position return start command is changed from OFF to ON, the home position return operation is started at the speed V RT (BFMs #10 and #9).
  • When the near point signal DOG input is turned on, the motor decelerates to the creep speed V CR (BFM #11).
  • When the near point signal DOG input is changed from ON to OFF, the motor is immediately stopped in the position 4).

For the details, refer to “DOG Switch” and “Home Position Return Operation”

11 DOG Switch

DOG switch for returning to home position

LX3V-4PG_html_1462d6ed9d95fa59.png

  • A dog whose length is L is fixed to a table driven in the left and right direction by a servo motor via a ball thread.
  • When the table moves in the home position return direction, the dog is in contact with the limit switch (LSD) for near point detection, and the LSD is actuated.
  • The LSD is turned ON from OFF when the BFM #3 b12 is set to 0, and turned OFF from ON when the BFM #3 b12 is set to 1.
  • The home position return direction is determined by the BFM #3 b9 (rotation direction) and b10 (home position return direction).
  • The limit switch LSD is often referred to as dog switch. The actuation point of the dog switch is rather dispersed.

Home Position Return Operation

The home position return operation varies depending on the start position.

LX3V-4PG_html_b7f046f5cdca216.png

  1. The near point signal is turned off (before the DOG passes).
  2. The near point signal is turned on.
  3. The near point signal is turned off (after the DOG has passed).

For this operation, the limit switches for detecting the forward limit and the reverse limit should be provided on the PC.

When the limit switch for limit detection is actuated, the home position return operation is not performed even if the home position return operation is started. Move the dog by performing the JOG operation so that the limit switch for limit detection is not actuated, then start the home position returns operation.

  1. The example above shows the case where the BFM #3 b12 is set to 0 (DOG input polarity OFF→ON).
  2. When the limit switch for limit detection is turned on, the pulse output is immediately stopped (BFM #25 b3: ON). At this time, the clear signal is also output.

LX3V-4PG_html_12fc794d28fc726.png When the stepper motor is used

When the stepper motor is used, rigid attention should be paid to the following items.

  1. If the motor capacity is not sufficient compared with the load torque, the motor may stall. In such a case, even if the specified quantity of pulses are supplied the motor, the expected drive quantity may not be obtained.
  2. Start and stop the motor slowly enough (by setting a long acceleration/deceleration time to the BFM #15) so that the acceleration/ deceleration torque does not become excessive.
  3. A resonance point is present in low speed operation. It is recommended to avoid this point. Set the bias speed (BFM #6), and do not perform operation at a speed slower than that.
  4. An external power supply may be required for signal communication with the drive amplifier

Single-Speed Positioning Operation

When the start command is given, the motor accelerates up to the operating speed V (I) (BFMs #20 and #19), then decelerates and stops in the set position P(I) (BFMs #18 and #17).

LX3V-4PG_html_a7a6fd6ba9fc4199.png

Interrupt Single-Speed Positioning Operation

LX3V-4PG_html_4dc171ea85e1220f.png

When the start command is received, the motor starts operation. When the INTERRUPT input is received, the motor moves by the specified distance, then stops (The relative travel exclusively can be specified.) The current value is cleared by the start command. The current value starts to change by the INTERRUPT input, and becomes equivalent to the set position when the operation is completed.

Two-Speed Positioning Operation

LX3V-4PG_html_b77df89d18c43372.png

The motor performs the following operation by the two-speed positioning operation command. Approach at high speed as well as processing and moving forward at low speed can be performed. When the start command is received, the motor performs positioning at the operating speed V(I) (BFMs #20 and #19) until the set position P(I) (BFMs #18 and #17), then at the operating speed V(II) (BFMs #24 and #23) until the set position P(II) (BFMs #22 and #21) (two-step speed).

Variable Speed Operation

  • When the operation command BFM #25 b12 is set to 1, the speed pulses specified in the BFMs (#20 and #19) are generated.
  • This operating speed can be freely changed even while pulses are generated. However, acceleration and deceleration must be controlled by the PC.
  • Only b0 (error reset) and b12 (variable speed operation) of the operation command BFM #29 are valid in this mode.

When b12 is set to 1, variable speed operation is performed.

When b12 is set to 0, pulse output is stopped.

LX3V-4PG_html_735a15a6a93c266d.png

  • The pulse output does not stop even if “0” is written in BFM #21, #20
  • As for the parameter BFM #3, only b1 and b0 (system of units) and b8 (pulse output format) are valid.
  • The rotation direction (forward or reverse) can be specified by the sign (positive or negative) of the speed command (BFMs #20 and #19)

The procedure of changing the direction of the rotation

  1. Turn OFF b12 of BFM #25.
  2. Change the value at drive speed (BFM #20, BFM #19).
  3. Again, turn ON b12 of BFM #25.

12 Common Matter for Operation Modes

Handling the stop command

In all operation modes, the stop command is valid at any time during operation. However, if a stop command is received during a positioning operation, the motor decelerates and stops. And after restarting, the motor doesn't travel by the remaining distance, but the next positioning operation.

About multiple commands

When the bits which determine operation modes such as b4, b5 and b8, b10 are turned on simultaneously in the operation command BFM #25, any operation is not executed. If other mode input is turned on while operation is being performed in any mode, such an input is neglected.

When travel time is small

When the travel time is small compared to the acceleration/deceleration time (Ta), the motor cannot realize specified speed.

  • Single-speed positioning operation

LX3V-4PG_html_cfc4732b4e37fa45.png

  • Interrupt single operation

LX3V-4PG_html_76edbb4c65fd3cd3.png

  • Two-speed positioning operation

LX3V-4PG_html_2beb6801972ccbe1.png

Connection of DOG and X Inputs and Handling of Limit Switches for Limit Detection

Various limit switch inputs are connected to the DOG input and the X input in accordance with the operation mode.

The polarity of these limit switch inputs is inverted by the state of the BFM #3 b12 and b6.

To assure safety, provide limit switches for detecting the forward and reverse limits on the servo amplifier also.

Make sure so that the limit switches on the PLC are actuated simultaneously with or a little earlier than the limit switches on the servo amplifier.

Because a drive amplifier for a stepper motor does not have these terminals, make sure to provide limit switches on the PLC.

Evade from the state of the pulse output stop by Jog in the opposite direction when forward pulse stop or reverse pulse stop is turned on.

LX3V-4PG_html_f795aac75a3e73ac.png

13 Example

The reciprocation by single-speed positioning

Do not put the load on the motor for safety when you confirm the operation according to this program example.

  1. The position of the motor moves to the machine home position according to the home position return start instruction now. (Machine home position return operation) At this time, the machine home position address is assumed to be “0”.
  2. While the forward or reverse button is pressed and held, the motor is driven forward or in reverse. (Jog operation)
  3. The value of the motor advances 10000 mm according to the automatic drive start instruction.
  4. After wards, Y000 is turned on for two seconds as a stand by display stopping and at this time. Finally, the value of the motor retreats by 10000 mm. (Single-speed positioning operation)
InputOutput4PG terminals
X000: error resetX005:JOG- operationY000: displayDOG: input return signal
X001: stop commandX006: start home returnFP: Pulse output to servo amplifier PP
X002: stop forward pulseX007: Single-speed positioning operationRP: pulse output direction
X003: stop reverse pulse 
X004: JOG+ operation

LX3V-4PG_html_d551759788b9cd25.png

14 Diagnostic

Preliminary Checks and Error Indication

To ensure correct operation

  1. Make sure that the PG I/O wiring and the extension cable connections are correct.Indicate clearly the special block No. on the panel face by adhering the labels offered as accessories.
  2. In any positioning operation, the specified data should be written preliminarily to the BFMs #0 to #24, and then the BFM #25 should give an appropriate command. Otherwise, the PG does not function.

Error indication

  • LED indication
    • The PG panel has the following LEDs:
    • Power indication: The POWER LED is lighted when 5 V power is supplied from the PLC.
    • Input indication: When DOG or X is received by the PG, the corresponding LED is lighted respectively.
    • Output indication: When FP or RP is output by the PG, the corresponding LED is lighted respectively.
    • Error indication: When an error occurs, the ERR LED flashes.
  • Error check
    • Errors are indicated by BFM#28 bit 7. Various errors can be checked by reading the contents of the BFM #29 to the PC.