0% found this document useful (0 votes)
2 views

emtbccr

The Device/PLC Connection Manuals provide essential information for setting up devices and PLC connections, including important pre-reading instructions and recommended data transmission settings. The document details the system structure, cable diagrams, environment settings, and monitoring specifications for CC-Link Remote Device Stations. It emphasizes the connection requirements and configurations necessary for successful communication between the GP and PLC units.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

emtbccr

The Device/PLC Connection Manuals provide essential information for setting up devices and PLC connections, including important pre-reading instructions and recommended data transmission settings. The document details the system structure, cable diagrams, environment settings, and monitoring specifications for CC-Link Remote Device Stations. It emphasizes the connection requirements and configurations necessary for successful communication between the GP and PLC units.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

Device/PLC Connection

Manuals

About the Device/PLC Connection Manuals


Prior to reading these manuals and setting up your device, be sure to read the
"Important: Prior to reading the Device/PLC Connection manual" information. Also,
be sure to download the "Preface for Trademark Rights, List of Units Supported, How
to Read Manuals and Documentation Conventions" PDF file. Furthermore, be sure
to keep all manual-related data in a safe, easy-to-find location.
Chapter 9 CC-Link 9.2 Remote Device Station

9.2 Remote Device Station

9.2.1 System Structure

A series/QnA series (Link I/F)


CPU Link Wiring Drawing Cable(s) Unit GP

*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

9.2.2 Cable Diagram

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

• Be sure to attach termination resistors to each end of a linked


system, between DA-DB. A Terminating Resistor is already
attached to the PLC’s CC-Link unit.
• The GP becomes the remote device node.
• The node order and the actual unit connection order are not
related.
• T-type and Star-type connections are not possible.

9-2-2 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

9.2.3 Environment Settings

The following are Digital’s recommended data transmission settings for the
PLC and GP.
Mitsubishi Electric A and Q Series Units

GP Settings PLC CC-Link Unit Settings


Transfer Speed 10M, 5M, 2.5M, 625K, 156K Transfer Speed Set via Rotary Switch

Occupied Ladder program is used to set no. of occupied


Occupied Nodes 2 to 4
Nodes nodes in the Node Information area. *1
Ladder program is used to set Node No. in
No. of Nodes 1 to 63 No. of Nodes
the Node Information area. *1 *2
Ladder program is used to set the Node Type
Node Type Remote Device Station (fixed) Node Type
in the Node Information area. *1
Monitoring Ordinary Monitor, Monitoring
Can be entered via Ladder program *3
Method Command Monitor Method
Environment Use GP screen to enter settings
Settings (See Foot Note *4)

*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.

*4 (HOW TO SET UP THE GP SCREEN)

1. Touch the [PLC SETUP] selection.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-3


9.2 Remote Device Station Chapter 9 CC-Link

2.Touch the [ENVIRONMENT SET]


selection.

In the [ENVIRONMENT SET] menu:


Enter the desired settings for Node
Number to Occupy, Machine No. and
Monitoring Way.

NODE NUMBER TO OCCUPY enter 2, 3 or 4.


MACHINE NO. enter from 1 to 63 for the machine number. If “3”
occupied nodes are used, the limit is 62; if “4”
occupied nodes are used, the limit is 61.
MONITORING WAY either Command or Ordinary Monitoring can be used.

3. Touch the [COMMUNICATION


SET] selection.

In the [COMMUNICATION SET]


menu:
Enter the [STARTING ADDRESS
OF LS AREA] and [BAUD RATE]
settings.

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 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

9.2.4 Monitoring Specifications

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

When using the Ordinary Monitoring method, the System Device


Area and the Special Relay Area cannot be accessed.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-5


9.2 Remote Device Station Chapter 9 CC-Link

• 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

System Data Area


Remote Bit
Device RX
RY User
RWr Areas
Remote RWw
Word
Device User Area

Special Relay Cannot be


Used by accessed
Special
Command

• Using Indirect Access


The CC-Link Special Command (write/read commands) can be used to store/
access data in the GP System Area’s Remote Word Device.
9.2.3 Command Monitoring

• The contents of the System Data Area will convert to Memory


Link type.
• When using Command Monitoring, data cannot be written to the
RX, RY, RWw, or RWr user areas.
• The GP’s Special Relay area cannot be accessed.

9-2-6 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„GP I/O Designations

From GP to Master Station From Master Station to GP

Link Output Signal Name Link Output Signal Name

RX m0 User Area RY m0 User Area


RX m1 RY m1
RX m2 The following number of nodes can be RY m2 The following number of nodes can be
RX m3 occupied: RY m3 occupied:
RX m4 RY m4
RX m5 2 nodes: 48 points RY m5 2 nodes: 48 points
RX m6 3 nodes: 80 points RY m6 3 nodes: 80 points
RX m7 4 nodes: 112 points RY m7 4 nodes: 112 points
RX m8 RY m8
RX m9 RY m9
RX mA RY mA
RX mB RY mB
RX mC
RY mC
RX mD
RY mD
RX mE
RY mE
RX mF
RY mF
::
::
RX (m+n) 0 Display Completed Flag
RY (m+n) 0 Display Request Flag
RX (m+n) 1
Reserved for System Area RY (m+n) 1 Display Monitor Request Flag
RX (m+n) 2 RY (m+n) 2 Display Periodic Write Request Flag
RX (m+n) 3 RY (m+n) 3 Reserved for System Area
RX (m+n) 4 Reserved RY (m+n) 4
RX (m+n) 5 Touch ON Completed Flag RY (m+n) 5
RX (m+n) 6 Reserved RY (m+n) 6
RX (m+n) 7 Tag Code Output Request Flag RY (m+n) 7
RX (m+n) 8 Reserved
RX (m+n) 9 Initial Data Setting Completed Flag RY (m+n) 8 Reserved
RX (m+n) A Error Condition Flag RY (m+n) 9 Initial Data Setting Request Flag
RX (m+n) B Remote Ready RY (m+n) A Error Reset Request Flag
RX (m+n) C Reserved RY (m+n) B Reserved
RX (m+n) D Reserved RY (m+n) C Reserved
RX (m+n) E Reserved
RY (m+n) D Reserved
RX (m+n) F Reserved
RY (m+n) E Reserved
RY (m+n) F Reserved

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

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-7


9.2 Remote Device Station Chapter 9 CC-Link

• GP I/O Definition Details

From GP to Master Station


Link Input Signal Name Explanation
When the Display Completed Flag (RY (m+n)0)
turns ON, the GP's Processing Completed will turn
Display Completed
RX (m+n) 0 ON. Also, when the GP turns the Display Request
Flag *1
Flag OFF, the Display Completed Flag also turns
OFF.
When data is written to the GP's System Data Area
13, Rx(m+n)5 will turn ON. The PLC then uses the
Touch ON Completed
RX (m+n) 5 Continuous Read Command, and, after reading the
Flag
contents of the GP's System Data Area 13, it turns
OFF.
Tag Code Output
RX (m+n) 7 Same as RX(m+n)5.
Request Flag

When the Initial Data Setting Reauest (RY(m+n)9)


turns ON, the Initial Data Setting Completed will also
Initial Data Setting turn ON.
RX (m+n) 9
Completed Flag *1 Also, when the Initial Data Setting is completed, the
Initial Data Setting Request Flag and the Initial Data
Setting Completed Flag will both turn OFF.
When a command error occurs while the GP's
RX (m+n) A Error Condition Flag
System Area is being used, this flag turns ON.
When the GP has been changed to ONLINE mode
and data linking has been completed successfully,
RX (m+n) B Remote Ready this turns ON. Also, when the GP is in either
OFFLINE mode or having its Initial Data entered, this
turns OFF.

From Master Station to GP

Link Input Signal Name Explanation

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.

