In the Equivalent Circuit in Figure 6.7 an Output is being used as Step or Direction on a driver.

For the configuration example, use I/O line 13 for the output. Since by default the line is a quadrature input we must configure it to be a Step/Direction Output by setting the IOS Variable to the following:

IOS 13 = 3, 1, 0, 1, 2, 0 This breaks down as:

IOS 13 - Identifies the line being configured as 13. 3 - Sets the I/O Type to Clock 2A (default).

1 - Sets it as an output.

0 - Sets Logic at Low True.

1 - Edge Triggered.

2 - Sets the Clock Type to Step/Direction.

0 - No Ratio.

Ty p i c a l F u n c t i o n s o f t h e D i f f e r e n t i a l I / O

C o n n e c t i n g a n d U s i n g a n E n c o d e r

The differential I/O module can be set up to receive encoder feedback using either a differential or a single ended output encoder. A differential output encoder would typically be connected to differential input pairs 13 and 14 (P1, pins 1 – 4) as the default setting for I/O 13 and 14 is set up to accept a quadrature encoder input. Channel A of the encoder would be connected to input pair 13 (P1, pins 1 & 2) and channel B would be connected to input pair 14 (P1, pins 3 & 4). A single ended output encoder would be connected to the positive inputs of the input pair. Whether you use a differential encoder or single ended encoder the same software commands and settings will be used.

In setting up your system to run with an encoder you will be using the following variables, flags, and instructions. The variables used with an encoder will be MUNIT, EUNIT, CTR2, and POS. The Encoder Enable Flag EE, and the instruction MOVR will be used. The block diagram to the left illustrates a LYNX system with the encoder and drive connections that will be used in this example.

The sequence of commands (in bold) used to make this setup function would be as follows:

‘Set the MUNIT Variable to 51,200 steps/rev MUNIT = 51200

‘Set encoder enable to TRUE (1), default value = FALSE (0)

EE= 1

‘Set the EUNIT (Encoder Units) variable to 800 (200 [Encoder Resolution] X 4 [Quadrature Input]) This means that 1 unit of motion, or 1 POS, is equal to 800 encoder counts. In this instance it will be 1 rotation of the motor.

EUNIT = 800

‘Save the above flag and variable settings

SAVE

Now you may begin to use the motion command MOVR, as well as PRINT POS and PRINT CTR2 to see the number of encoder counts fed back to the system.

‘Set the motor position to 0

POS = 0

‘Move the motor 2 units (2 X EUNIT) relative to current position.

MOVR 2

‘Print the value of CTR2. This value will indicate the number of encoder counts that the motor has moved. Your terminal should echo back the number “1600”.

1 - 34

Modular LYNX System 12.05.2003

Page 34
Image 34
Intelligent Motion Systems Modular LYNX System manual N n e c t i n g a n d U s i n g a n E n code r, Save

Modular LYNX System specifications

The Intelligent Motion Systems Modular LYNX System represents a cutting-edge innovation in the realm of automation and control solutions. Developed to offer flexibility and scalability, the LYNX System is designed for a wide range of applications, from advanced robotics to intelligent transportation systems, showcasing its versatile nature in modern industrial environments.

One of the main features of the LYNX System is its modular architecture, which allows users to customize and expand their system based on specific project requirements. This modularity enables the integration of various components, such as controllers, sensors, and actuators, facilitating easy upgrades and modifications without the need for complete system overhauls. This not only reduces downtime but also promotes long-term cost savings.

The LYNX System is equipped with advanced control algorithms that enable precise motion control, ensuring that operations are executed smoothly and efficiently. These algorithms function seamlessly with a range of motion technologies, including servo and stepper motor drives. By employing real-time data processing, the system can adapt to dynamic environmental changes, enhancing accuracy and reliability across multiple applications.

An integral aspect of the LYNX System is its robust communication capabilities. It supports various standard communication protocols, such as EtherCAT, CANopen, and Modbus, ensuring compatibility with existing industrial infrastructure. This versatility allows for easy integration with other automation systems, enabling a cohesive operational environment.

Moreover, the LYNX System incorporates advanced safety features, adhering to strict international safety standards. Functions such as emergency stop protocols and redundant safety circuits are built into the design, ensuring operator safety and compliance with regulatory requirements.

The system is also designed with user-friendly interfaces, including intuitive software tools that simplify system configuration, monitoring, and maintenance tasks. These interfaces support graphical programming and provide real-time feedback, allowing operators to analyze system performance and make informed adjustments as necessary.

In summary, the Intelligent Motion Systems Modular LYNX System is a versatile, scalable solution characterized by its modular design, advanced control algorithms, robust communication capabilities, and comprehensive safety features. With its ability to adapt to a wide range of industrial applications, the LYNX System stands as a powerful asset for companies looking to enhance their automation and control processes.