This document describes the standard specifications of the CC-Link I/F that links a PLC and F381A/
F388A.
By using the CC-Link I/F, the F381A/F388A can be controlled directly from the PLC, so that wiring can
be substantially reduced.
Readers this document should have basic knowledge of the programming of the PLC and basic knowledge
of the CC-Link I/F.
The F381A/F388A with CC-Link I/F can be linked with general-purpose PLC as a remote device station
corresponding to the CC-Link Ver. 1.10.
(CC-Link is an abbreviation for Control & Communication Link.)
Functions provided by the F381A/F388A CC-Link
● Setting of wave No.
Wave No. can be assigned.
It can be changed by inputting a set value, and turning on the relay of Request flag 1.
(See "●Setting change of wave No."on p.5.)
● For changing the current set value
The setting can be changed by using the general-purpose area "data".
It can be changed by inputting the setting item (command) and a set value, and turning on the relay of
Request flag 2. (The R/W relay should be off.)
(See "●Setting change by using the general-purpose area "data""on p.6.)
Note
) Items that can be changed are only those entered in the "Command list" on p.11.
● For checking the current set value
The set value can be read by using the general-purpose area "data".
It can be read by inputting the setting item (command), and turning on the relay of Request flag 2.
(The R/W relay should be on.)
(See "●Request to read set value(s) by using the general-purpose area "data""on p.7.)
Note
) Items that can be read are only those entered in the "Command list" on p.11.
● Display of indicated values, hold values and wave No.
The remote register R → M (F381/F388→ PLC) allows display of indicated values, hold values and wave
No. (See"Remote resister R → M (F381A/F388A → PLC)"on p.7.)
The indicated values are updated at approx. 200Hz, and the hold values are updated after completion of
sampling.
Note
) Start the next sampling after completion of updating.
● About status information
Status information on the same items as I/O can be obtained.
The status information is displayed in the relay domain of the remote station.
(See "Remote input (F381A/F388A → PLC)" on p.19.)
● About direction of operations
Operations on the same items as I/O can be directed by using the relay domain.
Turn on/off the corresponding bit in the relay domain.
(See "Remote output (PLC → F381A/F388A)" on p.17.)
Input select 2..........Work 1, Work 2, Work 4, Work 8
* The number of stations occupied is fixed at 4.
1
2.F381A/F388A setting
0: Normal 1: Error
0: Normal 1: Error (Changed from the power-on-time setting)
0: Normal 1: Error (Changed from the power-on-time setting)
Station No. switch setting error
0: Normal 1: Error
Baud rate switch setting error
Station No. setting switch change error
Baud rate switch change error
0: Normal 1: CRC Error
0: Normal 1: Error
CRC error
Time over error
0: Normal 1: Time over error
Channel carrier detection
0: Sufficient 1: Not sufficient for the station
0: Sufficient 1: Not sufficient for the station
Y data or RWw data error
0: Sufficient 1: Not sufficient for the station
Y data error
RWw data error
Settings of Mitsubishi (general-purpose) PLC CPU unit.
When you use Mitsubishi (general-purpose) PLC MELSEC-Q series, set up master
station network parameters as follows.
・CC-Link mode setting: Remote net Ver. 1 mode.
・Station type:Remote device station
(Station information settings → Station type)
・Occupied station:4 station
Point
Alarm codes
At the lower right of the CC-Link setting screen, communication
conditions and PLC CPU status are displayed.
CodeStatus
Alarm code 10 0 0 0
Alarm code 20 0 0
Alarm code 30 0 0
PLC CPUSTOP / RUNDisplays the PLC CPU status (STOP or RUN).
--- / ERRDisplays "---" when the PLC CPU is normal, and "ERR"
when it is abnormal.
2
3.Communication connector
NameSignal type
DASignal line DA side
DBSignal line DB side
DGSignal line Ground
SLDShield
FGFrame Ground
・Pick up the plug and operate the lever with a thumb.
・For the protection from the damage, do not operate
the lever without removing the plug.
When the F381A/F388A is a unit at both ends, terminator resistance must be
installed. (Confirm with the CC-Link specifications.) At this time, when the DA and
DB signal lines and resistance are to be connected to the connector, be aware
that poor contact may result if the nipping conditions differ between the leg of the
resistance and signal lines. There is a possibility of abnormal operation.
Attention
SLD and FG are connected inside.
Suitable plug for the connection is the Plug made by WAGO CO., Ltd. or equivalent one. (Accessories)
CAUTION
3.Communication connector
3
4.Status LED
4.Status LED
LED expresses the Status of Communication.
LEDLight ONLight OFFBlinks
RUN
SD
RD
ERR
5.PLC address
The F381A/F388A is the remote device stations (occupies four fixed stations).
Prevent overlapping addresses.
At the master station, the addresses assigned to the remote stations changes according to Station No.
・Normal・Reset Action
・No Communication
・Transmitting----------
・Receiving----------
・Setting Error
・CRC Error
・Fault
・Normal
-----
-----
Station No.
1
2
3
Therefore, the address data of the F381A/F388A also changes according to Station No.
The following address map is in the state of Station No.1.
Remote
RX0000RY0000RWw0000RWr0000
00E0H0160H01E0H02E0H
RX0020RY0020RWw0004RWr0004
00E2H0162H01E4H02E4H
RX0040RY0040RWw0008RWr0008
00E4H0164H01E8H02E8H
6.Address map
■Data domain
Remote resister M → R (PLC → F381A/F388A)
Use the remote register M → R (PLC → F381A/F388A) for the following purposes.
・『Setting change of wave No.』(See p.5)
・『Setting change by using the general-purpose area "data"』(See p.6)
・『Request to read set value(s) by using the general-purpose area "data"』(See p.7)
input
Remote
output
Remote resister
M→RR→M
4
6.Address map
Using
Request flag 2
Using
Request flag 1
Station
1
2
3
4
Buffer
Address
01E0HRWw0000
01E1HRWw0001
01E2HRWw0002
01E3HRWw0003
01E4HRWw0004
01E5HRWw0005
01E6HRWw0006
01E7HRWw0007
01E8HRWw0008
01E9HRWw0009
01EAHRWw000A
01EBHRWw000B
01ECHRWw000C
01EDHRWw000D
01EEHRWw000E
01EFHRWw000F
Device
M→R
Content
MSBLSB
Unused
16bit
Unused
16bit
Wave No.
Wave No.
Wave No.
General-
purpose
area
1st byte
8bit
3rd byte
8bit
5th byte
8bit
7th byte
8bit
9th byte
8bit
11th byte
8bit
13th byte
8bit
15th byte
8bit
17th byte
8bit
19th byte
8bit
Section No.
8bit
Command
2nd byte
8bit
4th byte
8bit
6th byte
8bit
8th byte
8bit
10th byte
8bit
12th byte
8bit
14th byte
8bit
16th byte
8bit
18th byte
8bit
20th byte
8bit
Work No.
8bit
16bit
Data
32bit
L
H
Explanation for remote resister M → R
● Setting change of wave No.
Use for setting wave No. (Request flag 1)
Setting range:ASCII code (20 to 7E), Shifted JIS code (80 to FCH)
* How to write wave No.
1. Input wave No. to the address for 20 bytes so that the first byte becomes Hi byte.
* Input 20H to unused bytes.
2. Change the remote output "Request flag 1"
3. After checking that the remote input "Response 1"
(*1)
from 0 to 1.
(*2)
changes from 0 to 1, change
the remote output "Request flag 1" from 1 to 0.
4. Set the remote output "RM data change" to 1.
5. Check that the specified wave No. is stored in the remote register "wave No."
(response)
(*3)
.
5
6.Address map
・If a value exceeding the setting range is input, the setting is not changed.