13 - 5 13 - 5
MELSEC
13 COMMUNICATION BETWEEN THE MASTER STATION AND
INTELLIGENT DEVICE STATION (AJ65BT-R2)
13.4 Creating a Program
Create a program for making the following setting and data transfer to the AJ65BT-R2.
• Initialization of the AJ65BT-R2 ........... Refer to Section 13.4.1.
• Data transmission ............................... Refer to Section 13.4.2.
• Data reception ..................................... Refer to Section 13.4.3.
13.4.1 Initialization of the AJ65BT-R2
The following describes initialization of the AJ65BT-R2
1
, and shows the relation
between the user program on the PC and intelligent device station’s I/O operations.
(The shaded areas indicate the devices that are actually used.)
1: In the AJ65BT-R2 initialization, default values are used for settings other than
those indicated in the buffer memory section of the illustration below.
102H (word/byte unit designation)
0H (transmission area head address designation)
1H (transmission area size designation)
2H (reception area head address designation)
3H (reception area size designation)
11AH (transmission timeout time designation)
mdSend
Buffer memory
111H (reception end data size designation)
112H (reception timeout time designation)
RX4
RX5
:
CC-Link Ver.2 board
Master station (station No. 0)
Personal computer
User program
mdReceive
RX5 (initialization abnormal completion)
:
:
:
RY4
Remote inputs (RX)
Remote outputs (RY)
:
:
:
RY4 (initialization request)
mdSend
:
2)
3)
4)
4)
1)
6)
7)
5)
5)
8)
8)
RX4 (initialization normal completion)
Intelligent device station (station No. 1)
1: When the remote net Ver.2 mode is selected, refer to the figure in Section 4.4.7 (1).
When the remote net additional mode is selected, refer to the figure in Section 4.4.7 (2).
Summary of Contents for Q80BD-J61BT11N
Page 2: ......
Page 34: ...1 10 1 10 MELSEC 1 OVERVIEW MEMO ...
Page 54: ...3 12 3 12 MELSEC 3 SPECIFICATIONS MEMO ...
Page 124: ...5 16 5 16 MELSEC 5 PROCEDURE BEFORE STARTING THE DATA LINK MEMO ...
Page 160: ...9 2 9 2 MELSEC 9 MELSEC DATA LINK LIBRARY MEMO 9 ...
Page 200: ...12 16 12 16 MELSEC 12 COMMUNICATION BETWEEN THE MASTER STATION AND LOCAL STATIONS MEMO ...
Page 355: ...App 93 App 93 MELSEC APPENDIX MEMO ...
Page 361: ......