Software Registers

Flag Register (Read Data Address)

The FLAG register is a read-only register that holds the status information of the counters and can be read out on the data bus. To read the FLAG byte for any axis, read the control address of that axis.

FLAG Byte Defined

7 6 5 4 3 2 1 0

BT: Borrow toggle flip-flop.

Toggles every time CNTR underflows

CT: Carry toggle flip-flop.

Toggles every time CNTR overflows

CPT: Compare toggle flip-flop.

Toggles every time PR equals CNTR.

S:Sign flag. Set to 1 when CNTR underflows. Reset to 0 when CNTR overflows

E:Error flag. Set to 1 when excessive noise is present at the count inputs in quadrature mode. Irrelevant in non- quadrature mode.

U/D': Up/Down flag. Set to 1 when counting up

And reset to 0 when counting down

IDX: Index. Set to 1 when selected index input is at active level.

0: Not used. Always reset to 0.

Reset and Load Signal Decoders (Write to Control Address)

The following functions can be performed by writing to the control address for that axis. Note that bits 5 and 6 define the register and should always be zero when writing to the RLD register.

RLD Byte Defined

7 6 5 4 3 2 1 0

X

0

0

X

X

X

X

0

NOP

X

0

0

X

X

X

X

1

Reset BP

X

0

0

X

X

0

0

X

NOP

X

0

0

X

X

0

1

X

Reset CNTR

X

0

0

X

X

1

0

X Reset BT, CT, CPT, S

X

0

0

X

X

1

1

X

Reset E

X

0

0

0

0

X

X

X

NOP

X

0

0

0

1

X

X

X Transfer PR to CNTR

X

0

0

1

0

X

X

X Transfer CNTR to OL

X

0

0

1

1

X

X

X Transfer PR0 to PSC

0

0

0

X

X

X

X

X Select the RLD addressed by X'/Y input

1

0

0

X

X

X

X

X Select both XRLD and YRLD or ZRLD and WRLD together

8

2IQEC2/43798 Manual

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5105

Page 10
Image 10
B&B Electronics 2IQEC4, 2IQEC2 Software Registers, Flag Register Read Data Address, Flag Byte Defined, RLD Byte Defined

2IQEC2, 2IQEC4 specifications

B&B Electronics has long been a key player in the field of industrial communication and networking solutions, and their 2IQEC4 and 2IQEC2 devices stand as reflective examples of their innovation and dedication to quality. These devices are part of the company's extensive range designed to facilitate communication in diverse industrial settings, ensuring reliability and efficiency.

The 2IQEC4 is a robust 4-port Ethernet switch, while the 2IQEC2 serves as a 2-port variant. Both models are integrated with advanced technologies to deliver seamless connectivity in environments where durability and performance are critical. One of the standout features of these devices is their compatibility with Power over Ethernet (PoE), which allows for simpler installations by eliminating the need for separate power sources for each connected device.

These Ethernet switches are engineered for industrial applications, meaning they can withstand harsh conditions, including extreme temperatures, vibration, and electromagnetic interference. Their rugged design ensures reliable operation in demanding environments, making them ideal for industries such as manufacturing, transportation, and utility management.

Both the 2IQEC4 and 2IQEC2 come equipped with advanced security features including VLAN support and IGMP snooping, which help to optimize traffic performance and enhance overall network security. These functionalities are crucial in preventing unauthorized access, managing bandwidth efficiently, and minimizing potential network congestion.

In terms of installation and management, B&B Electronics has designed these devices for user-friendliness. The web-based management interface allows for straightforward configuration and monitoring, empowering users to manage their networks with ease. Additionally, diagnostic LEDs provide real-time feedback on device status, facilitating quick troubleshooting and maintenance.

The Ethernet switches also support a wide range of networking protocols, which ensures compatibility with various industrial devices and systems. This flexibility makes them suitable for integrating with existing infrastructure while also enabling future scalability as a network grows or evolves.

In summary, B&B Electronics' 2IQEC4 and 2IQEC2 models offer a reliable, efficient, and secure solution for industrial networking. With their robust construction, advanced features, and user-friendly management capabilities, these Ethernet switches are well-equipped to meet the challenges of modern industrial environments, making them invaluable assets in enhancing communication and operational efficiency.