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.
・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
6.Address map
● Request to read set value(s) by using the general-purpose area "data"
For reading any set value, 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 read to the general-purpose area "command". By turning on R/W
the relay domain and turning on the relay of Request flag 2
specified by the general-purpose area "command" is replied to the general-purpose area
(response). Upon receipt of the reply, Response 2
* How to read set value(s)
(*3)
turns on.
(*2)
, the set value of the item
(*1)
1. Input the command of the set value to read to the general-purpose area
"command."
2. Input the work No. to read to the general-purpose area "work No."
Range: 0 to 15
3. Input the section to read to the general-purpose area "section No."
Range: 1 to 5
4. Set the remote output "R/W" to 1.
of the
(*2)
in
5. Change the remote output "Request flag 2"
6. After checking that the remote input "Response 2"
the remote output "Request flag 2"
(*2)
7. The response is stored in the remote input "R/W" (response)
purpose area (response)
(*4)
.
8. 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).
General-purpose area "data"
General-purpose area "command"
Use for a setting change and setting readout by using the general-purpose data area.
(See "Command list"on p.11.)
(*2)
from 0 to 1.
from 1 to 0.
(*3)
changes from 0 to 1, change
(*3)
and general-
(*4)
.
Remote resister R → M (F381A/F388A → PLC)
Use the remote register R → M (F381A/F388A → PLC) for the following purposes.
・『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)
Measurement values are displayed on an item-by-item basis.
(See "Explanation for remote resister R → M"on p.9.)
7
6.Address map
Data changes
according to
the remote
output "RM
data change"
・When the remote output "RM data change" is OFF
Stat ion
1
2
3
4
Buffer
Address
02E0HRWr0000
02E1HRWr0001
02E2HRWr0002
02E3HRWr0003
02E4HRWr0004
02E5HRWr0005
02E6HRWr0006
02E7HRWr0007
02E8HRWr0008
02E9HRWr0009
02EAHRWr000A
02EBHRWr000B
02ECHRWr000C
02EDHRWr000D
02EEHRWr000E
02EFHRWr000F
Device
R→M
Content
MSBLSB
Load
Present
value
Displacement (0 for time)
16bit
16bit
Load
Section 1
Displacement (Time)
16bit
16bit
Load
Section 2
Displacement (Time)
16bit
16bit
Load
Section 3
Displacement (Time)
16bit
16bit
Load
Section 4
Displacement (Time)
16bit
16bit
Load
Section 5
Displacement (Time)
16bit
16bit
* Presence or absence of valid hold data
16bit
Command
16bit
General-
purpose area
(response)
Data
32bit
L
H
8
Stat ion
Data changes
according to
the remote
output "RM
data change"
1
2
3
4
・When the remote output "RM data change" is ON
Buffer
Address
02E0HRWr0000
02E1HRWr0001
02E2HRWr0002
02E3HRWr0003
02E4HRWr0004
02E5HRWr0005
02E6HRWr0006
02E7HRWr0007
02E8HRWr0008
02E9HRWr0009
02EAHRWr000A
02EBHRWr000B
02ECHRWr000C
02EDHRWr000D
02EEHRWr000E
02EFHRWr000F
Device
R→M
MSBLSB
Present
value
Wave No.
(
response)
Wave No.
response)
(
Wave No.
response)
(
* Presence or absence of hold value
General-
purpose area
(response)
Content
Displacement (0 for time)
1st byte
3rd byte
5th byte
7th byte
9th byte
11th byte
13th byte
15th byte
17th byte
19th byte
Load
8bit
8bit
8bit
8bit
8bit
8bit
8bit
8bit
8bit
8bit
Command
Data
6.Address map
16bit
16bit
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
16bit
16bit
L
H
32bit
Explanation for remote resister R → M
● Present value
The currently indicated value (displacement, time) data is stored. If the indicated value is held,
the hold value is displayed.
* If the X-axis of the waveform represents time, the value of displacement becomes 0.
RangeLoad: -9999 to 9999, Displacement: -9999 to 32000
● Section1 to Section5
These are valid when the remote output "RM data change" is 0.
Hold value(s) (load, time or displacement) of Section1 to Section5 is stored.
If there is any valid hold value in a section, "1" is stored in the bit of "Presence or absence of
hold value." If there is no valid hold value, "0" is stored in the bit of "Presence or absence of
hold value," and "0" is stored in the hold value.
RangeLoad: -9999 to 9999, Time: 0 to 51175 (ms), Displacement: -9999 to 32000
9
6.Address map
Under the following conditions, the specified command is not accepted, but FFFFH is
written in the general-purpose area "command" (response).
Setting change
・Made during measurement
・With the general-purpose area "data" outside the input range
・With no setting item corresponding to the general-purpose area "command"
・With the general-purpose area "section No." or "work No." outside the input range
Setting read
・With no setting item corresponding to the general-purpose area "command"
・With the general-purpose area "section No." or "work No." outside the input range
Point
* How to read a hold value
● Wave No.
● Presence or absence of hold value
1. Check that the remote input "Complete" has changed from 0 to 1.
2. Set the remote output "RM data change" to 0.
3. Check that there is a valid hold value in the section you want to read by "Presence
or absence of hold value", and if any, read the hold value.
This is valid when the remote output "RM data change" is 1.
The currently-set wave No. is stored.
If there is valid data for the hold value in a section, "1" is stored in the bit corresponding to each
section. If there is no valid data, "0" is stored in the bit corresponding to each section, and "0" is
stored in the hold value.
・Presence or absence of hold value
BitCorresponding sectionBitCorresponding section
B0Section1B10
B1Section2B11
B2Section3B12
B3Section4B13
B4Section5B14
B5B15
B6
B7
B8
B9
● General-purpose area "command" (response)
When setting is updated or set value(s) is read by using the general-purpose area "data", the
specified general-purpose area "command" is written in the general-purpose area "command"
(response).
● General-purpose area "data" (response)
When set value(s) is read by using the general-purpose area "data", the read set value(s) is
Interval AB (A)13141 to 999 (× Measurement Length/2000)
Interval AB (B)13151 to 999 (× Measurement Length/2000)
Command
(RWw000D)
13000: External Input 1: Setting
1304Time or displacement (Front)
1305Time or displacement (Front)
1306
1307
1308Waveform Reference; Front
1309Waveform Reference; Front
Data area input (output at read-time) range
(Input:RWw000E to 000F)
(Output:RWr000E to 000F)
(0 can be set only
when the time or displacement (Front))
4: Peak to Peak 5: Relative Maximum
6: Relative Minimum 7: Inflection Point
8: Average 9: End Displacement
0 to 2047 (× Measurement Length/2000)
* However, End point of the previous section
Displacement (Back)
-2047 to 0 (× Measurement Length/2000)
* However, End point of the previous section
≧Start point≧End point
0 to 2047 (× Measurement Length/2000)
* However, Start point≦End point
≦Start point of the next section
Displacement (Back)
-2047 to 0 (× Measurement Length/2000)
* However, Start point≧End point
≧Start point of the next section
-9999 to +9999
* Setting HI limit < LO limit is unacceptable.
-9999 to +9999
* Setting HI limit < LO limit is unacceptable.
0 to 2047 (× Measurement Length/2000)
Waveform Reference; Back
-2047 to 0 (× Measurement Length/2000)
* When End Displacement in Use Hold is selected;
-9999 to 32000
* Setting HI limit < LO limit is unacceptable.
0 to 2047 (× Measurement Length/2000)
Waveform Reference; Back
-2047 to 0 (× Measurement Length/2000)
* When End Displacement in Use Hold is selected;
-9999 to 32000
* Setting HI limit < LO limit is unacceptable.
5: 1.5 6: 1.75 7: 2 8: 3 9: 4 [Times]
≦Start point≦End point
13
6.Address map
Point
Note1)
Please change other set values beforehand so that the setting range
becomes the maximum when a set value to which other settings influence the
setting range is written in.
Example 1When you write the Load HI Limit value in.
Please write -9999 in the Load LO Limit value beforehand.
Example 2When you change the Section Start-End.
Please write 2047(Time or Displacement (Front)) and -2047(Displacement
(Back)) in of the start point and the end point in all sections beforehand in
order of End Point of Section 5, Start Point of Section 5, End Point of
Section 4, …… End Point of Section 1 and Start Point of Section 1.
Please write in the value to be set in order of Start Point of Section 1, End
Point of Section 1, Start Point of Section 2, …… Start Point of Section 5
and End Point of Section 5.
Classification of itemsSetting item
Settings by
work
[Work
0 to 15]
Waveform
Comparison
Setting
CalibrationZero Calibration (load)2000Fixed at 0
Relative
(common to all work)
Compare Area
(start point)
Note1)
Compare Area
(end point)
Note1)
Compare Margin14030 to 9999
Relative Point
(X-axis)
Relative Point
(Y-axis)
Zero Calibration
(displacement)
Actual Load Calibration
(load)
Actual Load Calibration
(displacement)
Command
(RWw000D)
14000: Off1: On
1401Time or displacement (Front)
1402Time or displacement (Front)
1404Time or displacement (Front)
1405-9999 to 9999
2001Fixed at 0
2002-9999 to 9999
2003-9999 to 32000
Data area input (output at read-time) range
(Input:RWw000E to 000F)
(Output:RWr000E to 000F)
0 to 2047 × Measurement Length/2000
* Setting Start point > End point is
unacceptable.
Displacement (Back)
-2047 to 0 × Measurement Length/2000
* Setting Start point < End point is
unacceptable.
0 to 2047 × Measurement Length/2000
* Setting Start point > End point is
unacceptable.
Displacement (Back)
-2047 to 0 × Measurement Length/2000
* Setting Start point < End point is
unacceptable.
0 to 2047 (× Measurement Length/2000)
Displacement (Back)
-2047 to 0 (× Measurement Length/2000)
14
6.Address map
■Unit setting list
* Numbers are values of input range.
Also, “0” results in no unit.
- ①F381A
WeightForcePressureLengthAngleOther
1μg11μN24μPa41μm48rad51g/cm
2mg12mN25mPa42mm49°52kg/m
3g13N26Pa43cm50deg53t/m
4kg14kN27hPa44m54g/l88μA
5Mg15MN28kPa45km55g/ml89mA
6t16μNm29MPa46in56mg/m90A
7lb17mNm30GPa47ft57kg/m91kA
8dyne18Nm31N/m
2
58kgm/s92μV
9kdyne19kNm32μbar59kgm2/s93mV
10oz20MNm33mbar60kgm
21ftlb34bar61mPas95kV
22inlb35mmHg62Pas96Ω
23inoz36inH
37ftH
O63m2/s97kΩ
2
O64mm/s98MΩ
2
38psia65m/s99W
39psig66mm/min100kW
40atom67cm/min101MW
68m/min102VA
69m/h103
70km/h104°F
71m/s
72rpm106kJ
73Hz107MJ
74kHz108
75MHz109l
76kg/s110m
77t/s111
78kg/min112‰
79t/min11 3ppm
80kg/h11 4pH
81t/h115gcm
82m
83m
84m3/h
3
85l/s
3
86l/min
3
87l/h
2
94V
℃
2
105J
%RH
%
3
/s116kgcm
3
/min117TONNE
3
15
6.Address map
- ②F388A
WeightForcePressureLengthAngleOther
1μg11μN28μPa45μm52rad55g/cm
2mg12mN29mPa46mm53°56kg/m
3g13N30Pa47cm54deg57t/m
4kg14kN31hPa48m58g/l92μA
5Mg15MN32kPa49km59g/ml93mA
6t16μNm33MPa50in60mg/m94A
7lb17mNm34GPa51ft61kg/m95kA
8dyne18Nm35N/m
2
62kgm/s96μV
9kdyne19kNm36μbar63kgm
10oz20MNm37mbar64kgm
21ftlb38bar65mPas99kV
22inlb39mmHg66Pas100Ω
23inoz40inH
24Ncm41ftH
O67m2/s101kΩ
2
O68mm/s102MΩ
2
25gcm42psia69m/s103W
26kgcm43psig70mm/min104kW
27kgm44atom71cm/min105MW
72m/min106VA
73m/h107
74km/h108°F
75m/s
76rpm110kJ
77Hz111MJ
78kHz11 2
79MHz113l
80kg/s11 4m
81t/s115
82kg/min116‰
83t/min117ppm
84kg/h
85t/h
86m
87m
88m3/h
3
89l/s
3
90l/min
3
/s
3
/min
3
2
91l/h
2
/s97mV
2
98V
109J
℃
%RH
3
%
16
6.Address map
・All input/output signals are
positive-logic.
1: ON 0: OFF
・Operation is the same as the input/
output signals of the main unit.
For details, refer to the F381A/F388A
operation manual.
Point
■About remote input/output
The F381A/F388A can send status and indicated values through the CC-Link with a delay of
approx. 200msec compared with the external input/output signals of the main unit.
The delay time is further affected by the communications cycle time, PLC scan time, etc.
Therefore, use the control connector of the main unit, not through communications, for severe-
speed cases.
Since a delay time also arises when input signals such as the D/Z command are used through
communications in a like manner, use the control connector for severe-speed cases.
*1:Measuring environment
CPU unitA1SCPU
Cable length5m
Baud rate10Mbps
Occupied station4
Number of units connected1
(*1)
■Relay domain
Remote output (PLC → F381A/F388A)
Use the remote output (PLC → F381A/F388A) for the following purposes.
・Turning on/off the relays of Request flag 1, Request flag 2 and R/W.
・Directing operations corresponding to items.
・ Switching work No.
Stati on
10160H
Buffer
address
Remote
output
RY0000
RY0001
RY0002
RY0003R/WRead: ON Write: OFF
RY0004
RY0005
RY0006
RY0007
RY0008RM data change
RY0009
RY000A
RY000B
RY000C
RY000D
RY000E
RY000F
Request flag 1
Request flag 2
Request flag 3
ContentRemarks
Reserved signal
Wave No.: ON Hold result: OFF
17
6.Address map
Station
10161H
2
3
4
Buffer
address
0162H
0163H
0164H
0165H
0166H
0167H
Remote
output
ContentRemarks
RY0010Load Digital Zero
RY0011DPM Positioning
RY0012Start
RY0013Stop
RY0014Hold
RY0015Reset
RY0016Backlight ON
RY0017Prohibit Touch Panel
RY0018
RY0019
RY001A
RY001B
RY001C
RY001D
RY001E
RY001F
RY0020
RY00212
RY00224
Work change
(for operation)
RY00238
RY0024
RY0025
RY0026
RY0027
RY0028
RY0029
RY002A
RY002B
RY002C
RY002D
RY002E
RY002F
:
:
:
:
:
Valid when the setting of "Input Select 1"
of the F381A/F388A is
"Communications."
1
Valid when the setting of "Input Select 2"
of the F381A/F388A is
"Communications."
18
Stati on
1
Remote input (F381A/F388A → PLC)
Information of each item is displayed to remote input (F381A/F388A → PLC)
Buffer
address
00E0H
00E1H
Remote
input
RX0000
RX0001
RX0002
RX0003R/W (Response)
RX0004
RX0005
RX0006
RX0007
RX0008RM data change (
RX0009
RX000AFirst Protect
RX000BWork Protect
RX000C
RX000DB1
RX000E
RX000FB1
RX0010
RX0011OK
RX0012HI
RX0013
RX0014OK
RX0015HI
RX0016Overload
RX0017
RX0018
RX0019OK
RX001AHI
RX001BComplete
RX001CRun
RX001DLoad OK
RX001EDPM OK
RX001FSD OK
Response 1
Response 2
Response 3
Y-axis Decimal Place
X-axis Decimal Place
Hold Result
Wave Resu l t
ContentRemarks
Response)
B0
B0
LO
Load
LO
DPM
LO
Reserved signal
Please fetch the inputs
in synchronization
with the Complete of RX001B.
Please fetch the inputs
in synchronization
with the Complete of RX001B.
6.Address map
19
6.Address map
Station
2
3
4
Buffer
address
00E2H
00E3H
00E4H
00E5H
00E6HRX0070
00E7H
Remote
input
RX0020
RX00212
RX00224
RX00238
RX0024
RX0025
RX0026
RX0027
RX0028
RX0029Wait Off
RX002AWait Lv.
RX002BSampling
RX002CWait Cal.
RX002DComplete
RX002EReset On
RX002F
::
::
::
::
RX007AError Status Flag
RX007BRemote READY
:
RX007F
ContentRemarks
1
Work Display
(for operation)
Wait St.
Measurement
Status
:
Turns on if there is a load error or
displacement error.
Turns on if the error status flag is off
after initialization.
20
7.Setting procedure
Request 1
(RY0000)
Response 1
(RX0000)
Wave No.
(RWw0002 to RWw000B)
ON
ON
OFF
OFF
(The upper row of signal level is ON, the lower row of signal level is OFF.)
Request 2
(RY0000)
Response 2
(RX0000)
R/W
(RY0003)
ON
ON
OFF
OFF
(The upper row of signal level is ON, the lower row of signal level is OFF.)
General-purpose area "data"
(RWw000E, RWw000F)
General-purpose area "Section No.", "Work No."
(RWw000C)
General-purpose area "Command"
(RWw000D)
R/W (Response)
(RX0003)
General-purpose area "Command" (Response)
(RWr000D)
■Setting of wave No. by using Request flag 1
Use Request flag 1 for writing wave No.
After specifying the set value in the wave No., the set value is written at the ON edge of Request
flag 1 when all of Request flag 1 to 3 and Response 1 to 3 are off.
RWw0002 to RWw000B correspond to wave No.
Note
) Turn off the Request flag 1 bit after checking that Response 1 is on.
7.Setting procedure
■Setting by using the general-purpose area "data"
and "command", and Request flag 2
Use Request flag 2 for reading and writing set value(s).
Operation is performed at the ON edge of Request flag 2 when all of Request flag 1 to 3 and
Response 1 to 3 are off.
RWw000E and RWw000F correspond to the general-purpose area "data."
RWw000D corresponds to the general-purpose area "command."
RWw000C corresponds to the general-purpose area "section No." and general-purpose area "work No."
Note) Turn off the Request flag 2 bit after checking that Response 2 is on.
For writing set value(s), turn off "R/W."
21
7.Setting procedure
Request 2
(RY0000)
Response 2
(RX0000)
R/W
(RY0003)
ON
ON
OFF
OFF
(The upper row of signal level is ON, the lower row of signal level is OFF.)
General-purpose area "Section No.", "Work No."
(RWw000C)
General-purpose area "Command"
(RWw000D)
R/W (Response)
(RX0003)
General-purpose area "Command" (Response)
(RWr000D)
General-purpose area "data" (Response)
(RWr000E, RWr000F)
■Reading set value(s)
For reading set value(s), turn on R/W.
The set value of the specified channel number is outputted.
After checking that Response 2 turns on, read the general-purpose area "data" (response).
) Turn off the Request flag 2 bit after checking that Response 2 is on.
Note
■Sample of ladder program
Rewriting Load HI/LO Limit (HI limit) to CODE No.0 by Request flag 2, the Load HI/LO Limit
(HI limit)
「In detail refer to CC-Link System Master/Local Module Type AJ61QBT11/A1SJ61QBT11 User’s
22
are increased from 0 to 9999 in succession.
Use CPU:A1SH
Station No.:1
Slot of Master:3(The relay area to be used is X60 ~ X7F and Y60 ~ Y7F.)
Manual」
The following is a sample ladder program to change Load HI/LO Limit (HI limit) of work No.
2, section 1 using request flag 2.
After a value is written in Load HI/LO Limit (HI limit) , Load HI/LO Limit (HI limit) is read,
and the written value and read value are compared, and if they agree, the writing value is
incremented by 1, and it is repeated up to 9999, which is followed by 0.
Note) Set Load HI/LO Limit (LO limit) of work No. 2, section 1 to 0 or less in advance.
7.Setting procedure
Initial setting
D300 = 9999
D300 = D300+1
After confirming Request flag 2 response OFF, writes the value of D300 into
After confirming Request flag 2 response ON, turns OFF Request flag 2.
After confirming Request flag 2 response OFF, requests reading out
After confirming Request flag 2 response ON, reads out the value (D302)
Compares D300 with D302
Sequence completion
"0" is substituted for D300
Yes
No
When Conform to
When Not conform to
FLOW
then turns Request flag2 OFF.
Load HI/LO Limit (HI limit).
Load HI/LO Limit (HI limit).
0~123 row Initial setting for Communication speed
96 rowRemote device F381A/F388A occupies 4 stations of PLC start from station 1.
125 rowRX PLC read value from F381A/F388A
135 rowRWr PLC read value from F381A/F388A
145 rowCopying Reguest flag 2 response to M200
202 rowWriting Load HI/LO Limit (HI limit)
274 rowReading Load HI/LO Limit (HI limit)
308 rowCopying read value to D302
337 rowWhen each value coinsides with proceeds to 159 row.
350 rowData Initialization
23
7.Setting procedure
X6FX60
M9038
1 cycle
D12
H1401
[MOV]
96
X60
M1
M0
M9038
M0
M1
D0
D1
D2
K3
D3
K
1
D4
D5
D6
D7
D8
D10
D11
K8
K1
Y60
M2
[PLS
[SET
K1
K3
K1
D0
K0
D3
H0
H0
H0
H0
H0
H0
H0
H0
D4
D12
[RST
[SET
[PLS
[MOV
[MOV
H1
[MOV
[MOV
[MOV
[MOV
[MOV
[MOV
[MOV
[MOV
H10
H20
H6
H6
H6
H6
[TO
[TO
[TO
[TO
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
X6F
M1
X60X6F
0
5
7
46
114
116
*<1device connected
>
[MOV
]
H6
[MOV
D9
*<Remote device F381A/F388A occupies 4
M1
1 cycle ON
M2
M3
M3
Y66
[SET
[SET
]
]
121
123
*
Up to here Initial setting for communication
(M200
D200H0E0H6
[FROM
]
D216H2E0H6
[FROM]
M9036
M9036
[= D400 H4 ]
125
135
*<RX PLC read value from F381A/F388A >
ON at all times
ON at all times
*<
RWr PLC read value from F381A/F388A >
D200H4[WAND
]
M9036
ON at all times
)
Request flag 2 response
145
H8
D400
H10
]
H1 [+
]
[D= K9999 D300 ]
[D<>
K9999
D300
*<D300 =9999 , D300←0
>
159
D300
[DMOV
]
D300
M200 M9038 M100
Request
1 cycle
K0
stations of PLC start from station 1
>
flag 2
response
ON
ON
24
D208
M100
M101
H0FFF7
[RST
[SET
]
]
H10D232H1E0H6
[TO]
M200 M9038 M100
202
Request
1 cycle
ON
]
*<R /W
relay
OFF
>
D246D300 [MOV]
[WAND
D247D301[MOV]
D245K1306[MOV]
*<(
Load HI/LO Limit (HI limit)
>
*<Reguest flag 2 ON
>
D208H4[WOR]
H8D208
H160
[TO
]
*<To
M101
>
H6
*
M100
Sequence(Wiriting Load HI/LO Limit (HI limit)
)
M200 M9038 M101
255
*<When Reguest flag 2 response turns ON
Request
1 cycle
ON
*<To
M103
>
M103[SET]
M101[RST
]
H8D208
H160
H6[TO
]
D208
H0FFFB
][WAND
*
M101 Sequence
*<
R/W relay Turns ON
>
D208H8
[WOR
]
274
M200 M9038 M103
Request
1 cycle
*<Load HI/LO Limit (HI limit)
>
D245K1306
[MOV
]
*<Reguest flag 2 ON
>
H8D208H160H6[TO]
*<To
M104
>
]
]
M103[RST
M104[SET
D208H4
[WOR
]
*
M103 Sequence(Reading Load HI/LO Limit (HI limit)
)
D244H102[MOV]
*<Work no. 2 Section 1
>
*<Work no. 2 Section 1
>
D244H102
[MOV
]
ON
flag 2
response
flag 2
response
flag 2
response
Reguest flag 2 goes OFF.
>
7.Setting procedure
25
8.Outside dimensions
1 cycle
M105[RST][ = D300 D302 ][ = D301 D303 ]
337
*<To M100
>
M100[SET]
M105
*
M105 Sequence(Comparing values
)
M9038
M100[SET]
M101[RST]
M102[RST]
M103[RST]
M104[RST]
M105[RST]
D300K0[DMOV ]
1 cycle ON
350
364
[END]
*
Initialization
D303D231
[MOV
]
M104[RST
M105[SET
D302D230[MOV]
M200 M9038 M104
Request
*<When Reguest flag 2 response turns ON
H8D208H160H6[TO]
*<To M105
>
]
]
308
D208
H0FFFB
][WAND
*
M104 Sequence
ON
flag 2
response
Reguest flag 2 goes OFF.
>
ࠉࠉ
ࠉ
ࠉ
ࠉࠉ
8.Outside dimensions
26
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.