STE 58762

(4)When the predetermined conditions specified in the system are satisfied and the program is changed over by the system.

The task change-over conditions specified in the system are as follows:

(1)A program in a task is executed for more than 50 msec.

(2)When the data area for movement command becomes full.

Up to four data can be read beforehand by the movement command. If this internal area for prior reading becomes full, the task is changed over.

(3)When the command requiring communication with an external device has been executed. The INPUT, PRINT and RESTORE commands are not executed alone by the SCOL program. They are the commands including such processing as the TP operation by an operator and RAM file operation. If the system waits for a reply, therefore, the task is changed over.

To avoid the task change-over by the system, set the system variable SWITCH to “DISABLE”.

Note: If the task change-over is prohibited, only currently active program is executed and the other task program which has already started is not executed (single task operation).

2.8.5Global Variable Definition

If the global variable which can be referred to from the entire program is defined, obey the following rules.

(1)Global variable declaration

If the global variable is used, the type and identifier (variable name) of the variable to be used is required to be defined.

This definition must be performed before the first PROGRAM statement.

To define the variable A of real number type and the variable B of integer type, the definition is as follows:

GLOBAL

A = 1.0 (This value is the initial value of the variable.) B = 2

END

PROGRAM

:

END

2-28

Page 42
Image 42
Toshiba STE 58762 instruction manual Global Variable Definition, - 2-28 -, END Program

STE 58762 specifications

The Toshiba STE 58762 is a high-performance microcontroller known for its advanced features and robust architecture, making it suitable for a range of applications in automotive, industrial, and consumer electronics. One of the standout characteristics of this microcontroller is its ability to perform complex computations with improved efficiency, thanks to its 16-bit RISC architecture. The RISC (Reduced Instruction Set Computing) design enables faster processing speeds, lower power consumption, and an overall increase in performance.

The STE 58762 integrates a variety of peripherals that enhance its functionality. It includes multiple I/O ports, timers, and an advanced interrupt management system, allowing for seamless interaction with external devices. The integrated analog-to-digital converter (ADC) is particularly noteworthy, enabling the microcontroller to handle real-time data acquisition, essential in applications that require precision and quick response times.

Another significant advantage of the Toshiba STE 58762 is its built-in support for communication protocols, facilitating easy integration into different systems. It supports standard communication interfaces such as UART, SPI, and I2C, which enhance its connectivity with other devices and components. This flexibility makes the microcontroller a versatile choice for designers looking to implement diverse communication methods in their projects.

In terms of memory architecture, the STE 58762 offers an ample amount of ROM and RAM, allowing for sufficient space to store program code and data. This characteristic is crucial for developers who require extensive data handling capabilities in their applications. Furthermore, the microcontroller is equipped with built-in power management features, including sleep and idle modes, that optimize energy consumption during operation.

Overall, the Toshiba STE 58762 microcontroller is characterized by its powerful processing capabilities, extensive peripheral support, and efficient power management. These features make it an excellent choice for demanding applications, providing designers with the tools they need to create innovative and reliable solutions across various industries. As technology continues to evolve, the STE 58762 stands out as a dependable option, ensuring performance and efficiency are met in today’s competitive market. Its reliability and robust features position it as a strong contender in the landscape of microcontroller options available today.