EtherCAT I/O Solutions-Taiwan Pulse Motion

How to implement the Trigger for PCE-L122(3)-DCO in the MyLink tool

Explanation: The Motionnet master cards PCE-L122-DCO and PCE-L123-DCO have a CN4 interface (highlighted in the right image). This interface serves several functions:

               – Encoder input interfaces: x2
                    – Counting functionality
                    – Source for CMP comparisons
               – CMP trigger out: x2
                    – Position comparison trigger output functionality
                    – Dynamic camera imaging
               – DI: x4, NPN-Sink mode
                    – General-purpose digital inputs
                    – LTC (Linear Time Code) functionality
               – DO: x4, NPN-Sink mode

20230612_MyLink工具如何實現PCE-L122-DCO之Trigger-1

Pin assignment definitions for the adapter board: (Please refer to section 1.3.5 in the manual)

20230612_MyLink工具如何實現PCE-L122-DCO之Trigger-2

Label

Function

Description

01

EA+_1

1st  encoder A phase (+)

02

EB+_1

1st  encoder B phase (+)

03

EA+_2

2nd  encoder A phase (+)

04

EB+_2

2nd  encoder B phase (+)

05

CMP_1

1st  compare output

06

DI_1

1st  digital input and 1st latch input

07

DI_3

3rd  digital input and 3rd latch input

08

DO1

1st  digital output and 1st signal generator

09

DO_3

3rd  digital output

10

EGND

External Ground

11

EA-_1

1st  encoder A phase (-)

12

EB-_1

1st  encoder B phase (-)

13

EA-_2

2nd  encoder A phase (-)

14

EB-_2

2nd  encoder B phase (-)

15

CMP_2

2nd  compare output

16

DI_2

2nd  digital input and 2nd latch input

17

DI_4

4th  digital input and 4th latch input

18

DO_2

2nd  digital output and 2nd signal generator

19

DO_4

4th  digital output

20

E24V

External 24V DC

 

Wiring examples for implementing Trigger functionality

20230612_MyLink工具如何實現PCE-L122-DCO之Trigger-3

Settings and operational steps on the MyLink tool

1.Click directly on the PCE-L122-DCO’s box

2.Configure the following parameters:

    – Start_Position_0(1):
          – Set the starting point for the CMP Trigger
    – Interval_0(1):
          – Define the interval between trigger pulses
    – Dir_0(1)
          – Specify the triggering direction, whether it’s in the positive or negative direction
    – Width_0(1)
          – Set the trigger output width
    – Size_0(1)
          – Determine the number of triggers
    – Level_0(1)
          – Set the trigger to be a rising or falling edge trigger
    – Encoder Mode:
          – Define the mode for the Encoder
          – A/B phase
          – CW/CCW

20230612_MyLink工具如何實現PCE-L122-DCO之Trigger-4

3.Click on Start_Trigger0(1) → A green light will appear, indicating that it’s waiting for the Encoder input

    – Encoder: There will be value input (as shown in the red box on the right)
    – Auto Compare: Values will be generated until the specified Size count is reached, at which point it will stop.

20230612_MyLink工具如何實現PCE-L122-DCO之Trigger-5

Abnormal Phenomena and Troubleshooting Methods

  • Abnormal Reading of Encoder

              – Please verify if the Encoder Mode setting matches the actual signal input
              – If the Encoder values are reversed, swap the A/B wiring connections
              – If there are missing Encoder values, check the cable connections. It’s recommended to use twisted pair cables to avoid signal interference
              – Confirm the signal source for accurate output

  • Abnormal Auto Compare Values

              – Missing Encoder values
              – Encoder direction is opposite to the configured direction

Close
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the compare bar
Compare
Close