Applies to:
PcVue version 7.20a onwards. |
||
|
||
Summary:
When you run PcVue in simulation mode, the values of Database bit and register variables will vary automatically. |
||
|
||
Details:
There are two ways of doing this:
Using the switch -simu To run PcVue in simulation mode, such as for demonstration:
Using the PROTOC.SIM file Caution: Since PcVue version 16, protoc.dat and protoc.sim files have been removed. It is now possible to manipulate protocols by editing CimWayProtocols.xml. Don’t forget to create a backup before any modification. This CIMWAY-related method consists of replacing the contents of the file PROTOC.DAT with those of PROTOC.SIM.
Internal variables and OPC variables are unaffected.
For details, see the article How to identify protocol .DLL files used in a project. For instance, if you use the Open Modbus TCP/IP protocol, the protocol number is 263.
PROTOCOL,263,20,CWSMNG.DLL with: PROTOCOL,263,10,CWSIMU.DLL
PROTOCOL,263,20,CWSMNG.DLL with: PROTOCOL,263,10,CWPSIM.DLL
In the HMI, you should then see all displayed Database (but not internal) variables behave as follows:
Changing a variable’s default behaviour You can modify the default manner in which a variable behaves in simulation mode.
[DATA] STEP=1 [FRAME] DELAY_WAIT_READ=150 DELAY_WAIT_WRITE=150
For further information In the main Help folder Installing the Software, the topic Command Line Options explains the use of command line switches. |
||
|
||
|
Created on: 26 Nov 2010 Last update: 13 May 2024