×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 947095, Entry date: 02/03/2003
(1)
Rate

Sample program: S5 Timer in ProTool/Pro

  • Entry
  • Associated product(s)

QUESTION:
How can I enter S5 Timer values directly in ProTool/Pro?

ANSWER:
More detailed information on the topic of the S5 Timer is also available in the following entries:

  • "Operating the S5 timer via Operator Panel in the controller ", Entry ID 5996891.
  • "Showing an S5TIME variable from a SIMATIC logic control with ProTool/Pro", Entry ID 9123496 
  • "Entering an S5TIME variable in ProTool/Pro", Entry ID 9125571  

Function description:
This example has been implemented using scripts. The value to be converted is captured via a FLOAT input field and converted into an integral number using a script. This number is then transferred to the controller. What you have to pay attention to here are the limits of the S5 Timer. The scripts used execute a linear scaling with 1000, which is realized by the tags "lof_E_intern", "flo_EA_inter","time_E_DW0" and "time_EA_DW0". The script link is in the Properties of the tags in the "Functions" tab.

The project file for ProTool/Pro V5.10:
This is a PC project that has been created with ProTool/Pro V5.1. Copy the "Real2TimePDB.exe" file into a separate directory and then unpack it with a double-click. You can then use ProTool/Pro V 5.10 or higher to open and process this project.

  Real2TimePDB.exe ( 34 KB )  

The project file for ProTool V6.0 SP1a:
This is an MP270B project that has been created with ProTool/Pro V6.0 SP1a. Copy the "MP270B_RealToTime.exe" file into a separate directory and then unpack it with a double-click. You can then use ProTool V6.0 SP1a or higher to open and process this project.

  MP270B_RealToTime.exe ( 41 KB )  

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.