Omron CS1W-MCH71 Operation Manual page 424

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Overview
• General I/O area allocation is performed using [PORT_* Number of trans-
ferred words], [PORT_* Area type], [PORT_* Direction], and [PORT_*
First address].
• The destination of allocations in the MC Unit is as follows:
When [PORT_* Direction] is 0 (MC Unit to CPU): Output variables
When [PORT_*Direction] is 1 (CPU to MC Unit): Input variables
• The above data is valid only during PC21 bus initialization. It will be
ignored if it is changed after the power is already ON.
Custom I/O Variable Areas (P00004 Bit 8 = 1) (Unit Ver. 2.1 or Later)
As shown in the following table, general I/O areas A to H can be allocated to
any variables in the MC Unit.
Area
General I/O A
Variable areas and custom addresses can be set for the following
variables.
General I/O B
• System variables
General I/O C
• Global general variables
General I/O D
• Input variables
General I/O E
• Output variables
General I/O F
• Position data
General I/O G
• Task variables
General I/O H
For general I/O area A, the number of transferred words is specified with
[PORT_A No. of transferred words (bits 00 to 07 of m+4)] of [General I/O area
range setting] in the allocated DM area, just as when P00004 bit 8 is set to 0.
The area type in the CPU Unit is specified with [PORT_A Area type (bits 08 to
14 of m+4)]. In addition, the transfer direction is specified with [PORT_A
Direction]. The first address in the CPU Unit is specified with [PORT_A First
address (m+5)].
Name
PORT_A No. of
Number of words transferred for general I/O area A
transferred words
1 to 160 words
Port_A Area type
CPU Unit area type for General I/O A:
0: Not used (no transfer).
1: CIO
2: WR
3: DM
4: EM (fixed at bank 0)
5 and higher: Reserved for system.
Port_A Direction
Transfer direction for General I/O A:
0: MC Unit to CPU Unit
1: CPU Unit to MC Unit
Port_A First Address CPU Unit first address for general I/O A:
0000H to (Upper limit varies depending on Port_A Area type.)
Section 7-1
Variables
Function
379

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents