Schemata

Device-Parameters

Type

Req./Opt.

Description

Name

Req

Name for device like "PLC1". OPC-Client browse this name

Description

Optional

 

AdsPort

Req

Number of ADS-PortID, like 801 for first PLC-runtime system

AdsNetId

Optional

specific ADS-NetId, like "174.12.15.45.1.1" Note:
If not specified or like "0.0.0.0.0.0", the OPC-Server will always communicate to AdsNetId of local ADS-router

AdsTimeout

Optional

ADS timeout in ms for this ADS device

AdsTimeSuspend

Optional

ADS suspend time in ms for this ADS device, if the ads communication fails

AutoCfg

Optional

0 : do not include symbol-file defined under <AutoCfgSymFile>
1 : Include sym-file of TwinCAT-PLC defined under <AutoCfgSymFile>
2 : Include sym-file of TwinCAT-BCxxxx-project defined under <AutoCfgSymFile>
5 : Upload symbolic from ADS-device
7 : Include tpy-file of TwinCAT28-project defined under <AutoCfgSymFile> 8 : Include tpy-file of TwinCAT28-project defined under <AutoCfgSymFile>, but import only symbols with symbol-property "OPC=1"

AutoCfgSymFile

Optional

full path and name of symbol-file to be included like
"C:\Test\demo.sym" or "\\User1\Test\demo.sym" or "C:\User1\Test\demo.tpy"

Signal-Parameters

Type

Req./Opt.

Description

SignalID

Req

unique ID-number which identifies this simulation-signal

SignalDesc

Optional

 

SignalType

Req

0 : Read Count 1 : Write Count
2 : Random
3 : Ramp
4 : Sine
5 : Square
6 : Triangle
7 : Step
8 : Reserver
9 : Step
Read Count : incremented by one every time when the item is readWrite Count : incremented by one every time when the item is writtenRandom: generates random value within the Amplitude range starting with PositionRamp, Sine, Square, Triangle, Step: (periodical signals) Their time behavior is influenced by Period and Phase parameters. Period specifies the signal frequency, while Phase moves the signal origin on the time axisSquare and Triangle signal types have one more parameter: Ratio. Ratio defines Triangle signal steepness, or Square signal H/L proportions. NumSteps parameter of the Step signal defines a number of steps signal amplitude will be divided into.

NumSteps

Optional, depends on <SignalType>

 

Amplitude

Optional, depends on <SignalType>

 

Period

Optional, depends on <SignalType>

 

Phase

Optional, depends on <SignalType>

 

Position

Optional, depends on <SignalType>

 

Ratio

Optional, depends on <SignalType>

 

Conversion-Parameters

Type

Req./Opt.

Description

ConversionID

Req

unique ID-number which identifies this conversion

ConversionDesc

Optional

 

ConversionType

Req

0 : NoConversion
1 : LinearConversion

Clamping

Optional

0 : No clamping 1 : Clamp on EU
2 : Clamp as specifiedIf clamping is active, the data value will be limited to its High clamp/EU value, when it exceeds the upper limit, and similarly with Low clamp parameter.

HighClamp

Optional, depends on <ConversionType>/<Clamping>

1.0 (Default)

LowClamp

Optional, depends on <ConversionType>/<Clamping>

0.0 (Default)

HighEU

Optional, depends on <ConversionType>/<Clamping>

engineering unit (client scale) 1.0 (Default)

LowEU

Optional, depends on <ConversionType>/<Clamping>

engineering unit (client scale) 0.0 (Default)

HighIR

Optional, depends on <ConversionType>/<Clamping>

instrument range (device scale) 10000 (Default)

LowIR

Optional, depends on <ConversionType>/<Clamping>

instrument range (device scale) 0 (Default)