Omron trajexia CJ1W-MCH72 Operation Manual page 226

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-184 PLC_EXCHANGE
/i
Type
System command
Syntax
PLC_EXCHANGE(0, area_code)
PLC_EXCHANGE(1, area_code, plc_area, plc_start, tj_area,
tj_start, total_items)
Description
PLC_EXCHANGE(0, ...) prints the mapping of the PLC memory area
specified by area_code to the CJ1W-MCH72 memory. The output of
this command is: area_code, plc_area, plc_start, tj_area, tj_start,
total_items.
PLC_EXCHANGE(1, ...) configures the mapping of the PLC memory to
the CJ1W-MCH72 memory.
Arguments
area_code
The PLC area. Possible values in hexadecimal are:
-
0100..0107 for PLC output area (8 areas available)
-
8100..8107 for PLC input area (8 areas available)
plc_area
The PLC memory area used for data exchange. Possible values in
hexadecimal are:
-
01 : CIO
-
03 : DM
-
04 : WR
-
05 : HR
-
08..14 : EM bank 0..C
plc_start
The start address in PLC memory.
Note: The validity depends on plc_area.
tj_area
The CJ1W-MCH72 memory area used for data exchange. Possible
values are:
-
00 : VR 16-bit signed integer
-
01 : VR 32-bit floating point
-
02 : IN or OP array, depending on direction
-
03 : AIN or AOUT array, depending on direction
-
04 : Axis Status array, only valid if direction is PLC input
tj_start
The tart address in CJ1W-MCH72 memory.
Note: The validity depends on tj_area.
Note: The first 16 entries in the IN array are invalid start addresses.
total_items
The total number of items (words and dwords) to transfer
Note: The validity depends on plc_area and tj_area.
Note: The total number of words configured for all blocks may not
exceed 2000. A floating point value corresponds to 2 words.
Example
No example.
See also
PLC_STATUS
Section 4-2
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents