show the entry list
STEP 7 (TIA Portal) -- Working with projects -- Creating and editing projects
How do you do a program upload in STEP 7 (TIA Portal) V12 when the device has been configured withSTEP 7 V11?
Why does the message appear indicating that the path is too long when you open STEP 7 (TIA Portal) V11?
How do you archive projects or single PLC folders in STEP 7 (TIA Portal) V11?
What are the requirements for migrating a STEP 7 V5.x project to STEP 7 Professional (TIA Portal)?
What remedies are available when a project cannot be converted from STEP 7 V10.5 to STEP 7 V11?
How do you export the symbols from one project to another in STEP 7 (TIA Portal) V11?
Which entries are available in the internet concerning migration to STEP 7 V11 and WinCC V11 (TIA Portal)?
How do you access the "Running" bit of S7-1200 timers in STEP 7 V11?
In STEP 7 V11, why are the display texts, titles and comments entered no longer displayed after opening the project in the block editor?
What are the prerequisites for migrating STEP 7 V5.x projects to STEP 7 (TIA Portal) V11?
S7-1200 CPU 12xx -- Operation and maintenance -- Diagnosing errors
How can you prevent the PID Compact controller of the S7-1200 from switching off when the controller is switched off and on again and in the case of invalid process values?
How do you restart a PID controller that has been stopped because of a scan time error or switch off the scan time monitoring?
How do you access the "Running" bit of S7-1200 timers in STEP 7 V11?
How do you access the "Running" bit of S7-1200 timers in STEP 7 V11?
Part number:

Description
After conversion (STEP 7 Basic V10.5 to STEP 7 V11) of S7-1200 projects with timers, the "RU" tag ("RUNNING" in STEP 7 Basic V10.5) can no longer be accessed in the instance data block of the timer.
When you compile your converted S7-1200 project, you get the following error message when you use this tag:
"Accessing private and internal tags is not permitted."


Fig. 01

Instructions
Using the interconnection of the other Boolean tags of the timer instance data block you can simulate the "RU" "Running" bit as below, depending on the type of timer:
 
Timer Interconnection
TP In the case of the "Generate pulse" timer TP the instance DB tag "Q" (output) corresponds to the "Running" bit.


Fig. 02

TON
TONR
In the case of the TON "ON delay" and TONR "Latching ON delay" timers, the "Running" bit results from a link of the instance DB tags "IN" (input) and "Q" as opener.


Fig. 03

TOF In the case of the TOF "OFF delay" timer, the "Running" bit results from a link of the instance DB tags "IN" (input) as opener and "Q".


Fig. 04

Table 01

Creation environment
The pictures in this FAQ were created with STEP 7 V11.

Important
Always use the combination from the instance block tags (and not a buffering of them), because in the case of asynchronous querying the buffer does not necessarily reflect the current state.

Additional Keywords
Timers

 Entry ID:58836417   Date:2012-02-22 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour