Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1085

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Network Instructions
Applicable Program Areas
Operands
Note
Block program areas
OK
OK
C: First control word
The five control words C to C+4 specify the number of words being transmit-
ted, the destination, and other settings shown in the following table.
Word
Bits 00 to 07
C
Number of words: 0001 to maximum allowed
C+1
Destination network address:
00 to 7F (0 to 127)
C+2
Destination unit address: 00 to FE
C+3
No. of retries: 00 to 0F (0 to 15)
C+4
Response monitoring time: 0001 to FFFF (0.1 to 6553.5 seconds)
(The default setting of 0000 sets a monitoring time of 2 seconds.)
1. The maximum number of words allowed depends on the network being
used. For a Controller Link, the allowed range is 0001 to 03DE (1 to 990
words).
2. Set the destination network address to 00 to transmit within the local net-
work. When two or more CPU Bus Units are mounted, the network address
will be the unit number of the Unit with the lowest unit number.
3. The following two methods can be used to send data to the host computer
through a serial port with the host link while initiating communications from
the PLC.
a) Set the destination unit address (bits 00 to 07 of C+2) to the unit ad-
dress of the CPU Unit or Serial Communications Unit/Board and set
the serial port number (bits 08 to 11 of C+1) to 1 for port 1 or 2 for port
2.
Unit address
(C+2, bits 00
to 07)
00 hex
CPU Unit
10 hex + unit
Serial Communications
number
Unit (CPU Bus Unit)
E1 hex
Serial Communications
Board (Inner Board)
(CS Series only)
Step program areas
Subroutines
OK
Bits 08 to 11:Serial port number
2, 4
(physical port)
1 hex:
2 hex:
(Do not set 0, 3, or 4.)
Bits 12 to 15: Always 0.
Destination node address:
5
00 to maximum allowed
Bits 08 to 11:
Communications port number (inter-
nal logic port): 0 to 7, Automatic allo-
cation: F
Bits 12 to 15: Response setting
Unit
Serial port number
(C+1, bits 08 to 11)
1 hex
2 hex
1 hex
2 hex
1 hex
2 hex
Section 3-25
Interrupt tasks
OK
Bits 08 to 15
1
(4-digit hexadecimal)
3
Port 1
Port 2
6
7
0: Response requested.
8: No response requested.
Serial port
Built-in RS-
232C port
Peripheral
port
Port 1
Port 2
Port 1
Port 2
1045
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents