Omron CPM2C Operation Manual page 267

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

Advertisement

Data Memory (DM) Allocation
Write Variable Type Area
(27 words max.)
244
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 read.
(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 read.
(Hex)
The variable addresses are predetermined in each component, so
refer to the component's manual to find the actual variable
address.
When CompoWay/F has been specified as the component communications
protocol, this "write variable type area" contains the variable type and variable
address settings for the SVs that will be written.
Offset
+0
Number of write items
+1
Operation command
+2
Starting address of write data area
+3
Variable 1 type
+4
Variable 1 address
+5
Variable 2 type
:
:
+23
Variable 11 type
+24
Variable 11 address
+25
Variable 12 type
+26
Variable 12 address
Number of Write Items (Offset: +0)
Range
0000 to 0012
Specify the number of variables that you want to write.
(BCD)
For example, the variables set in variable 1 type and variable 2
type will be written if the "number of write items" is set to 0002.
Variables will not be written if the "number of write items" is set to
0000; in this case, only the operation command is valid.
A syntax error will occur if the number of items specified in this
word is not between 0000 and 0012 BCD.
Function
Function
Contents
:
:
Function
Section 7-4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cpm2c

Table of Contents