Omron CJ Series Connection Manual page 55

General-purpose serial (rs-232c), corporation displacement sensor
Hide thumbs Also See for CJ Series:
Table of Contents

Advertisement

[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 number + #10
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.
[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.
+0 word
Bit
15
Send area:S
*
*
*
[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)
+0 word
Bit
15
Receive area:R
*
*
*
+0 word
Bit
15
*
Control word:C1
+0 word
Bit
15
*
Control word:C2
+1 word
+2 words
0
15
0
15
*
*
*
*
*
*
*
No. of send area words
+1 word
+2 words
0
15
0
15
*
*
*
*
*
*
*
No. of receive area words
0
*
*
*
Unit address of Destination Device
Serial port No. (Physical port)
0
*
*
*
Communications sequence No.
& 0 to 999(#0000 to 03E7)
+3 words
0
15
0
15
*
*
*
*
*
*
*
Data
+3 words
0
15
0
15
*
*
*
*
*
*
*
Data
9.Program
(n-1) words
...words
0
15
0
*
*
*
*
*
*
*
(m-1) words
...words
0
15
0
*
*
*
*
*
*
*
52

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents