Data Analysis Functions; Program Processing; Considerations - Mitsubishi Electric MELSEC iQ-R C Programming Manual

Controller module/c intelligent function module
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

1.2

Data Analysis Functions

Data analysis function is a library function that analyzes data on a C Controller module or a C Intelligent function module.
Use this function when performing fast Fourier transform or digital filter operation on a C Controller module or C intelligent
function module.

Program processing

The following shows the user program processing using a data analysis function.
1.
Start a task.
2.
Check whether to change the operating conditions of a data analysis function.
To change the operating conditions, go to the procedure 3.
When not to change the operating conditions, go to the procedure 4.
3.
Change the operating conditions of the data analysis function. (Page 11 DANL_SetOpCondition)
4.
Call the data analysis function and perform fast Fourier transform or digital filter operation.
5.
End the task.

Considerations

The following shows the considerations for a user program which uses a data analysis function.
CW-Sim and CW-Sim Standalone
The data analysis functions of the dedicated function library are not supported by CW-Sim and CW-Sim Standalone.
For the development environment of a user program, refer to the following manual.
CW Workbench/CW-Sim Operating Manual
Startup of a task performing floating-point operations
Always specify the VX_FP_TASK option for the third argument of taskSpawn when activating the following tasks.
• A task performing floating-point operations
• A task calling a function that returns floating-point value
• A task calling a function that takes floating-point value as an argument
• A task calling a data analysis function
Activating the above task without the VX_FP_TASK option specified may cause the operating system runaway.
For information on specifying the VX_FP_TASK option in a script file, refer to the following section.
• MELSEC iQ-R C Controller Module User's Manual (Startup)
• MELSEC iQ-R C Intelligent Function Module User's Manual (Startup)
For more details on the VX_FP_TASK option, refer to the manual for VxWorks.
1 COMMON ITEMS
1.2 Data Analysis Functions
1
7

Advertisement

Table of Contents
loading

Table of Contents