Omron Sysmac CJ Series Connection Manual page 54

General-purpose serial connection guide (rs-232c)
Hide thumbs Also See for Sysmac CJ Series:
Table of Contents

Advertisement

[C
1: Control word 1]
Set the following 3 items of the SCU U
•Communications port No. (internal logical port): #0 to #7
•Serial port number (physical port): #1 and #2 (#1: PORT1, #2: PORT2)
•Unit address of d
Communications port No. (internal logical
[C2: Control word 2]
S
et
the Communications
For information on the sequence
9.2.1 Communications Sequence N
[S: First send word (send area specification)]
Set the number of words (n) to be sent. (Including the S word.)
Between #0000 and #00FA (&0 and &250) words can be set.
Enter the send data in words from S+1 to S+(n-1).
If there is no operand spe
set the constant #0000
+0 word
Bit
15
*
*
*
Send area: S
[R: First receive word (receive area specification)]
The number of receive data words (m) is automatically stored in R. (Including the R word.)
The received data is stored in the words from R+1 to R+(m-1). (m=&0 to &250 or #0000 to
#00FA)
+0 word
Bit
15
*
*
*
Receive area: R
nit.
estination device: # unit number + #10
Bit
Control word: C1
port)
Sequenc
e No. that was registered as the protocol macro data.
number registered in this protocol macro data, refer to
o.
+0 word
B
it
15
*
Control word 2: C2
cified in the execution sequence, such as a direct or linked word,
for S.
+1 word
+2 words
15
15
0
0
*
*
*
*
*
*
*
No. of send area words
+1 word
+2 words
0
15
0
15
*
*
*
*
*
*
*
No. of receive area words
+0 word
15
0
*
*
*
*
Unit address of destination device
Serial port number (physical port)
0
*
*
*
Communicationssequence No..
&0 to &999 (#0000 to #03E7)
+3 words
15
15
0
0
*
*
*
*
*
*
*
Data
+3 words
0
15
0
15
*
*
*
*
*
*
*
Data
9. Program
(n-1) words
...words
15
0
0
*
*
*
*
*
*
*
...words
(m-1) word
0
15
*
*
*
*
*
*
*
0
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents