Unipulse F381A, F388A Operation Manual

F381A/F388A
CC-Link I/F
OPERATION MANUAL
01FEB2015REV.3.01
「CC-Link Ver.1.10」

Introduction

Introduction
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.)

Contents

Contents
1. Part names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. F381A/F388A setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3. Communication connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4. Status LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5. PLC address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
6. Address map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Data domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Unit setting list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
About remote input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Relay domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7. Setting procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Setting of wave No. by using Request flag 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Setting by using the general-purpose area "data" and "command",
and Request flag 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Reading set value(s). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Sample of ladder program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
8. Outside dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
II
1. Part names
Operation
Status LED
Communication connector
When the above setting is changed, the communications between the F381A/ F388A and PLC are reset so that the ones stop momentarily.
Point
Status LED
Displays the status of communication.
(See "4.Status LED" on p.4.)
Communication connector
Connector for CC-Link interface.
(See "3.Communication connector" on p.3.)

2. F381A/F388A setting

1.Part names

Main screen→Setting→First SettingOption setting→CC-Link
Baud rate (Initial value, 10M): 156k, 625k, 2.5M, 5M, 10M Station No. (Initial value, No.1): No.1 to 61
Input select 1 (Initial value, Ext.input): Network, Ext.input
Input select 2 (Initial value, Ext.input): Network, Ext.input
Explanation for setting
Baud rate : Deciding network speed
Station No. : Setting slave station number
Input select1 to 2 : Select whether input signals of the F381A/F388A are directed by the
control connector (Ext. input) or by CC-Link (Network). For each setting,
select the following signal.
Input select 1..........Load Digital Zero, DPM Positioning, Start, Stop, Hold, Reset, Backlight
On, Prohibit Touch Panel
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 settingRemote 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.
Code Status
Alarm code 1 0 0 0 0
Alarm code 2 0 0 0
Alarm code 3 0 0 0
PLC CPU STOP / RUN Displays the PLC CPU status (STOP or RUN).
--- / ERR Displays "---" when the PLC CPU is normal, and "ERR"
when it is abnormal.
2
3. Communication connector
Name Signal type
DA Signal line DA side
DB Signal line DB side
DG Signal line Ground
SLD Shield
FG Frame 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.
LED Light ON Light OFF Blinks
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 ErrorCRC ErrorFault
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
RX0000 RY0000 RWw0000 RWr0000
00E0H 0160H 01E0H 02E0H
RX0020 RY0020 RWw0004 RWr0004
00E2H 0162H 01E4H 02E4H
RX0040 RY0040 RWw0008 RWr0008
00E4H 0164H 01E8H 02E8H

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
MR RM
4
6.Address map
Using Request flag 2
Using Request flag 1
Station
1
2
3
4
Buffer
Address
01E0H RWw0000
01E1H RWw0001
01E2H RWw0002
01E3H RWw0003
01E4H RWw0004
01E5H RWw0005
01E6H RWw0006
01E7H RWw0007
01E8H RWw0008
01E9H RWw0009
01EAH RWw000A
01EBH RWw000B
01ECH RWw000C
01EDH RWw000D
01EEH RWw000E
01EFH RWw000F
Device
MR
Content
MSB LSB
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.
Set values should be two’s-complement.
Input a negative set value as follows:
Example: Inputting -1234
Decimal number : -1234 Hexadecimal digit : 65536 - 1234 = 64302 = FB2E(H)
For checking the changed value after a setting change, make a request to read
set value(s) by using the general-purpose area "data". (See p.7)
Point
Setting change by using the general-purpose area "data"
* How to write set value(s)
*1: See "Remote output (PLC F381A/F388A)"on p.17. *2: See "Remote input (F381A/F388A PLC)"on p.19. *3: See "Remote resister R M (F381A/F388A PLC)"on p.7.
For changing any setting, use the general-purpose area "data". General-purpose area
"command" and general-purpose area "data" comprise one set. Input the command
setting item you want to change to the general-purpose area "command", and input a set value in
the general-purpose area "data". By turning off R/W
relay of Request flag 2
(*2)
, the input setting is written in the F381A/F388A.
(*2)
in the relay domain and turning on the
(*1)
of the
1. Input the command of the set value to write to the general-purpose area "command."
2. Input the work No. to write to the general-purpose area "work No."
Range: 0 to 15
3. Input the section to write to the general-purpose area "section No."
Range: 1 to 5
4. Set the remote output "R/W" to 0.
5. Input the value to write to the general-purpose area "data."
6. Change the remote output "Request flag 2"
7. After checking that the remote input "Response 2"
the remote output "Request flag 2"
(*2)
8. The response is stored in the remote input "R/W" (response)
purpose area (response)
(*4)
.
9. Check the contents of the general-purpose area (response)
*1
: See "Command list"on p.11.
*2: See "Remote output (PLC F381A/F388A)"on p.17. *3: See "Remote input (F381A/F388A PLC)"on p.19. *4: See "Remote resister R M (F381A/F388A PLC)"on p.7.
* If any number not in the command list is set to the general-purpose area "command",
Response 2 will turn on, but FFFFH is written in the general-purpose area "command"
(response).
(*2)
from 0 to 1.
from 1 to 0.
(*3)
changes from 0 to 1, change
(*3)
and general-
(*4)
.
6
Loading...
+ 20 hidden pages