show the entry list
ES - SIMATIC Manager -- Creating programs -- CFC - Using block libraries
What are the system requirements for using SIMATIC PCS 7 Industry Library V8.0?
What should you watch out for when changing the symbolic addresses of input/output modules?
Why are the inputs of the driver block in the CFC chart no longer interconnected after replacing a HART analog module?
How do you parameterize the PCS 7 APL channel driver so that the output process value is inverted?
How do you configure a Modbus slave using the "RCV_341" (FB 121) PCS 7 block?
Why do I get the signal "QBAD" on my "CH_AI" driver block?
How do you configure the "Sample_T" input?
Why is the module INT_P issuing invalid values at the output?
Why isn’t the CH_AI block not interconnected automatically with the option "Create module driver"?
How can I change the preset message class in standard blocks?
Can blocks from the CFC library for the S7-300 CPUs also be used in a program for an S7-400 CPU?
What is the meaning of the block input VALUE_QC of the CH_DI block?
Why is the simulated value not output on the CH_AI driver block and how can a value still be simulated?
When do you speak of a "self-regulating process" and when of a "non-self-regulating process"?
How do you do a controller optimization with the PCS 7 PID Tuner?
What is the meaning of the parameters "GAIN", "TN" and "TV" with the CTRL_PID block?
Why is there only half the expected current output from each of the analog output modules in the case of redundant modules?
How much memory is used by the SIMATIC PCS 7 V6.0 library blocks and templates in the PLC?
What do I have to take into account to avoid that the actual value overshoots when switching over from hand/track operation to automatic operation of the "CTRL_PID" with activated setpoint ramp?
How can additional message texts - only as event and OS range - be edited in a block that supports messages in SIMATIC PCS 7 V5.x?
When generating the module drivers, how can you clear the message "Necessary files are missing for block CH_AI. Please note that you must install exactly that version of the library from which this block was imported"?
Why does the CH_AI driver report the slave still to be defective (QBAD=1) after failure and return of a PROFIBUS DP slave (e.g. ET 200M)?
How do you interconnect an FM350-2 in PCS 7?
How can you clear the error message "Value BITVAL is not defined in file AL_CHN.xml / CH_DI." in the module driver log?
Why is the simulated value not output on the CH_AI driver block and how can a value still be simulated?
Part number:

Description:
With PCS 7 V5 and higher the "CH_AI" block is used as an analog input driver for the new PCS 7 driver concept.
This block offers the option of simulating the input value.
For this there is an input SIM_ON, with which the simulation is activated. The simulation value is entered at the input SIM_V or done by an interconnection.
If simulation is activated by setting the input "SIM_ON" (SIM_ON = TRUE), then this value is output at output "V".

Problem:
This only works if a valid "MODE" value is at the "MODE" input. This is always the case when the driver block is interconnected with the symbolic measuring point designation (input "VALUE"), the appropriate hardware is configured and the driver wizard has then interconnected the "MODE".
If you insert a new CH_AI block in the CFC chart, then simulation is not possible, because the value 16#0000 0000 is not a valid "MODE".
As can be seen in Figure 1, the value at input "SIM_V" is not output at output "V" despite activated simulation.



This behavior is very unfavorable, for example, when you want to test parts of the user program, but the hardware has not yet been configured. There are two possible remedies:

Either you change the interconnection from the driver block output "V" to another block, with which you can make a value available (e.g. OP_A_LIM). This however has the disadvantage that you later have to "interconnect back again. The risk here is that something will be incorrectly connected or even forgotten altogether.

The simpler method is to enter a valid "MODE" value manually at the input, for example 16#0000 0109. An example is shown in the figure.



Keywords:
Measured value simulation


 Entry ID:7778907   Date:2010-06-21 
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