Initer: Initialize Extension File Register - INVT IVC2H Programming Manual

Small plc
Table of Contents

Advertisement

Programming manual of IVC series small PLC
2. The value in S3 must be the starting element number of the stage, as shown below:
Starting element
Stage No.
No.
0
R0
1
R2048
2
R4096
3
R6144
4
R8192
5
R10240
6
R12288
7
R14336
3. Under memory hardware write protection, report memory card operation error.
4. Format of login data
S3~S3+S2-1
S3+S2~S3+2S2-1
S3+2S2~S3+3S2-1
............
S3+1926*S4-1
~S3+2048*S4-1
Example

6.20.5 INITER: Initialize extension file register

LAD:
IL: INITER (S1) (S2)
Operand Type
S1
INT
S2
INT Constant
Operand description
S1: extension register unit in the same address as extension
file register unit to be initialized (only designate the starting
address of the stage)
S2: stage number of extension register and extension file
register to be initialized (S2=1)
Note
1. The value in S1 must be the starting element number of the stage, as shown below:
Starting element
Stage No.
0
1
R2048
2
R4096
3
R6144
Range of write memory
card R backup area
R0~R2047
R2048~R4095
R4096~R6143
R6144~R8191
R8192~R10239
R10240~R12287
R12288~R14335
R14336~R16383
st
Storage address of the 1
login data
S3~S3+S2-1
nd
Storage address of the 2
login data
S3~S3+S2-1
............
Control area of write location
Each time use 1 word write area,
change ON to OFF in turn from 0 bit of
S3+1926*S4-1. When all
S3+1926*S4-1 become OFF, use next
element S3+1926*S4.
Range of write memory
No.
card R backup area
R0
R0~R2047
R2048~R4095
R4096~R6143
R6144~R8191
Starting element
Stage No.
8
9
10
11
12
13
14
15
D=S2
Data write area
D=2S2
1926 * S4
D=3S2
......
Control area
122 * S4
LD M1
LOGR
D0 5 R0 1 D100
When M1=ON, log in the data of D0~D4 in R0~R2047 at
stage 0, and record the login data number in D100.
Applicable to
Influenced flag bit
Program steps
Applicable elements
Function description
1. Initialize S2 stage extension file register starting with S1 in
memory and write 0xFFFF;
2. The initialization is executed in stages.
Starting element
Stage No.
8
9
10
11
Chapter 6 Application instructions
Range of write memory
No.
card R backup area
R16384
R16384~R18431
R18432
R18432~R20479
R20480
R20480~R22527
R22528
R22528~R24575
R24576
R24576~R26623
R26624
R26624~R28671
R28672
R28672~R30719
R30720
R30720~R32767
Storage area of login data
IVC2H
Zero, carry, borrow
5
Range of write memory
No.
card R backup area
R16384
R16384~R18431
R18432
R18432~R20479
R20480
R20480~R22527
R22528
R22528~R24575
213
Indexed
addressing
R

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IVC2H and is the answer not in the manual?

This manual is also suitable for:

Ivc seriesIvc1sIvc2lIvc1Ivc1l

Table of Contents