![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367424.webp)
379
Overview
Section 7-1
• 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.
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)].
Area
Variables
General I/O A
Variable areas and custom addresses can be set for the following
variables.
• System variables
• Global general variables
• Input variables
• Output variables
• Position data
• Task variables
General I/O B
General I/O C
General I/O D
General I/O E
General I/O F
General I/O G
General I/O H
Name
Function
PORT_A No. of
transferred words
Number of words transferred for general I/O area A
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.)
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...