*1 Only needed during Special Command Monitor. Normally not used.

9-2-8 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

• Display Completed Flag, Display Request Flag


When the Display Request Flag turns ON, the completion of command pro-
cessing causes the Display Completed Flag to turn ON. When the Display
Request Flag turns OFF, the Display Completed Flag will also turn OFF. Be
sure to use the ladder program to turn OFF the Display Request Flag after
checking the Display Completed Flag has been turned ON.

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

• Error Condition Flag, Error Reset Request Flag


When the Command Monitor feature is being used and an error occurs, the
Error Condition Flag and the Error Reset Request Flags both turn ON, causing
the Error Condition Flag to turn OFF..
ON
RX(m+n)A OFF
Error Condition Flag
ON
RY(m+n)A
Error Reset
OFF
Request Flag

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-9


9.2 Remote Device Station Chapter 9 CC-Link

• Display Monitor Request Flag


When the Display Monitor Request Flag turns ON, data from the system area
of the GP registered for monitoring will be read out.
ON
RY(m+n)1
Display Monitor
Request Flag

Processing

• Periodic Display Write Request Flag


While the Periodic Display Write Request is ON, data is periodically written to
a registered GP’s system area.
ON
RY(m+n)2
Periodic Display
Write Request
Flag

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)

9-2-10 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„Sending Tag Codes to the Master Node

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.

• Input/Output Signal Timing

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

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-11


9.2 Remote Device Station Chapter 9 CC-Link

9.2.4.2 Ordinary Monitoring


• GP Register Descriptions
From Master Station to GP From GP to Master Station
Address Contents Address Contents
RW wm When 2 Nodes are RW rn When 2 Nodes are
RW wm+1 occupied: 8 points RW rn+1 occupied: 8 points
RW wm+2 RW rn+2
RW wm+3 RW rn+3
RW wm+4 RW rn+4
RW wm+5 RW rn+5
RW wm+6 RW rn+6
RW wm+7 RW rn+7
RW wm+8 When 3 Nodes are RW rn+8 When 3 Nodes are
RW wm+9 occupied: 12 points RW rn+9 occupied: 12 points
RW wm+A RW rn+A
RW wm+B RW rn+B
RW wm+C When 4 Nodes are RW rn+C When 4 Nodes are
RW wm+D occupied: 16 points RW rn+D occupied: 16 points
RW wm+E RW rn+E
RW wm+F RW rn+F

Note: Concerning the characters m and n:


The chart here shows how the Remote Register’s 4h units are calculated.

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.

• Ordinary Monitoring Sequence Drawing


(Sequence Program)
X6 (Depending on buffer memory parameters, Data Link Start OK Completed)
| | [ M120]

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)

9-2-12 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„ PLC (Sequencer) Progam for Displaying Ordinary Monitor Data

The following drawing shows the PLC’s CPU and Master Node Buffer
Memory, in addition to the GP’s System Data Area.

PLC (Sequencer) GP (System Area)


CPU Master Node Buffer Memory

Address Remote Input (RX) Remote Input (RX)


E0 H RX00 ~ RX0F RX00 ~ RX0F
E1 H RX10 ~ RX1F RX10 ~ RX1F
E2 H RX20 ~ RX2F RX20 ~ RX2F
E3 H RX30 ~ RX3F RX30 ~ RX3F

Address Remote Output (RY) Remote Output (RY)


160 H RY00 ~ RY0F RY00 ~ RY0F
161 H RY10 ~ RY1F RY10 ~ RY1F
162 H RY20 ~ RY2F RY20 ~ RY2F
163 H RY30 ~ RY3F RY30 ~ RY3F

D119 Address Remote Register (RWw) Remote Register (RWw)


D120 1E0 H RWw0 RWw0
D121 1E1 H RWw1 RWw1
D122 1E2 H RWw2 RWw2
D123 1E3 H RWw3 RWw3
D124 1E4 H RWw4 RWw4
D125 1E5 H RWw5 RWw5
D126 1E6 H RWw6 RWw6
1E7 H RWw7 RWw7

