Siemens SIMATIC S7 System Manual page 811

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

D.14 SMB36-SMB45 (HSC0), SMB46-SMB55 (HSC1), SMB56-SM65 (HSC2), SMB136-SMB145 (HSC3), SMB146-SMB1
S7-200 SMART
SM address
symbol name
HSC0_CV
SMD38
HSC0_PV
SMD42
Table D- 10
HSC1 configuration and operation
S7-200 SMART
SM address
symbol name
HSC1_Status
SMB46
SM46.0–SM46.4
HSC1_Status_5
SM46.5
HSC1_Status_6
SM46.6
HSC1_Status_7
SM46.7
HSC1_Ctrl
SMB47
SM47.0-SM47.2
HSC1_Dir
SM47.3
HSC1_Dir_Update
SM47.4
HSC1_PV_Update
SM47.5
HSC1_CV_Update
SM47.6
HSC1_Enable
SM47.7
HSC1_CV
SMD48
HSC1_PV
SMD52
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Special memory (SM) and system symbol names
Description
HSC0 new current value
You use SMD38 to set HSC0 current value to any value you choose. To
update the current value, write the new current value to SMD38; write 1 to
SM37.6; and execute the HSC instruction. The instruction then writes the
new current value to HSC0's current count register.
HSC0 new preset value
You use SMD42 to set HSC0 preset value to any value you choose. To
update the preset value, write the new preset value to SMD42; write 1 to
SM37.5; and execute the HSC instruction. The instruction then writes the
new preset value to HSC0's preset register.
Description
HSC1 counter status
Note: Counter status bits are valid only while the CPU is executing an inter-
rupt routine that a high-speed counter event triggered.
Reserved
HSC1 current counting direction status bit: TRUE: Counting up
HSC1 current value equals preset value status bit: TRUE: Equal
HSC1 current value is greater than preset value status bit: TRUE: Greater
than
HSC1 control
Reserved
HSC1 direction control bit: TRUE: Count up FALSE: Count down
HSC1 update direction: TRUE: update direction
HSC1 update preset value: TRUE: Write new preset value to HSC1 preset
HSC1 update current value: TRUE: Write new current value to HSC1 cur-
rent
HSC1 enable bit: TRUE: enable HSC FALSE: disable HSC
HSC1 new current value
You use SMD48 to set HSC1 current value to any value you choose. To
update the current value, write the new current value to SMD48; write 1 to
SM47.6; and execute the HSC instruction. The instruction then writes the
new current value to HSC1's current count register.
HSC1 new preset value
You use SMD52 to set HSC1 preset value to any value you choose. To
update the preset value, write the new preset value to SMD52; write 1 to
SM47.5; and execute the HSC instruction. The instruction then writes the
new preset value to HSC1's preset register.
811

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents