EasyManuals Logo

Nidec SM-Applications Series User Manual

Nidec SM-Applications Series
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #81 background imageLoading...
Page #81 background image
SM-Applications Modules & Motion Processors User Guide 81
Issue Number: 4
Safety
Information
Introduction Installation
Getting
Started
Parameters
DPL
Programming
Communications
Freeze and
Marker
CTSync
Inter-option
Synchronization
Diagnostics
Migration
Guide
Quick
Reference
Index
This shows the POS0 and POS1 tasks interrupting the CLOCK task which in turn
interrupts the BACKGROUND task. As can be seen, this is quite a heavily loaded
program since the background task is only executed once in a while. The processor free
resource parameter Pr
81.04 can be used to determine how heavily loaded the Second
Processor is.
7.2.1 EVENT tasks
There are four event tasks provided. The event tasks can be triggered on:
CTNet SYNC frame received (configured via Pr
81.35)
User program initiated
New DPL command SCHEDULEEVENT. See on-line help for information.
7.3 Variables
7.3.1 Types
There are three basic types of variables:
1. Integer Variable
2. Double-precision Floating Point Variable
3. Single-precision Floating Point Variables
An Integer variable is denoted by a % symbol after the variable name. A Floating Point
variable is denoted by the lack of a % symbol.
Example of variables:
A special statement is placed at the start of the program to declare what type of floating
point variable is used throughout the program - either single or double precision. By
default double-precision variables will be used. By including the following line
immediately below the program header region (with $TITLE, etc.) the float type will be
single-precision:
7.3.2 Variable Names
The first character of a variable name must be a letter. Subsequent characters may
include letters, numbers and the underscore (_) character.
The Plus module, V2 module, ST Indexer and ST Plus provide Pr
88.03 through to
Pr
88.08 which will give a greater accuracy on the available resources.
NOTE
Table 7-2 Variable Types
Type Representation Range
Integer 32-bit signed.
-2147483648 to
2147483647
Single float 32-bit, 1 sign bit, 8 exponent and 23 mantissa. ±3.40282e+038
Double float 64-bits: 1 sign bit, 52 bit mantissa, 11 bit exponent ±1.79769e+308
Speed% = 1234 // a integer variable
Value = 55.6 // a floating point variable
$flt single
• Variable names are case sensitive (e.g. The variable names speed%, SPEED% and
Speed% are different variables).
• SyPTPro QuickLD and FBD editors will only allow the use of variables no longer than
16 characters including any % sign.
NOTE

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Nidec SM-Applications Series and is the answer not in the manual?

Nidec SM-Applications Series Specifications

General IconGeneral
BrandNidec
ModelSM-Applications Series
CategoryControl Unit
LanguageEnglish

Related product manuals