Omron CP1E - INTRODUCTION Introduction Manual page 105

Cp1l/cp1e cpu unit
Hide thumbs Also See for CP1E - INTRODUCTION:
Table of Contents

Advertisement

Channel Data Notation
Channel data is represented by 4 hexadecimal digits, derived from 16 binary digits,
representing the ON/OFF state of the 16 bits.
In other words, for each 4 bits, the sum of ON bits are calculated and expressed as
a single digit.
Bit
Bit value
Content
(1=ON,
0=OFF)
Digit value
The above channel will be expressed as "0F7C (Hex)".
Constants Notation
Constants used in CP1L or CP1E instructions are represented as follows.
Notation
#0000 to 9999 (BCD)
#0000 to FFFF (Hex)
&0 to 65535
Instruction Execution Conditions
There are 2 types of instructions: cyclic instructions, and differentiated instructions.
• Cyclic Instructions
The instruction is executed on each cycle, for as long as the execution condition
is ON.
Example
W00000
• Differentiated Instructions
The instruction is executed only once (i.e. on 1 cycle only) when the execution
condition turns ON.
The instruction name is prefixed with an "@".
Example
W00001
Some instructions cannot be specified as a differentiated instruction (with the "@"
prefix). If such is the case, use the UP(521)/DOWN(522) or
DIFU(013)(differentiated UP)/DIFD(014)(differentiated DOWN) instructions.
MSB
(Most Significant Bit)
15
14
13
12
11
10
3
2
1
0
3
2
2
2
2
2
2
2
0
0
0
0
1
1
0
F
Timer/counter values, BCD arithmetic instruction, etc.
Comparison data for comparison instructions, transfer data,
BIN arithmetic instructions, etc.
Unsigned decimal notation
(Available in certain special instructions only. Can be loaded
into CX-Programmer by converting to and from hex digits.)
On each cycle for which work area W00000 is
MOV(021)
ON, data in holding area H010CH is transferred
H010
D00010
to DM D00010.
When work area W00001 switches from OFF to
@MOV(021)
ON, data in holding area H020CH is transferred
H020
D00020
to DM D00020.
A-1 Channel/Relay Numbers
(Least Significant Bit)
09
08
07
06
05
04
1
0
3
2
1
0
2
2
2
2
2
2
1
1
0
1
1
1
7
Content/Purpose
SYSMAC CP1L/CP1E Introduction Manual
LSB
03
02
01
00
3
2
1
0
2
2
2
2
1
1
0
0
C
103
A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents