2. Prog rammi ng Con cep ts
M N050 03003E F or m ore info rm ati on vi sit:
www.eaton.co m
2-77
1.
M1101 - starts file register function
2.
D1101 - starting address of file register, for ELC-PC/PA/PH controllers: K0~K1599; for ELC-
PV controllers: K0~K9999.
3.
D1102 - number of item to read/write, for ELC-PC/PA/PH controllers: K1~ K1600; for ELC-PV
controllers: K0~K8000.
4.
D1103 - starting address of file register D register, D2000~ D4999
Note:
1.
Reading from file register to data register D will not be executed when D1101 is greater than
1600 in ELC-PC/PA/PH controllers, D1101 greater than 8000 and D1103 smaller than 2000
or greater than 9999 in ELC-PV controllers.
2.
When starting the action to read data from the file register to the data register, the ELC will
stop executing once the address of file register or data register D exceeds the viable address
range.
3.
There are 1600 file registers in ELC-PC/PA/PH controllers and 10000 in ELC-PV controllers.
The file register does not have an exact device number; therefore the read/write function of
file registers has to be executed by instruction API 148 MEMR, API 149 MEMW or through
ELCSoft.
2.17 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I]
N
Master control nested
N0~N7, 8 points
The control point of
master control
nested
P
For CJ, CALL instructions
ELC-PB, ELCB-PB Controllers =
P0~P63 64 points
ELC-PC/PA/PH/PV, ELCM-PH/PA
Controllers = P0~P255, 256 points
The location point of
CJ, CALL
Pointer
I
For inte
rru
pt
Insert external
interrupt
ELC-PB, ELCB-PB Controllers =
I001, I101, I201, I301 4 points
ELC-PC/PA/PH controllers = I001,
I101, I201, I301, I401, I501, total
is 6 points
ELC-PV controllers =
I000/I001(X0), I100/I101 (X1),
I200/I201 (X2), I300/I301 (X3),
I400/I401 (X4), I500/I501 (X5), 6
points (01, rising-edge trigger
,
00, falling-edge trigger
)
ELCM-PH/PA controllers =
I000/I001(X0), I100/I101(X1),
I200/I201(X2), I300/I301(X3),
I400/I401(X4), I500/I501(X5),
I600/I601(X6), I700/I701(X7), 8
points (01, rising-edge trigger
,
00, falling-edge trigger
)
The location point of
interrupt subroutine.
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...