9 Program Examples
9.1 System Configuration
81
FX3U-CF-ADP User's Manual
1
Introduction
2
Specification
3
System
Configuration
4
Installation
5
Wiring
6
Functions
7
Before
Programming
8
CF-ADP Applied
Instructions
Explanation
9
Program
Examples
10
Troubleshooting
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.
• Program example 1
A 32-bit decimal type file is created, written, read and deleted.
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.
• 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.
STARTUP AND MAINTENANCE
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.
• Do not touch any terminal while the PLC's power is on.
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.
STARTUP AND MAINTENANCE
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.
• Turn off the power to the PLC before attaching or detaching the following devices.
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
FX3U-CNV-BD
FX3U PLC
FX
3U-CF-ADP
(ch1)