D219 Address Remote Register (RWr) Remote Register (RWr)


D220 2E0 H RWr0 RWr0
D221 2E1 H RWr1 RWr1
D222 2E2 H RWr2 RWr2
D223 2E3 H RWr3 RWr3
D224 2E4 H RWr4 RWr4
D225 2E5 H RWr5 RWr5
D226 2E6 H RWr6 RWr6
2E7 H RWr7 RWr7

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.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-13


9.2 Remote Device Station Chapter 9 CC-Link

9.2.4.3 Command Monitoring


„GP Register Descriptions

‹Master Node to GP ‹GP to Master Node


Address Contents Address Contents
RW wm Command RW rn Response *1
RW wm+1 RW rn+1
RW wm+2 When each RW rn+2 When each
RW wm+3 command (refer to RW rn+3 command (refer to
RW wm+4 the each command RW rn+4 the each command
RW wm+5 details) occupies 2 RW rn+5 details) occupies 2
RW wm+6 Nodes: 8 points. RW rn+6 Nodes: 8 points.
RW wm+7 RW rn+7
RW wm+8 RW rn+8
RW wm+9 When 3 Nodes are RW rn+9 When 3 Nodes are
RW wm+A occupied: 12 points RW rn+A occupied: 12 points
RW wm+B RW rn+B
RW wm+C RW rn+C
RW wm+D When 4 Nodes are RW rn+D When 4 Nodes are
RW wm+E occupied: 16 points RW rn+E occupied: 16 points
RW wm+F RW rn+F

Note: Concerning the characters m and n:


The chart here shows how the Remote Register’s 4h units are calculated.

Machine No. m n
1 0 100
2 4 104
3 8 108
~ ~ ~

*1 Error code will be set only when errors occur.


Reference 9.2.6 Error Codes

9-2-14 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„Signal Details
The following drawing shows the PLC’s CPU and Master Node Buffer
Memory, in addition to the GP’s System Data Area.

PLC (Sequencer) GP (System Area)


CPU Master Node Buffer Memory
Address Remote Input (RX) Remote Input (RX)
E0 H RX00 ~ RX0F RX00 ~ RX0F
E1 H RX10 ~ RX1F RX10 ~ RX1F
E2 H RX20 ~ RX2F RX20 ~ RX2F
E3 H RX30 ~ RX3F RX30 ~ RX3F

Address Remote Output (RY) Remote Output (RY)


160 H RY00 ~ RY0F RY00 ~ RY0F
161 H RY10 ~ RY1F RY10 ~ RY1F
162 H RY20 ~ RY2F RY20 ~ RY2F
163 H RY30 ~ RY3F RY30 ~ RY3F

Address Remote Register (RWw)


D119 1E0 H RWw0
D120 1E1 H RWw1
D121 1E2 H RWw2 System Area
D122 1E3 H RWw3 0
D123 1E4 H RWw4 1
D124 1E5 H RWw5 2
D125 1E6 H RWw6 3
D126 1E7 H RWw7

Address Remote Register (RWr)


D219 2E0 H RWr0 2028
D220 2E1 H RWr1 2029
D221 2E2 H RWr2 2030
D222 2E3 H RWr3 2031
D223 2E4 H RWr4
D224 2E5 H RWr5
D225 2E6 H RWr6
D226 2E7 H RWr7

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.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-15


9.2 Remote Device Station Chapter 9 CC-Link

„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.

‹Initial Setting Command


Command details and sequence program examples are given below.
In each of the example sequence programs, the GP unit node number is 1, and the
occupied node is 2.
Address Contents
RWwm (H) 1: Initial Settings
RWwm (L) 1: Use Command Monitor Mode
2: Use Ordinary Monitor Mode
RWwm +1 to RWwm +F Cannot be used
RWrn to RWrn +F Cannot be used

