Programming manual of IVC series small PLC
1. In the first user-program scan cycle, assign elements D100~D115 with values to generate the table for comparison.
2. When M0 and X6 are both ON, C244 will count when X0 changes from OFF to ON (for the input frequency, see 错误!未找
到引用源。错误!未找到引用源。 ). When C244 changes from 999 to 1000, the C244 contact will be set; when C244 changes
from 1001 to 1000, the C244 contact will be reset. When the C244 contact drives Y10, the execution of Y10 will be determined
by the user program scan cycle.
3. When M1 is ON, and the DHSP instruction meets the requirements in the preceding "Note", the compare will start with the
first record. The compare with the second record will not start until the first compare is over and the output data has been
output to SD180&SD181. After the compare with the last record is over, the compare with the first record will start again, and
SM185 will be set. SD184 is the SN of the present record, and SD182&SD183 are the present data for comparison. The output
data will be output to SD180&SD181 immediately, regardless of the scan cycle. If you want to stop the at the last record, set the
output data of the last record to 0.
4. When M2 is ON, and SM244 is ON, C244 will count down. When M2 is OFF, and SM244 is OFF, C244 will count up.
5. When X6 is OFF, C244 is invalid.
6. When M0 and X6 are both ON, if X2 is ON, C244 will be cleared, and the C244 contact will be reset.
6.10.9 SPD: Pulse detection instruction
LAD:
IL: SPD (S1) (S2) (D)
Operand Type
S1
BOOL
S2
WORD Constant
D
WORD
Operand description
S1: input point. Range: X0~X5.
Applicable elements
X
KnX
KnY
KnM
KnS
KnLM KnSM
Chapter 6 Application instructions
LD
SM1
DMOV 100 D100
MOV
0
D102
MOV
1
D103
DMOV 200 D104
MOV
0
D106
MOV
2
D107
DMOV 300 D108
MOV
0
D110
MOV
3
D111
DMOV
100 D112
MOV
0
D114
MOV
4
D115
LD
M0
HCNT
C244 1000
LD
M1
DHSP
D100 4 C244
LD
M2
OUT
SM244
LD
C244
OUT
Y10
LD
M3
PLSY
SD180 0 Y0
Applicable to
IVC1 IVC1S IVC1L IVC2L IVC2H
Influenced flag bit
Program steps
7
D
SD
C
T
D
S2: time unit for input point detection. Unit: ms. Operand
S2>0.
148
Indexed
addressing
V
Z
R
√
V
R
√
Need help?
Do you have a question about the IVC2H and is the answer not in the manual?