Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are 3 simulator drivers in Ignition, and all can be used to read and write tags without any network or PLC connection. Connecting to them is simple and will give you some values that change on their own.

Connection to a Simulator Device

  1. Go to the Configure section of the Gateway webpage.
     
  2. Scroll down and select OPC UA Server > Device Connections.
     
  3. On the Device Connections page, find the blue arrow and click on Create new Device....
     
  4. Select one of the Simulator: XXX types and click Next.

    There are three modules to choose from

    • SLC
      Contains tags that are stored in files like a SLC device. ie: N7, F8, etc.
    • Generic
      Contains named tags that are stored in folders like a ControlLogix device. ie: Realistic\Realistic3.
    • Dairy Demo
      Contains named tags that are stored in folders like a ControlLogix device. ie: Overview\Refrigeration\HOA.
  5. On the next page, fill in a name and optionally a description.

  6. Click Create New Device.
    The Devices page is displayed showing the new simulator device is successfully created and added to Ignition. The Status will show as Disconnected and then Connected.


Generic Simulator

The generic simulator provides a variety of tags that offer different data types and value generation styles. For example, there are ramps, sine waves, and random values. Additionally, there is a set of static writable tags whose values will persist while the device is running.

There are no configurable settings for the generic simulator.

Expand
titleGeneric Tags list

Generic Simulator tags

Read OnlyStatic values that do not change for read only purpose.
Tag NameValue  
ReadOnlyBoolean1False  
ReadOnlyBoolean2True  
ReadOnlyShort11  
ReadOnlyShort22  
ReadOnlyInteger11  
ReadOnlyInteger22  
ReadOnlyInteger33  
ReadOnlyInteger44  
ReadOnlyInteger55  
ReadOnlyLong11  
ReadOnlyLong22  
ReadOnlyFloat11.1  
ReadOnlyFloat21.2  
ReadOnlyDouble11.1  
ReadOnlyDouble21.2  
ReadOnlyString1ABCDEFG"  
ReadOnlyString2"ZYXWVUT"  
WriteableStatic values that you can read/write to.
TagInitial Value  
WriteableBoolean1False  
WriteableBoolean2False  
WriteableShort10  
WriteableShort20  
WriteableInteger10  
WriteableInteger20  
WriteableLong10  
WriteableLong20  
WriteableFloat10  
WriteableFloat20  
WriteableDouble10  
WriteableDouble2 0  
WriteableString1'' (empty string)  
WriteableString2'' (empty string)  
RandomRandom values updating at some rate, they follow Java Random(rate) - rate is the seed.
Tag NameUpdate Rate  
RandomBoolean110 sec  
RandomBoolean2
RandomBoolean210 sec  
RandomShort1
RandomShort15 sec  
RandomShort2
RandomShort25 sec  
RandomInteger1
RandomInteger11 sec  
RandomInteger2
RandomInteger21 sec  
RandomLong1
RandomLong12 sec  
RandomLong2
RandomLong22 sec  
RandomDouble1
RandomDouble110 sec  
RandomDouble2
RandomDouble210 sec  
SineDifferent sine waves with low, high, and period.
Tag NameLowHigh

Period (Time it takes to go from low to high then back to low)

Sine0-10010060 s
Sine1-101010 s
Sine205015 s
Sine3-406020 s
Sine4-10010040 s
Sine5 
Sine5 -10010060 s
Sine6-101010 s
Sine7.-203015 s
Sine8-406020 s
Sine9-8511540 s
RampRamp signals starting from some value going up to some value at the specified rate. When they reach their upper limit, they are reset to zero.
Tag NameLowHighPeriod (Time it takes to go from low to high)

Ramp0

0100075 s
Ramp1010010 s
Ramp2-2517515 s
Ramp31031020 s
Ramp4040040 s
Ramp5050060 s
Ramp6060012.5 s
Ramp7-569517.5 s
Ramp81081030 s
Ramp9-1089050 s
RealisticValues determined by adding a random number (between -10 and 10) to the current value.
Tag NameLowHighRate of Change
Realistic0-50505000 ms
Realistic1-5050500 ms
Realistic2-50501000 ms
Realistic3-50501500 ms
Realistic4-50502000 ms
Realistic5-50502500 ms
Realistic6-50503000 ms
Realistic7-50503500 ms
Realistic8-50504000 ms
Realistic9-50504500 ms



 

Allen Bradley SLC Simulator

The SLC simulator driver creates a simple device whose address structure mimics a basic SLC structure. These tags are readable and writable.

There are currently no configurable parameters.

 

settings for the generic simulator.


Expand
titleSLC Tags list

SLC Simulator tags

Output fileTag indexesSub TagsSample address 
O00-7ShortO0/O0:3 
I10-7ShortI1/I1:3 
S20-9ShortS2/S2:3 
B30-9ShortB3/B3:3 
T40-9ACC, DN, EN, PRE, TTT4/T4:3/T4:3.ACC
C50-9ACC, CD, CU, DN, OV, PRE, UA, UNC5/C5:3/C53.ACC
R60-9DN, EM, EN, ER, EU, FD, IN, LEN, POS, ULR6/R6:3/R6:3.DN
N70-9Short N7/N7:3 
F80-9Double F8/F8:3 



 

A simulator for use with the legacy IA Dairy Demo project. It has a ControlLogix like structure with Compressor, Tank, Motor tags and more.

The folders are split into an Overview and Refrigeration section with tags multiple levels deep that mimic a UDT in a ControlLogix device.