9
.
Program
52
[C1: Control word 1]
The following three items are set for SCU.
・
Communications port No. (internal logical port): #0 to #7
・
Serial port number (physical port): #1 or #2 (#1: PORT1, #2: PORT2)
・
Unit address of Destination Device: # unit #10
Control word
:
C1
+0 word
*
* * *
0
15
Bit
Unit address of Destination Device
Serial port No. (Physical port)
Communications port No.
(internal logical port)
[C2: Control word 2]
The communications sequence number is set, which is registered as protocol macro data.
For information on the communications sequence number registered in this protocol macro
data, refer to 9.2.1 Communications Sequence Number.
Control word
:
C2
+0 word
* * * *
Communications sequence No.
& 0 to 999
(
#0000 to 03E7
)
0
15
Bit
[S: First send word (send area specification)]
The first word of the words (n) required to send the data is set to S. (Including the S word)
Between #0000 and #00FA (n=&0 and &250) words can be set.
The send data (assigned to a variable) are entered in the words from S+1 to S+(n-1).
If there is no operand specified in the execution sequence, such as a direct or linked word,
set constant #0000 for S.
Send area
:
S
No. of send area words
+0 word
+1 word
+2 words
…
words
(n-1) words
*
*
*
*
*
*
*
*
0
15
Bit
*
*
*
*
*
*
*
*
*
*
*
*
+3 words
*
*
*
*
Data
0
15
0
15
0
15
0
15
0
15
[D: First receive word (receive area specification)]
The number of the received data words (m) is stored in D. (Including the D word) The
received data is stored in the words from D+1 to D+(m-1).
(m=&0 to &250 or #0000 to #00FA)
Receive area
:
R
No. of receive area words
+0 word
+1 word
+2 words
…
words
(m-1) words
*
*
*
*
*
*
*
*
0
15
Bit
*
*
*
*
*
*
*
*
*
*
*
*
+3 words
*
*
*
*
Data
0
15
0
15
0
15
0
15
0
15
Summary of Contents for CJ2H-CPU64 -
Page 81: ...78...
Page 82: ...2016 0616 P652 E1 01...