Omron CPM2C Operation Manual page 268

Sysmac series programmable controller
Hide thumbs Also See for CPM2C:
Table of Contents

Advertisement

Data Memory (DM) Allocation
Read Data Area
(26 words max.)
Operation Command (Offset: +1)
Range
0000 or 0001
The write data area's operation command is disabled when 0000 is
specified.
The write data area's operation command is enabled to the compo-
nent when 0001 is specified.
A syntax error will occur if the Operation Command is not 0000 or
0001.
Note There are restrictions on the number of times data can be written to the Tem-
perature Controller's non-volatile memory. When frequently sending data to a
Temperature Controller, either set the Write Command Bit to 0 after writing is
completed, or set the write mode for the Temperature Controller to RAM write
mode. Also, execute commands to select the RAM write mode and backup
mode in only one scan. Some devices will write to non-volatile memory each
time the modes are selected, and the life of the non-volatile memory will be
exhausted much more quickly if selections are made every scan.
Starting Address of Write Data Area (Offset: +2)
Range
0000 to 9999
Specifies the starting DM address in the CPU Unit's DM area con-
(BCD)
taining the data that you want to write to the component.
Variable Types (Offset: +3, +5, ... , +23, and +25)
Use the following equation to calculate the offset for a given variable number:
Offset = 1 + (2 × variable number)
Range
00C0 to 00CF
Sets the type of variable data that you want to write.
(Hex)
The variable types are predetermined in each component, so refer
to the component's manual to find the actual variable type.
A syntax error will occur if the variable type specified in this word is
not between 00C0 and 00CF Hex.
Variable Addresses (Offset: +4, +6, ... , +24, and +26)
Use the following equation to calculate the offset for a given variable number:
Offset = 2 + (2 × variable number)
Range
0000 to FFFF
Sets the variable address of the data that you want to write.
(Hex)
The variable addresses are predetermined in each component, so
refer to the component's manual to find the actual variable
address.
The starting address of the "read data area" is specified in the "read variable
type area." This "read data area" stores the variable data read from the com-
ponent.
Offset
+0
Response monitor
+1
Component status
+2
Variable 1 read data (lower bytes)
+3
Variable 1 read data (upper bytes)
+4
Variable 2 read data (lower bytes)
+5
Variable 2 read data (upper bytes)
:
:
+22
Variable 11 read data (lower bytes)
Section 7-4
Function
Function
Function
Function
Contents
:
:
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm2c

Table of Contents