Delta DVP-ES2 User Manual Page 240

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 239
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming
3-124
API Mnemonic Operands Function
53
D HSCS
High Speed Counter
Set
Controllers
ES2/EX2 SS2
SA2
SE
SX2
Bit Devices Word devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S
1
* * * * * * * * **
S
2
*
D * * *
DHSCS: 13 steps
PULSE 16-bit 32-bit
ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2 ES2/EX2 SS2
SA2
SE
SX2
Operands:
S
1
: Comparative value S
2
: No. of high-speed counter D: Compare result
Explanations:
1. Functions related to high-speed counters adopt an interrupt process; therefore, devices
specified in D which indicates comparison results are updated immediately. This instruction
compares the present value of the designated high-speed counter S
2
against a specified
comparative value S
1
. When the current value in counters equals S
1
, device in D will be ON
even when values in S
1
and S
2
are no longer equal.
2. If D is specified as Y0~Y3, when the instruction is executed and the count value equals to S
1
,
the compare result will immediately output to the external outputs Y0~Y3. However, other Y
outputs will still be updated till the end of program. Also, M and S devices, not affected by the
program scan time, will be immediate updated as the Y devices specified by this instruction.
3. Operand D can designate I00, =1~8
4. High speed counters include software high speed counters and hardware high speed
counters. In addtiion, there are also two types of comparators including software
comparators and hardware comparators. For detailed explanations of high speed counters
please refer to section 2.9 in this manual.
5. Explanations on software comparators for DHSCS/DHSCR instruction:
¾ There are 6 software comparators for the high-speed compare Set/Reset.
¾ There are 6 software comparators available corresponding to associated high speed
counter interrupts. Numbers of the applied interrupts should also be specified correctly
in front of the associated interrupt subroutines in the program.
¾ When programming DHSCS and DHSCR instructions, the total of Set/Reset
comparisons for both instructions can not be more than 6, otherwise syntax check error
will occur.
Page view 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 701 702

Comments to this Manuals

No comments