6 - 30
6.3 PLC Side Setting
6.3.2 Connecting to CC-Link module (QnA Series)
(2) Setting from sequence program
The parameter is written to the buffer memory, and the data link is automatically started when PLC
CPU status changes from STOP to RUN.
(a) CC-Link module I/O signal
Control & Communication Link System Master/Local Module Type AJ61QBT11/
A1SJ61QBT11 User's Manual
(b) Device used by user
(c) Buffer memory settings used in the present example
*1 Details for the station data are shown below.
For 1) and 2), set according to the station number setting switch of the CC-Link communication unit and condition
setting switches (SW2).
For 3), the setting is fixed.
1) Station No. (set it according to the station number setting switch.)
01
H to 40H : Station No. 1 to Station No. 64
2) Number of stations occupied (set it according to the condition setting switches (SW2).)
1
H: Exclusive station 1
2
H: Exclusive station 2
3
H: Exclusive station 3
4
H: Exclusive station 4
3) Station type (2
H: Set it to intelligent device station.)
0
H: Remote I/O station
1
H: Remote device station
2
H: Intelligent device station (Incl. local station)
Device Application
M100, M101 Flag for parameter setting
M102, M103 Flag for data link startup
D0 Number of connected modules
D1 Number of retry
D2 No. of automatic return stations
D3 Operation specification in the case of CPU failure
D4 Reserved station specification (Station No. 1 to Station No. 16)
D5 Error invalid station specification (Station No. 1 to Station No. 16)
D6 Station data (first module)
D400 Error code in the case of data link startup failure
Buffer memory address
Item Setting
Decimal (Hexadecimal)
1 (1H) Number of connected modules 1 (1 module)
2 (2H) Number of retry 3 (3 times)
3 (3H) Number of automatic return stations 1 (1 station)
6 (6H) Operation specification in the case of CPU failure 0 (stop)
16 (10H) Reserved station specification (Station No. 1 to Station No. 16) 0 (No specification)
20 (14
H) Error invalid station specification (Station No. 1 to Station No. 16) 0 (No specification)
32 (20H)
Station data (first module)
*1
2101H
b15 b12to b11 b8to b7 to b0
3) 2) 1)