emtbccr
emtbccr
Manuals
*1
A2A RS485
Kuramo Electronics'
A3A AJ61BT11 2 CC-Link Unit
FANC-SB0.5mm x3 GP Series *2
A3N (refer to next page) GP070-CL11
A2U-S1
A2US A1SJ61BT11
Twisted Pair
A2USH-S1
Shielded Cable
Q3A AJ61QBT11
Q4A
*1 All GP Units connected to the Master station have the following conditions:
(1) ×b)+(3×
×a)+(2×
{(1× ×d)} ≤ 64
×c)+(4×
a: No. of units occupying 1 node
b: No. of units occupying 2 nodes
c: No. of units occupying 3 nodes
d: No. of units occupying 4 nodes
(2) ×A)+(54×
{(16× ×B)+(88××C)} ≤ 2304
A: No.of Remote I/O nodes used ≤ 64
B: No. of Remote Device nodes ≤ 42
C: No. of Local nodes ≤ 26
Maximum No. of Connectable GPs
The GP will become a Remote Device node and the minimum number of
occupyable nodes becomes two (2). As a result, the number of GPs that can be
connected to a single Master node is 32.
For detailed information about the Master node’s system
design, please refer to Mitsubishi Electric [AJ61BT11/
A1SJ61BT11] Unit CC-Link System Master and Local Unit
User’s Manual, or the [AJ61QBT11/A1SJ61QBT11
Unit CC-Link System Master and Local Unit User]
Manual’s [System Design] section.
*2 For a list of GP/GLC series that can use the CC-Link remote device station, refer to
9.1 Connectable PLCs Cannectable GP/GLC Units. For
CC-Link Remote Device Station.
GP-PRO/PBIII for Windows Ver.6.2 PLC Connection Manual 9-2-1
9.2 Remote Device Station Chapter 9 CC-Link
When connecting the GP (Remote Unit) to the PLC (Master Unit), use twisted
pair cable and wire the connectors as follows:
GP PLC
(Remote Device Unit) (Remote Device Unit) (Master Unit)
DA DA DA
DB DB DB
Termination
DG DG DG
Resistance
SLD SLD SLD
110Ω 1/2W
FG Shielded Twisted FG Shielded Twisted FG
Pair Cable Pair Cable
Termination
Ground Ground Ground Resistance
110Ω1/2W
The following are Digital’s recommended data transmission settings for the
PLC and GP.
Mitsubishi Electric A and Q Series Units
*1 For detailed information about the Master station’s system design, please refer to
Mitsubishi Electric [AJ61BT11/A1SJ61BT11] Unit CC-Link System Master and Lo-
cal Unit User’s Manual, or the [AJ61QBT11/A1SJ61QBT11 Unit CC-Link System
Master and Local Unit User] Manual’s [System Design] section.
*2 The Master Node’s node number must always be set to “0”. (Use the Master Unit’s
rotary switch)
*3 Only the settings on the GP can be changed. If, however, a ladder program has been
used to enter settings (using Initial Setting commands), those settings are the highest
priority.
STARTING ADDRESS OF LS AREA This start address is used for the allocation of
the Remote Input/Output and Remote Device
Areas in the GP’s System Area (20 to 1980).
9.2.4.1 Overview
When using the CC-Link, the GP must be registered as a Remote Device node
and use a direct connection with a CC-Link compatible PLC. Here, either the
Ordinary or Command Monitoring method can be used.
Ordinary Monitoring
The Master Node’s devices are occupied (via Link Areas) in the GP’s System
Area, as shown below.
Master Node GP
Master Node Devices GP System Area
Cannot be
System Data Area
accessed
Remote Bit User
RX
Device Area
RY
Link Area
Remote RWr User
Word RWw Area
Device
User
Area
Special Relay/
Special Relay Cannot be
Area accessed
• Command Monitoring
The Remote Bit Device, like the Ordinary Monitor, can directly access the User
Area’s Bit Device.
The Remote Word Device, depending on the commands entered to the device,
can directly access the GP’s User and System areas.
Master Node GP
Master Node Devices GP System Area
m: (Node No. - 1) x 2H
Note:
n: As stated below
No. of Occupied
2 Nodes 3 Nodes 4 Nodes
Nodes
n 3 5 7
Display Request Flag When a read or write are being performed to the
RY (m+n) 0
*1 GP's System Area, this flag turns ON.
When the System Area is being read of a GP that
Display Monitor
RY (m+n) 1 has had Monitor Registration performed for its RWrn
Request Flag *1
area, this flag turns ON.
When the System Area is being written to on a GP
Display Periodic Write that has been registered for the periodic writing of
RY (m+n) 2
Request Flag *1 data previously written to the RWwm area, this flag
turns ON.
Initial Data Setting
RY (m+n) 9 Initial processing is performed when this flag is ON.
Request Flag *1
Error Reset Request When the Error Reset Request Flag turns ON, the
RY (m+n) A
Flag Error Condition Flag RX(m+n)A turns OFF.
RY(m+n)0 ON
OFF
Display Request
Flag
R/W Command
ON
RX(m+n)0
Display Completed OFF
Flag
• Initial Data Setting Completed Flag, Initial Data Setting Request Flag
When the Initial Data Setting Completed Flag turns ON, the completion of the
initial processing causes the Initial Data Setting Completed Flag to turn ON.
When the Initial Data Setting Request Flag turns OFF, the Initial Data Setting
Completed Flag turns OFF.
ON
RY(m+n)9 OFF
Initial Data Setting
Request Flag
Initial Setting
Command ON
RX(m+n)9
OFF
Initial Data Setting
Completed Flag
Processing
Processing
• Remote Ready
When the GP’s OS is started and online, the Remote Ready:RX(m+n)B bit is
ON.
ON
Power ON
Online (activated
by operator)
MFP3 Chip
RX(m+n)B
GP is Ready
RY(m+n)9
(Sequence
Program)(Initial
Data Setting
Request Flag)
Internal
Processing
RX(m+n)9
(Initial Data Setting
Completed)
This feature is for sending Tag Code data from the GP’s System Area to the
Master Node, via the GP’s touch panel. When a GP touch or other type of tag is
used to perform an absolute write to the GP’s System Data Area 13 (decimal),
the RX(m+n)5 (Touch ON Complete Flag) turns ON. When this bit turns
ON,the RX(m+n)7(Tag Code Read Request Flag) also turns ON.
When the Master Node is performing continuous read requests on the GP’s
System Data Area 13, prior to a Read being completed, the GP will turn
RX(m+n)5 OFF. This, in turn, will cause the RX(m+n)7 bit to turn OFF. This
method is used to send numeric data from the GP’s touch panel (using the 8 bit
interrupt codes shown below) tothe Master Node.
ON
GP Touch Screen is used
RX(m+n)5
(Touch ON Complete
Flag)
RX(m+n)7
Tag Code Read Request
Flag
RWwm(H)
(2:Continuous Read)
Starts
Machine No. m n
1 0 100
2 4 104
3 8 108
~ ~ ~
With Ordinary Monitoring, the value written into the Master Node’s RWw area
Note: is reflected in the User Area’s Link Area RWw(+36 to +51). Also, the value in the
User Area’s Link Area RWr(+20 to +35) is reflected in the Master Node’s RWr.
9.2.3 Occupied Nodes.
M120
| | [ TO H0 H1E0 D119 K8 ]
| (8 word setting for data written from D119)
[ F RO M H 0 H 2 E 0 D 2 1 9 K 8 ]
(8 word setting for data read into D219)
The following drawing shows the PLC’s CPU and Master Node Buffer
Memory, in addition to the GP’s System Data Area.
The above chart shows examples of when the CPU’s D119 to D126 data is sent
to RWw0 to RWw7, and when RWr0 to RWr7’s data is sent to D219 to D226.
Machine No. m n
1 0 100
2 4 104
3 8 108
~ ~ ~
Signal Details
The following drawing shows the PLC’s CPU and Master Node Buffer
Memory, in addition to the GP’s System Data Area.
The figures show the PLC CPU’s D119 used as the start address for the storage
of commands, with D129 being used as the start address for the storage of read
out data.
Command List
Command
Name Contents
No.
1 Initial Setting Command Changes the current Mode.
Reads out each piece of word data from the GP System
2 Continous Read Command
Area's designated address.
3 Random Read Command Reads out data from multiple GP System Area addresses.
Writes each piece of word data to the designated GP
4 Continuous Write Command
System Area address.
5 Random Write Command Writes data to multiple GP System Area addresses.
Registers multiple GP System Area addresses for
6 Register Monitor Command
monitoring.
8 Register Periodic Write Command Registers multiple GP System Area addresses for writing.
< Sequence Program Example > (Uses Initial Setting command to operate the
Command Monitoring Mode.)
[ <> k 1 D 1 0 0 0 ] [ MOV H 1 0 1 D 1 1 9 ]
(Initial Setting Command (H) and Command Monitor Mode (L) settings)
[ TO H0 H1E0 D119 K1 ]
| (Save the above settings to the designated buffer address)
[ TO H0 H163 H200 K1 ]
(Initial Data Setting Request Flag ON)
M 9036(Normally ON)
| | [ FROM H0 HE3 D1000 K1 ]
| (Save Initial Data Setting Completed Flag to D1000)
[ SFR D1000 K9 ]
(Shift all data 9 bits to the right)
[=k1 D1000] Ladder program for performing another command
< Sequence Program Example > (Continuous Read of 6 words from address 0
in GP memory)
X6 (Data Link normal startup completed using buffer memory’s parameter)
| | [ SET M110 ]
M110
| | [ MOV K518 D119 ]
In order to send T-tag data to a PLC, and also enable the master station to read the
touched value using the Continuous Read command.
< Sequence Program Example (Using LS13) >
( Values in brackets( ) are when LS10 is used)
< Sequence Program Example > ( For random read GP memory address 100)
< Sequence Program Example > (Writes 6 words units continuously from GP
memory address 2026. This example uses Write
data 1,2,3,4,5 and 6.)
< Sequence Program Example > (For random writing to address 0, 1100 and 1979
in GP memory. This example uses Write data
1,2, and 3.)
< Sequence Program Example > (When setting GP memory addresses 0, 100, 200,
1000, 1500 and 2031 for Register Monitor)
< Sequence Program Example > (When setting addresses 0, 1100 and 2031 in GP
memory as Register Periodic Write)
M 9 0 3 6 (Normally ON)
| | [ FROM H0 HE3 D1000 K1 ]
(Saves buffer contents <Display Complete Flag> to D1000)
M 9 0 3 6 (Normally ON)
| | [ TO H0 H1E0 D119 K1 ]
(Data will be written in periodically when a value is input to D119)
For further information about the ladder program and settings, please refer
to Mitsubishi’s “AJ61BT11/A1SJ61BT11 type CC-Link System Master
Local Unit Users Manual (Details)” or “AJ61QBT11/A1SJ61QBT11 type
CC-Link System Master Local Unit Users Manual (Details)”
2 Nodes Occupied
LS area
Bit Signal Detail
(Word Address)
a to a+2 0 to F RXm0 to RX mF to RX User's Area (RX) :
(m+2)0 to RX (m+2)F 3words occupied (When 2 nodes are
occupied)
0 a+3 0 RX(m+n)0 Display Complete Flag
System Data 1 RX(m+n)1 Reserved
Area 2 RX(m+n)2 Reserved
19 3 RX(m+n)3 Reserved
a 4 RX(m+n)4 Reserved
Link Area 5 RX(m+n)5 Touch ON Complete Flag
6 RX(m+n)6 Reserved
(a to a+7)
a+7 7 RX(m+n)7 Tag Code Read Out Request Flag
8 RX(m+n)8 Reserved
a+8
Link Area 9 RX(m+n)9 Initial Data Setting Completed Flag
(a+8 ~ a+51) 10 RX(m+n)A Error Flag
a+51 11 RX(m+n)B Remote READY
12 RX(m+n)C Reserved
a+52
User Area 13 RX(m+n)D Reserved
14 RX(m+n)E Reserved
(a+52 ~ 2031) 15 RX(m+n)F Reserved
2031 a+4 to a+7 Not used
a+8 Reserved
a+9 Reserved
a+10 to a+12 0 to F RYm0 to RY mF to RY User's Area (RY) :
(m+2)0 to RY (m+2)F 3words occupied (When 2 nodes are
occupied)
a+13 0 RY(m+n)0 Display Request Flag
1 RY(m+n)1 Display Monitor Request Flag
2 RY(m+n)2 Display Periodic Write Request Flag
3 RY(m+n)3 Reserved
4 RY(m+n)4 Reserved
5 RY(m+n)5 Reserved
6 RY(m+n)6 Reserved
7 RY(m+n)7 Reserved
8 RY(m+n)8 Reserved
9 RY(m+n)9 Initial Data Setting Request Flag
10 RY(m+n)A Error Reset Request Flag
11 RY(m+n)B Reserved
12 RY(m+n)C Reserved
13 RY(m+n)D Reserved
14 RY(m+n)E Reserved
15 RY(m+n)F Reserved
a+14 to a+17 Not used
a+18 Reserved
a+19 Reserved
a+20 to a+27 Rwr Rwr (R to M) during ordinary montoring
a+28 to a+35 Not used
a+36 to a+43 RWw RWw (M to R) during ordinary montoring
a+44 to a+51 Not used
3 Nodes Occupied
LS area
Bit Signal Contents
(Word Device)
0 a to a+4 0 to F RXm0 to RX mF to RX User's Area (RX) : 5 w ords occupied
System Data (m+4)0 to RX (m+4)F (When 3 nodes are occupied)
Area a+5 0 RX(m+n)0 Display Complete Flag
19 1 RX(m+n)1 Reserved
a 2 RX(m+n)2 Reserved
Link Area
3 RX(m+n)3 Reserved
(a to a+7)
a+7 4 RX(m+n)4 Reserved
5 RX(m+n)5 Touch ON Complete Flag
a+8
Link Area 6 RX(m+n)6 Reserved
(a+8 ~ a+51) 7 RX(m+n)7 Tag Code Read Out Request Flag
a+51 8 RX(m+n)8 Reserved
a+52 9 RX(m+n)9 Initial Data Setting Completed Flag
User Area
10 RX(m+n)A Error Flag
(a+52 ~ 2031) 11 RX(m+n)B Remote READY
2031 12 RX(m+n)C Reserved
13 RX(m+n)D Reserved
14 RX(m+n)E Reserved
15 RX(m+n)F Reserved
a+6 to a+7 Not used
a+8 Reserved
a+9 Reserved
a+10 to a+14 0 to F RYm0 to RY mF to RY User's Area (RY) : 5 w ords occupied
(m+4)0 to RY (m+4)F (When 3 nodes are occupied)
a+15 0 RX(m+n)0 Display Request Flag
1 RX(m+n)1 Display Monitor Request Flag
2 RX(m+n)2 Display Periodic Write Request Flag
3 RX(m+n)3 Reserved
4 RX(m+n)4 Reserved
5 RX(m+n)5 Reserved
6 RX(m+n)6 Reserved
7 RX(m+n)7 Reserved
8 RX(m+n)8 Reserved
9 RX(m+n)9 Initial Data Setting Request Flag
10 RX(m+n)A Error Reset Request Flag
11 RX(m+n)B Reserved
12 RX(m+n)C Reserved
13 RX(m+n)D Reserved
14 RX(m+n)E Reserved
15 RX(m+n)F Reserved
a+16 to a+17 Not used
a+18 Reserved
a+19 Reserved
a+20 to a+31 RWr Rw r (R to M) during ordinary montoring
a+32 to a+35 Not used
a+36 to a+47 RWw RWw (M to R) during ordinary montoring
a+48 to a+51 Not used
4 Nodes Occupied
LS area
Bit Signal Contents
(Word Dev ice)
a to a+6 0 to F RXm0 to RX mF to RX User's Area (RX) : 7 w ords occupied
0 (m+6)0 to RX (m+6)F (When 4 nodes are occupied)
System Data a+7 0 RX(m+n)0 Display Complete Flag
Area 1 RX(m+n)1 Reserved
19 2 RX(m+n)2 Reserved
a 3 RX(m+n)3 Reserved
Link Area
4 RX(m+n)4 Reserved
(a to a+7) 5 RX(m+n)5 Touch ON Complete Flag
a+7
6 RX(m+n)6 Reserved
a+8 7 RX(m+n)7 Tag Code Read Out Request Flag
Link Area
(a+8 ~ a+51) 8 RX(m+n)8 Reserved
a+51 9 RX(m+n)9 Initial Data Setting Completed Flag
a+52 10 RX(m+n)A Error Flag
User Area 11 RX(m+n)B Remote READY
(a+52 ~ 2031) 12 RX(m+n)C Reserved
2031 13 RX(m+n)D Reserved
14 RX(m+n)E Reserved
15 RX(m+n)F Reserved
a+8 Reserved
a+9 Reserved
a+10 to a+16 0 to F RYm0 to RY mF to RY User's Area (RY) : 7 w ords occupied
(m+6)0 to RY (m+6)F (When 4 nodes are occupied)
a+17 0 RX(m+n)0 Display Request Flag
1 RX(m+n)1 Display Monitor Request Flag
2 RX(m+n)2 Display Periodic Write Request Flag
3 RX(m+n)3 Reserved
4 RX(m+n)4 Reserved
5 RX(m+n)5 Reserved
6 RX(m+n)6 Reserved
7 RX(m+n)7 Reserved
8 RX(m+n)8 Reserved
9 RX(m+n)9 Initial Data Setting Request Flag
10 RX(m+n)A Error Reset Request Flag
11 RX(m+n)B Reserved
12 RX(m+n)C Reserved
13 RX(m+n)D Reserved
14 RX(m+n)E Reserved
15 RX(m+n)F Reserved
a+18 Reserved
a+19 Reserved
a+20 to a+35 RWr Rw r (R to M) during ordinary montoring
a+36 to a+51 RWw RWw (M to R) during ordinary montoring
The following list shows the error codes used with CC-Link. These error codes
will appear on the screen as, for example, “ PLC COM. ERROR, (02: **)”,
where ** stands for an error code listed below.
Error Code ( ** ) Error Details
01 Designated device point is not within the limited range
02 Designated address is not within the limited range
03 Command is not defined
04 Incorrect initial command is designated.(Do not use the Request Flag for initial
05 Undefined mode is designated for initial command
06 Not registered in Monitor Command
07 Not registered in Periodic Write Command
08 Data attempted to be written in the write prohibited system area
09 In the OFFLINE mode now
14 No Reply from Hardware
15 Problem in Hardware
16 Node Number switch setting error
17 Baud Rate Switch setting error
18 Set up Node Number switch change error
19 Set up Baud Rate switch change error
1A CRC error
1B Time over error
1C 0 channel carrier detection error
1D 1 channel carrier detection error
1E Communication Transfer error
1F Y data or RWw data, numerical error
20 Y data, numerical error
21 RWw data, numerical error
Troubleshooting
GP Error Display (bottom left corner) Status
PLC COM.ERROR (02:14) PLC's power supply turned off during normal communication
PLC COM.ERROR (02:14) Cable between PLC and GP is not properly connected
PLC COM.ERROR (02:15) GP's rear unit is not attached
PLC COM.ERROR (02:15) GP's rear unit is not properly attached
PLC COM.ERROR (02:14) GP is not registered in the current parameters.
PLC COM.ERROR (02:14) Baud Rate is not applicable
PLC COM.ERROR (02:14) Node number is duplicated.
PLC COM.ERROR (02:1A) Blinking Terminating resister is not connected