The Initial Setting command (either Ordinary or Command Monitor)


can also be designated via the GP’s OFFLINE mode. However, if
this command is designated via a ladder program, the ladder
program has priority. If no ladder program settings are present, the
OFFLINE mode settings are enabled.

< 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

9-2-16 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„ Continuous Read Command


Address Contents
RWwm (H) 2: Continuous Read
RWwm (L) 1-14: No. of Words (W/4 occupied nodes: max. 14
points, w/3 occupied nodes: max. 10 points, w/2
occupied nodes: max. 6 points)
RWwm +1 0 to 2031: GP System Area's designated address
RWwm +2 to RWwm +F Cannot be used
RWrn to RWrn +D Reads out each piece of word data from the GP System
Area's designated address.
RWrn +E to RWrn +F Cannot be used

< 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 ]

| ( Sets 2 : Continuous Read(H), and 6 : no. of points(L) )


[ MOV K0 D120 ]
| ( Designates Address 0 in GP Memory)
[ TO H0 H1E0 D119 K2 ]
| ( Saves above settings to the buffer memory)
[ MOV K1 D149 ]
|
[ TO H0 H163 D149 K1 ]
| (GP Request Flag ON)
[ FROM H0 H2E0 D229 K6 ]
( Saves Continuous Read values in device D229)

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)

X 6 (Data Link normal startup completed using buffer memory’s parameter)


| | [ SET M110 ]
M 9 0 3 6 (Normally ON)
| | [ FROM H0 HE3 D1000 K1 ]
| (Saves Data stored in Buffer memory to D1000)
[ SFR D1000 K5 ]
(Shifts all data 5 bits to the right) (K 6)
[ =H45 D1000 ] [MOV K518 D119 ]
(H 2 3 ) | (Designates 6 words for Continuous Read)
(Touch ON Completed Flag) [MOV K13 D120 ]
| (K 1 0) (Set address13 in the GP internal memory)
[ TO H0 H1E0 D119 K2 ]
| ( Saves above settings to buffer memory)
[MOV K1 D149 ]
|
[ TO H0 H163 D149 K1 ]
(GP Request Flag ON)

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-17


9.2 Remote Device Station Chapter 9 CC-Link

„ Random Read Command


Address Contents
RWwm (H) 3: Random Read
RWwm (L) 1-14: No. of Words (W/4 occupied nodes: max. 14
points, w/3 occupied nodes: max. 10 points, w/2
occupied nodes: max. 6 points)
RWwm +1 to RWrn +F 0 to 2031: GP System Area's designated address
RWrn to RWrn +D Reads out each piece of word data from the GP System
Area's designated address.
RWrn +E to RWrn +F Cannot be used

< Sequence Program Example > ( For random read GP memory address 100)

X6 (Data Link normal startup completed using buffer memory’s parameter)


| | [ SET M110 ]
M110
| | [ MOV K769 D119 ]

| ( Designates 3 : Random Read(H), and 1 : no. of points(L) )


[ MOV K100 D120 ]
| ( Designates address 100 in the GP internal Memory)
[ TO H0 H1E0 D119 K2 ]
| ( Saves above settings to buffer memory)
[ MOV K1 D149 ]
|
[ TO H0 H163 D149 K1 ]
| (Display Request Flag ON)
[ FROM H0 H2E0 D229 K1 ]
( Saves Random Read values in device D229)

9-2-18 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„ Continuous Write Command


Address Contents
RWwm (H) 4: Continuous Write
RWwm (L) 1-14: No. of Words (W/4 occupied nodes: max. 14
points, w/3 occupied nodes: max. 10 points, w/2
occupied nodes: max. 6 points)
RWwm +1 0 to 2031: GP System Area's designated address
RWwm +2 to RWwm +F Write data
RWrn to RWrn +F Cannot be used

Data cannot be written to the Link area.

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

X6 (Data Link normal startup completed using buffer memory’s parameter)


| | [ SET M110 ]
M110
| | [ MOV K1030 D119 ]

