Mitsubishi MELSEC-Q Series User Manual page 16

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

Advertisement

Precautions for programming
A
- 14
(1) Restrictions on bus interface functions and MELSEC data link functions
(a) Endian format (Memory layout)
C Controller module is divided into two types: One using the memory layout of
little endian and the other using the memory layout of big endian.
Create a user program in little endian or big endian according to the type used.
(Set the compiler by "A toolchain" when creating a project on Tornado.(
Section 10.2.3))
(b) User program execution
Execute the user program by starting a task from a script file.
(
Section 10.2.8)
The system may malfunction if the user program is executed without a task being
started.
(c) Execution task priority
Set the priority of the task that executes the user program as described below.
1) When FTP access is not made during user program execution
Set the priority of the user program task to 100 or higher (100 to 255).
If the priority is set to 0 to 99, the system may not operate properly.
2) When FTP access is made during user program execution
The actual FTP processing (task) of the C Controller module is performed at
the priority of 200.
When making FTP access during user program execution, perform
programming as described below.
• Set the priority of the user program task to 201 to 255.
• When setting the priority of the user program task to 100 to 200, insert wait
processing (such as taskDelay) in the user program to enable the actual FTP
processing.
(d) Ethernet communications from user program
The port numbers 20756, 21012, and 21268 are not applicable.
(e) Writing file from user program
Do not write files to the standard ROM.
Write data to the files such as CompactFlash card (Q06CCPU-V only) and
network device (FTP/NFS/netDrv driver, etc.) or RAM disk.
For details of network device and RAM disk, refer to the manual for VxWorks.
(f) When operation status changes from RUN to STOP/PAUSE
When the operation status of the C Controller module changes from RUN to
STOP/PAUSE, the user program task does not stop.
Use the QBF_ReadStatusEx function when changing the user program
processing based on the operation status of the C Controller module.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q06ccpu-vMelsec q06ccpu-v-bMelsec sw3pvc-ccpu-e

Table of Contents