R e a d / W r i t e a n I / O G r o u p

When using the IO variable to read the state of a group of inputs/outputs, or write to a group of outputs you would first want to configure the entire I/O group to be general purpose inputs or outputs using the IOS variable. In this case the response or input won’t be a logic state of 1 or 0, but rather the decimal equivalent (0 to 63) of the 6 bit binary number repre- sented by the entire group.

When addressing the I/O as a group the LSB (Least Significant Bit) will be line 1 of the group, (e.g. 21, 31, 41, 51). The MSB (Most Significant Bit) will be line 6 of the group (e.g. 26, 36, 46, 56).

The table on the left shows the bit weight of each I/O line in the group. It also illustrates the state should 6 LED’s be connected to I/O group 20 when entering the IO variables in this exercise.

Configure the IOS variable such that group 20 is all general purpose outputs, active low or:

IOS 20 = 0,1,0

Enter the following in the terminal:

IO 20 = 35

As shown in the table I/O lines 26, 22 and 21 should be illumi- nated, 25, 24 and 23 should be off.

Enter this next:

IO 20 = 7

Now I/O 21, 22 and 23 should be illuminated.

IO 20 = 49

I/O 26, 25, and 21 are illuminated.

BIT WEIGHT DISTRIBUTION TABLE

FOR GROUP 20 I/O

I/O 26

I/O 25

I/O 24

I/O 23

I/O 22

I/O 21

MSB

 

 

 

 

LSB

32

16

8

4

2

1

BINARY STATE OF I/O GROUP 20

IO 20 = 35

1

0

0

0

1

1

I/O 26

I/O 25

I/O 24

I/O 23

I/O 22

I/O 21

MSB

 

 

 

 

LSB

BINARY STATE OF I/O GROUP 20

IO 20 = 7

0

0

0

1

1

1

I/O 26

I/O 25

I/O 24

I/O 23

I/O 22

I/O 21

MSB

 

 

 

 

LSB

BINARY STATE OF I/O GROUP 20

IO 20 = 49

1

1

0

0

0

1

I/O 26

I/O 25

I/O 24

I/O 23

I/O 22

I/O 21

MSB

 

 

 

 

LSB

Table 6.4: Binary State of Outputs

N

NOTE: You can only write to General Purpose Outputs. If you attempt to write to and input or dedicated output type an error will occur!

1 - 30

Modular LYNX System 12.05.2003

Page 30
Image 30
Intelligent Motion Systems Modular LYNX System manual A d / W r i t e a n I / O G r o u p, Binary State of Outputs

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.