EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Technology instructions
10.1 Counting (High-speed counters)
S7-1200 Programmable controller
584 System Manual, V4.2, 09/2016, A5E02486680-AK
10.1.4
Legacy CTRL_HSC (Control high-speed counter) instruction
10.1.4.1
Instruction overview
Table 10- 12 CTRL_HSC instruction (For general purpose counting)
LAD / FBD
SCL
Description
"CTRL_HSC_1_DB" (
hsc:=W#16#0,
dir:=False,
cv:=False,
rv:=False,
period:=False,
new_dir:=0,
new_cv:=L#0,
new_rv:=L#0,
new_period:=0,
busy=>_bool_out_,
status=>_word_out_);
Each CTRL_HSC (Control high-speed
counter) instruction uses a structure
stored in a DB to maintain counter data.
You assign the DB when the CTRL_HSC
instruction is placed in the editor.
1
When you insert the instruction, STEP 7 displays the "Call Options" dialog for creating the associated DB.
2
In the SCL example, "CTRL_HSC_1_DB" is the name of the instance DB.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals