Omron NY532-1500 Reference Manual page 40

Ny-series industrial pc platform
Hide thumbs Also See for NY532-1500:
Table of Contents

Advertisement

1 Introduction to Motion Control Instructions
Additional Information
• The function of the MC (Master Control Start) instruction is disabled in ST. All instructions in
ST are executed normally.
For details on the MC and MCR instructions, refer to the NY-series Instructions Reference Man-
ual (Cat. No. W560).
Motion Control Instructions in ST Structure Instructions
This section describes the operation of motion control instructions when they are located in ST struc-
tures, such as IF, CASE, WHILE, or REPEAT structures.
When the evaluation result for the condition expression of an ST structure instruction is FALSE, the
motion control instructions within the structure are not executed. Also, the values of the output variables
are not updated.
If execution of an execute-type instruction is started and then the evaluation result changes to FALSE,
processing is continued until it is completed. In that case, however, the values of the output variables
are not updated.
Precautions for Correct Use
Precautions for Correct Use
The execution status of an execute-type instruction in an ST structure will not be clear if the eval-
uation result of the condition expression changes to FALSE during execution of the instruction.
We therefore do not recommend using execution-type instructions in ST structures.
If they must be used, be careful of the operation.
Additional Information
To switch the execution of an execute-type instruction with the condition expression, place only
the Execute input parameter in the ST structure. Place the execute-type instruction itself outside
of the ST structure.
For details on the ST structure instructions, refer to the NY-series Instructions Reference Manual
(Cat. No. W560).
Treatment of REAL and LREAL Data
REAL and LREAL are floating-point decimal data types. This section describes how they are expressed
and processed.
REAL and LREAL Data Sizes
The data sizes of REAL data and LREAL data are different. REAL data has 32 bits and LREAL data
has 64 bits.
Floating-point Decimal Data Format
A real number in floating-point decimal format is expressed using a sign, exponent, and mantissa.
When a real number is substituted in the following formulas, the value corresponding to 's' becomes
the sign, 'e' the exponent, and 'f' the mantissa.
• REAL Data
Number = (−1)
• LREAL Data
Number = (−1)
1-12
−23
(1 + f × 2
s
e−127
2
)
−52
s
e−1023
(1 + f × 2
2
)
NY-series Motion Control Instructions Reference Manual (W561)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ny512-1500Ny532-1400Ny512-1400Ny512-1300Ny532-1300

Table of Contents