Programming - Toshiba V Series User Manual

Analog module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter 2 Program Example

2.3 Programming

2
66
This section describes how to program with the I/O variable names declared in section
2.2. Perform this using the engineering tool program editor.
Set the variables to be used in the program.
Declare variables used only within the program as static variable (VAR) if they need to be
retained, and as temporary variable (VAR_TEMP ) if they are to be temporary variables
that do not need to be retained. (Static variable and temporary variable are referred to as
local variables.)
Start programming after making these variable declarations.
Four program examples are shown below.
(Example 1) Program example 1
This is an examinable program that simply scales (1/2) and converts the input from
AD368 and outputs from DA364.
model 3000 Analog module User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

3000

Table of Contents