10
FUNCTIONS AND PROGRAMMING
10.4 Sample Programs
10 - 62
9
UTILITY OPERATION
10
FUNCTIONS AND
PROGRAMMING
11
OVERVIEW OF
MULTIPLE CPU
SYSTEM
12
MULTIPLE CPU
SYSTEM
CONFIGURATION
13
MULTIPLE CPU
SYSTEM
CONCEPT
14
COMMUNICATIONS
BETWEEN CPU
MODULES
15
PARAMETERS
ADDED FOR
MULTIPLE CPU
16
PRECAUTIONS FOR
USE OF AnS SERIES
MODULE
10.4 Sample Programs
When SW PVC-CCPU is installed into the development environment (personal
computer), sample programs are registered to <User-specified folder> - <CCPU> -
<CCPUTooL> - <Sample>.
The sample programs are provided for user program creation as reference.
Please use the sample programs at your own discretion.
Table10.1 Registered sample programs
Folder name File name Sample program details
GOTtest GOTtest.c Sample program for connection to the GOT
MDtest DevAccess
DevAccessChanC
CL.c
Sample program for the following access using the MELSEC data link functions.
• Access to a CC-Link module (self station) controlled by the C Controller module
• Access to CC-Link modules and programmable controller CPUs on other
stations via a CC-Link module controlled by the C Controller module
DevAccessChanM
NH.c
• Access to a MELSECNET/H module (self station) controlled by the C Controller
module
• Access to MELSECNET/H modules and programmable controller CPUs on
other stations via a MELSECNET/H module controlled by the C Controller
module
DevAccessChanQ
BF.c
• Access to CPU No.1 mounted together with the C Controller in a multiple CPU
system
QBFtest
CFChange CFChange.c Sample program used to unmount a CompactFlash card when X0 turns ON
EntryWDTInt EntryWDTInt.c Sample program for user watchdog timer error interrupt registration
MotionLink MotionLink.c Sample program for utilization of linkage with the Motion CPU
QBFMessage QBFMessage.c Sample program for message transmission via MELSECNET/H
ROMShutdown ROMShutdown.c Sample program used to shut down the standard ROM when X0 turns ON
Script
LoginUserRegist STARTUP.CMD Sample script file for login user registration
ParamBackUp STARTUP.CMD Sample script file for parameter backup
ParamRestore STARTUP.CMD Sample script file for parameter restoration
ROMFormat STARTUP.CMD Sample script file for standard ROM formatting