| (Designates 4 : Continuous Write(H), and 6 : no. of points(L) )


[ MOV K2026 D120 ]
| (Designates addresses in GP memory)
[ MOV K1 D121 ]
| (Write 1 to address 2026 in GP memory)
[ MOV K2 D122 ]
| (Write 2 to address 2027 in GP memory)
[ MOV K3 D123 ]
| (Write 3 to address 2028 in GP memory)
[ MOV K4 D124 ]
I (Write 4 to address 2029 in GP memory)
[ MOV K5 D125 ]
| (Write 5 to address 2030 in GP memory)
[ MOV K6 D126 ]
| (Write 6 to address 2031 in GP memory)
[ MOV K1 D149 ]
|
[ TO H0 H1E0 D119 K8 ]
| ( Saves the above settings to buffer memory)
[ TO H0 H163 D149 K1 ]
(Display Request Flag ON)

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-19


9.2 Remote Device Station Chapter 9 CC-Link

„ Random Write Command


Address Contents
RWwm (H) 5: Random Write
RWwm (L) 1-7: No. of Words (W/4 occupied nodes: max. 7 points,
w/3 occupied nodes: max. 5 points, w/2 occupied
nodes: max. 3 points)
RWwm +1 0 to 2031: GP System Area's designated address
RWwm +2 Write data
-
RWwm +D 0 to 2031: GP System Area's designated address
RWwm +E Write data
RWwm +F Cannot be used
RWrn to RWrn +3 Cannot be used

Data cannot be written to the Link area.

< Sequence Program Example > (For random writing to address 0, 1100 and 1979
in GP memory. This example uses Write data
1,2, and 3.)

X6 (Data Link normal startup completed using buffer memory’s parameter)


| | [ SET M110 ]
M110
| | [ MOV K1283 D119 ]

| (Designates 5 : Random Write(H), and 3 : no. of points(L) )


[ MOV K0 D120 ]
| (Designates address 0 in GP memory)
[ MOV K1 D121 ]
| (Write 1 to address 0 in GP memory)
[ MOV K1100 D122 ]
| (Designates address 1100 in GP memory)
[ MOV K2 D123 ]
| (Write 2 to address 1100 in GP memory)
[ MOV K1979 D124 ]
I (Designates address 1979 in GP memory)
[ MOV K3 D125 ]
| (Write 3 to address 1979 in GP memory)
[ TO H0 H1E0 D119 K7 ]
| ( Saves above settings to buffer memory)
[ MOV K1 D149 ]
|
[ TO H0 H163 D149 K1 ]
(Display Request Flag ON)

9-2-20 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„ Register Monitor Command


Address Contents
RWwm (H) 6: Register Monitor
RWwm (L) 1-14: No. of Words (W/4 occupied nodes: max. 14
points, w/3 occupied nodes: max. 10 points, w/2
occupied nodes: max. 6 points)
RWwm +1 to RWwm +F 0 to 2031: GP System Area's designated address
RWrn to RWrn +F Cannot be used

< Sequence Program Example > (When setting GP memory addresses 0, 100, 200,
1000, 1500 and 2031 for Register Monitor)

X6 (Data Link normal startup completed using buffer memory’s parameter)


| | [ SET M110 ]
M110
| | [ MOV H606 D119 ]

| (Designates 6 : Register Monitor(H), and 6 : no. of points(L))


[ MOV K0 D120 ]
| (Designates Address 0 in GP memory)
[ MOV K100 D121 ]
| (Designates Address 100 in GP memory)
[ MOV K200 D122 ]
| (Designates Address 200 in GP memory)
[ MOV K1000 D123 ]
| (Designates Address 1000 in GP memory)
[ MOV K1500 D124 ]
I (Designates Address 1500 in GP memory)
[ MOV K2031 D125 ]
| (Designates Address 2031 in GP memory)
[ TO H0 H1E0 D119 K7 ]
| (Saves above settings in buffer memory)
[ MOV K1 D149 ]
|
[ MOV K2 D148 ]
|
[ TO H0 H163 D149 K1 ]
| (Display Request Flag ON)
[ FROM H0 H2E0 D229 K6 ]
(Saves values stored in 6 word units from D229)
M 9 0 3 6 (Normally ON)
| | [ FROM H0 HE3 D1000 K1 ]
(Saves Display Completed Flag to D1000)
• When using Monitor Request Flag (during Monitoring) refer to the Sequence Program
Example below.

