hit counter script

Forcing Variables In The Cpu - Siemens SIMATIC S7-1200 Easy Book Manual

Table of Contents

Advertisement

Note
The digital I/O points used by the high-speed counter (HSC), pulse-width modulation (PWM),
and pulse-train output (PTO) devices are assigned during device configuration. When digital
I/O point addresses are assigned to these devices, the values of the assigned I/O point
addresses cannot be modified by the Force function of the watch table.
With a watch table, you can monitor or modify the values of the individual tags. You can also
force a tag to a specific value. You can specify to monitor or modify the tag at the beginning
or the end of the scan cycle, when the CPU changes to STOP mode, or "permanently" (with
the value not being reset after a STOP to RUN transition).
To monitor the tags, you must have an online connection to the CPU. The following options
are available for modifying tags:
● "Modify now" immediately changes the value for the selected addresses for one scan
● "Modify with trigger" changes the values for the selected addresses.
● "Enable peripheral outputs" allows you to turn on the peripheral outputs when the CPU is
The various functions can be selected using the buttons at the top of a watch table. Enter the
tag name to monitor and select a display format from the dropdown selection. With an online
connection to the CPU, clicking the "Monitor" button displays the actual value of the data
point in the "Monitor value" field.
8.7

Forcing variables in the CPU

A watch table provides a "force" function that overwrites the value for an input or output point
to a specified value for the peripheral input or peripheral output address. The CPU applies
this forced value to the input process image prior to the execution of the user program and to
the output process image before the outputs are written to the modules.
● Prior to the execution of the scan, the CPU overwrites the value of the peripheral input
● At the end of the scan, the CPU overwrites the output values generated by the user
Easy Book
Manual, 05/2009, A5E02486774-01
cycle.
This function does not provide feedback to indicate that the selected addresses were
actually modified. If feedback of the change is required, use the "Modify now" function.
in STOP mode. This feature is useful for testing the wiring of the output modules.
with the forced value. The user program uses the forced value in processing.
program with any forced value specified for the peripheral outputs. The forced value
appears at the physical output and is used by the process.
To create a watch table:
1. Double-click "Add new watch table" to open a new
watch table.
2. Enter the tag name to add a tag to the watch table.
Online functionality
8.7 Forcing variables in the CPU
95

Advertisement

Table of Contents
loading

Table of Contents