Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3U-CF-ADP Manuel D’Utilisation
9 Program Examples
9.1 System Configuration
81
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
stem
Configurati
o
n
4
Ins
tal
tal
lation
5
Wi
rin
rin
g
6
Functi
o
n
s
7
Bef
o
o
re
Programm
ing
8
C
F
-AD
P
Appl
ied
Ins
tructi
tructi
ons
Explanati
o
n
9
Program
Examples
10
T
roubl
esho
oti
n
g
9.
Program Examples
9.1
System Configuration
The system configuration shown below explains the program examples.
The CF-ADP differs in assignment of the channel number by a system configuration.
Change the channel number if necessary in accordance with the actual system configuration.
For details of assignment of the channel number, refer to the Section 3.4.
The CF-ADP differs in assignment of the channel number by a system configuration.
Change the channel number if necessary in accordance with the actual system configuration.
For details of assignment of the channel number, refer to the Section 3.4.
• Program example 1
A 32-bit decimal type file is created, written, read and deleted.
For details, refer to Section 9.2.
For details, refer to Section 9.2.
• Program example 2
A file saving different types of data is created, written, read and deleted.
For details, refer to Section 9.3.
For details, refer to Section 9.3.
• Program example 3
Error codes, error code details and error information (error flag) of the CF-ADP are read.
For details, refer to Section 9.4.
For details, refer to Section 9.4.
STARTUP AND MAINTENANCE
PRECAUTIONS
PRECAUTIONS
•
Make sure to connect the battery correctly. Do not charge, disassemble, heat, short-circuit, or expose the battery to fire.
Doing so may rupture or ignite it.
Doing so may rupture or ignite it.
•
Do not touch any terminal while the PLC's power is on.
Doing so may cause electric shock or malfunctions.
Doing so may cause electric shock or malfunctions.
•
Before modifying or disrupting the program in operation or running the PLC, carefully read through this manual and the associated
manuals and ensure the safety of the operation.
An operation error may damage the machinery or cause accidents.
manuals and ensure the safety of the operation.
An operation error may damage the machinery or cause accidents.
STARTUP AND MAINTENANCE
PRECAUTIONS
PRECAUTIONS
•
Do not disassemble or modify the PLC.
Doing so may cause fire, equipment failures, or malfunctions.
For repair, contact your local Mitsubishi Electric distributor.
Doing so may cause fire, equipment failures, or malfunctions.
For repair, contact your local Mitsubishi Electric distributor.
•
Turn off the power to the PLC before attaching or detaching the following devices.
Failure to do so may cause device failures or malfunctions.
-
Failure to do so may cause device failures or malfunctions.
-
Peripheral devices, display modules, expansion boards and special adapters
-
I/O extension units/blocks, FX Series terminal block and the special function units/blocks
-
Battery and memory cassette
FX
3U
-CNV-BD
FX
3U
PLC
FX
3U
-CF-ADP
(ch1)