Creating A Script File - Mitsubishi Electric MELSEC Q Series User Manual

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

19.6

Creating a Script File

(1) Script file
"STARTUP.CMD" is a script file of a user program which starts in booting up of the C Controller module, and it
contains the loading location, startup order, etc. of the user program.
1) STARTUP.CMD
2) User program (***.out)
● The script file is executed after the U RDY LED is lit (after startup of user CPUs).
● The RUN LED flashes during executing the script file (command).
(2) Precautions for creating a script file
(a) User program startup
Describe a command that starts the task (priority 100 to 255) when the user program is executed.
(b) To specify VX_FP_TASK option
When specifying a VX_FP_TASK option for the third argument of taskSpawn in a script file, specify 0x1000000.
[Example] When activating the "funcA" function with the VX_FP_TASK option specified:
taskSpawn("taskA",100,0x1000000,20000,funcA,0,0,0,0,0,0,0)
For details on the VX_FP_TASK option, refer to the manual for VxWorks.
(c) Login user setting
Do not describe the login user settings (add/modify).
Set login user(s) by Setting/monitoring tools for the C Controller module.
344
Standard RAM/standard ROM
Describe the loading location, startup order, etc. of the user
program.
Describe the startup sequence, etc.
A file specified in STARTUP.CMD

Advertisement

Table of Contents
loading

Table of Contents