Driver-specific functions

Previous chapterNext chapter Show allShow all    Hide allHide all

This driver supports the following functions:

Control of the Simulator

Variables of the Simulator change their value in online operation depending on the set "operation mode" between the "lower limit" and the "upper limit" with the "defined step width". The value input at the runtime can occur by way of the common setpoint input (dynamic element, function, etc.). The control of the Simulator Driver for variables is done via predefined markers with fix addresses (the variable name is arbitrary).

Mode

Driver object type: PLC marker
Data type: UINT;
Offset: 0
Signal resolution: 0..3
Value range: 0..3
0 - Simulator stopped
1 - Simulator active (Operation mode of positive slope)
2 - Simulator active (Operation mode of negative slope)
3 - Simulator active (Operation mode of sawtooth)
Default value: 1

Upper limit

Driver object type: PLC marker
Data type: UINT;
Offset: 1
Signal resolution: 0..65535
Value range: 0..65535
Default value 1000

Lower limit

Driver object type: PLC marker
Data type: UINT;
Offset: 2
Signal resolution: 0..65535
Value range: 0..65535
Default value 0

Step width

Driver object type: PLC marker
Data type: UINT;
Offset: 3
Signal resolution: 0..65535
Value range: 0..65535
Default value 10


zenOn6.ini entries

[SIMULATOR]

 

OFFSET=0

Offset for control variables in the simulator

DWBEGIN=

Beginning of the DWORD variable addresses

DWEND=

End of the DWORD variable addresses

FLOATBEGIN=

End of the float variable addresses

FLOATEND=

End of the float variable addresses

UPDATE=

Update rate in milliseconds
(Default = 500 for 0.5 seconds)

BACKUP=1

0: HD variables are not stored on hard disk
1: 1 - HD values are saved on the harddisk (default)

MAXHDVALS=1024

Sets the maximal offsetarea-4 for HD-data. For HD-string the offset has to stay 4 under this value. Default: 1024. Maximum 65535.

 

 

[SIMULATORTREIBER]

Drivername as defined in the Driver Selection

Rampe=0

The mode set in the Runtime. 0 to 3

Obergrenze=65535

The upper limit set in the Runtime.

Untergrenze=0

The lower limit set in the Runtime.

Schrittweite=10

The step width set in the Runtime.