Mitsubishi Electric MELIPC MI5A1P User Manual page 84

Table of Contents

Advertisement

Precautions
■Usage of macro (#define)
A macro (#define) cannot be used in a script file.
■Startup of user programs
In user programs, describe commands so that the task is started
*1 Priority: 100 to 255
■When specifying the VX_FP_TASK option
When specifying the VX_FP_TASK option for the third argument of taskSpawn, specify "0x1000000".
The following results when the VX_FP_TASK option is specified and started for the function "funcA".
• taskSpawn("taskA",100,0x1000000,20000,funcA,0,0,0,0,0,0,0)
Storage location of script files
Script files can be stored on the user drive (/ROM).
Store files in the root directory of the user drive (/ROM).
Operation after registration of a script file
When a script file has been registered, the 'VX RDY LED' turns on, and the following operations are performed after the
startup of this product.
1.
The MAIN RUN LED flashes, and the script file is run.
2.
After the script file is executed, the user program runs.
The MAIN RUN LED turns on and off depending on the operating status.
9 CREATION AND REGISTRATION OF USER PROGRAMS
82
9.3 User Programs for the VxWorks Part
*1
and then executed.

Advertisement

Table of Contents
loading

Table of Contents