[ =K2049 D1000 ] [ TO H0 H163 D148 K1 ]


( When Display Complete Flag is ON) (Display Monitor Request Flag ON)

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-21


9.2 Remote Device Station Chapter 9 CC-Link

„ Register Periodic Write Command


Address Contents
RWwm (H) 8: Register Periodic Write
RWwm (L) 1-7: No. of Words (W/4 occupied nodes: max. 7 points,
w/3 occupied nodes: max. 5 points, w/2 occupied
nodes: max. 3 points)
RWwm +1 to RWwm +F 0 to 2031: GP System Area's designated address
RWrn to RWrn +F Cannot be used

Data cannot be written to the Link area.

< Sequence Program Example > (When setting addresses 0, 1100 and 2031 in GP
memory as Register Periodic Write)

[=K0 D1000 ] [ MOV K2051 D119 ]

| (Designates 8 : Register Periodic Write(H), and 3 : no. of points(L) )


[ MOV K0 D120 ]
| (Designate address 0 in GP memory)
[ MOV K1100 D121 ]
| (Designate address 1100 in GP memory)
[ MOV K2031 D122 ]
| (Designate address 2031 in GP memory)
[ TO H0 H1E0 D119 K4 ]
| ( Saves above settings in buffer memory)
[ MOV K1 D149 ]
I
[ MOV K4 D148 ]
|
[ TO H0 H163 D149 K1 ]
(Display Request Flag ON)

M 9 0 3 6 (Normally ON)
| | [ FROM H0 HE3 D1000 K1 ]
(Saves buffer contents <Display Complete Flag> to D1000)

[ =K2049 D1000 ] [ TO H0 H163 D148 K1 ]


( When Display Complete Flag is ON) (Display Periodic Write Request Flag ON)

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)”

9-2-22 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

9.2.5 Occupied Node

„ 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

• Shaded areas are used when 2 to 4 nodes are used on common.


Note:
• “a” means a Start Address.( a³ 20)
• “System area” is used for writing GP display switching data/ error data. The
type of data written is defined in each address. The contents of this area are
the same as the Memory Link Type. Reference Refer to 3.1.2 Contents
and Range of System Data Area.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-23


9.2 Remote Device Station Chapter 9 CC-Link

„ 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

• Shaded areas are used when 2 to 4 nodes are used on common.


Note: • “a” means a Start Address.( a³ 20)
• “System area” is used for writing GP display switching data/ error data. The
type of data written is defined in each address. The contents of this area are
the same as the Memory Link Type. Reference Refer to 3.1.2 Contents
and Range of System Data Area.

9-2-24 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Chapter 9 CC-Link 9.2 Remote Device Station

„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

• Shaded areas are used when 2 to 4 nodes are used on common.


Note: • “a” means a Start Address.( a³ 20)
• “System area” is used for writing GP display switching data/ error data. The
type of data written is defined in each address. The contents of this area are
the same as the Memory Link Type. Reference Refer to 3.1.2 Contents
and Range of System Data Area.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9-2-25


9.2 Remote Device Station Chapter 9 CC-Link

9.2.6 Error Code

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

If a command error occurrs while exclusive command monitor is used, the GP


will automatically set the error codes above in RWr, then turn ON the Error
Status Flag “RX(m+n)A” and the Display Complete Flag “RX(m+n)0” .

‹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

9-2-26 GP-PRO/PBIII for Windows Device/PLC Connection Manual

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy