5. Operation Procedure

In this sample program, the following devices/registers are used.

R0100 AS311 status (ON when ready) - Refer to section 5.4 R0110 Internal flag to start transmitting

R0201 Transmitting normal complete (comes ON when transmitting is complete normally)

R0301 Transmitting error complete (comes ON when transmitting error has occurred)

X000F Write ready flag

X000E Transmit complete flag

X000D Transmit error flag

Y002F Transmit start flag

D0200 - D0263 Transmitting message is set here

D3010Transmitting error information is stored here

D4010 - D4011 Parameters for WRITE instruction

D4000 - D4001 Parameters for READ instruction

This sample program works as follows.

Main program

-Rung 1: Prepares a transmission message and sets it into D0200 and after (maximum 64 words in this sample). Then sets R0110 to ON.

-Rung 2: Calls Subroutine No. 1 when the AS311 is normal and R0110 is ON.

-Rung 3: When R0201 comes ON (normal transmitting), resets R0110 and R0201 to OFF.

-Rung 4: When R0301 comes ON (transmitting error has occurred), performs the error processing, then resets R0110 and R0301 to OFF.

Subroutine No. 1

-Rung 1: Indicates the entry of Subroutine No. 1.

-Rung 2: Reads XW000 and XW001 from the AS311 by direct I/O instruction.

-Rung 3: When X000F (Write ready flag) is ON, writes the message that is stored in D0200 to D0263 into the AS311’s buffer memory, 64 words starting with address 576, by WRITE instruction, and sets Y002F (Transmit start flag) to ON.

-Rung 4: When X000E (Transmit complete flag) comes ON, resets Y002F (Transmit start flag) to OFF, and sets R0201 to ON.

When X000D (Transmit error flag) comes ON, reads the error information from the AS311’s buffer memory, 1 word of address 17, by READ instruction, and stores it into D3010. Then resets Y002F (Transmit start flag) to OFF, and sets R0301 to ON.

-Rung 5: Writes YW002 and YW003 into the AS311 by direct I/O instruction.

-Rung 6: Indicates the return of Subroutine No. 1.

User’s Manual 45

Page 47
Image 47
Toshiba AS311 user manual Operation Procedure

AS311 specifications

The Toshiba AS311 is a well-rounded notebook designed to cater to the needs of students, professionals, and casual users alike. With a focus on affordability and reliability, this laptop strikes a balance between performance and efficiency, making it an appealing choice for those seeking a dependable computing solution.

One of the main features of the Toshiba AS311 is its lightweight design. Weighing approximately 2.5 kg, this laptop is easily portable, allowing users to carry it to classes, meetings, or coffee shops without hassle. The sleek profile is complemented by a durable chassis that can withstand the rigors of daily use.

At the heart of the AS311 is a powerful processor that ensures smooth performance across a variety of applications. Typically equipped with Intel's Pentium or Core series processors, the AS311 provides adequate computing power for tasks such as word processing, web browsing, and light multimedia consumption. Paired with sufficient RAM, users can run multiple applications simultaneously without noticeable lag.

The display of the Toshiba AS311 is another notable feature. With a 15.6-inch HD screen, users can enjoy clear visuals whether they are streaming videos or working on projects. The display's anti-glare technology reduces eye strain, making it suitable for long usage sessions, whether indoors or outdoors.

Connectivity is crucial in today's digital landscape, and the AS311 doesn't disappoint. It offers multiple USB ports, an HDMI output, and an SD card reader, allowing users to connect various peripherals and external devices seamlessly. Additionally, the inclusion of Wi-Fi and Bluetooth capabilities ensures that users can stay connected to the internet and other devices wirelessly.

Battery life is often a concern for laptop users, and the Toshiba AS311 addresses this with a reasonably long-lasting battery. With a lifespan that can extend throughout a typical work or school day, users can go about their activities without constantly searching for power outlets.

From its practical design to its robust performance capabilities, the Toshiba AS311 is a well-crafted notebook that meets the diverse needs of users. Whether for educational pursuits, professional tasks, or entertainment, the AS311 provides a solid computing experience, proving to be a reliable companion for those on the go. With its array of features and user-friendly design, it's a compelling option for individuals looking for an affordable yet capable laptop.