4 common software blocks, 1 clock (clk), 2 communications (com) – Varec TankGate Interface 8315 Series User Manual

Page 39

Advertising
background image

8315 TGI

Software Description

Varec, Inc.

29

4.4

Common Software Blocks

This section describes Software Blocks included with the base unit of the 8315 TGI.

4.4.1

Clock (CLK)

The Clock point provides access to the System Clock. Standard time format is in the

form of MM/DD/YY HH:MM:SS.

Parameters

The database parameters used by the CLK point are listed and described below:

4.4.2

Communications (COM)

The Communications point reports the status and controls the operation of the

communications interfaces. COM points are automatically created by the system at

initialization.

Parameters

The database parameters used by the COM point are listed and described below:

Configuration Parameters

Function

TZ

Time Zone string

Dynamic Parameters

Function

SysTime

System Time in the form MM/DD/YY HH:MM:SS. Writing to this value will

change the system time

SysTicks

Time if “ticks” format. Ticks are incremented every 10 msec, with the initial

value of 0 equal to Jan. 1, 1970 at 00:00:00.

timezone

Time zone relative to GMT. The timezone is entered in seconds.
Example: Eastern Time Zone = 18000; Pacific = 28800

daylight

Daylight Saving Flag

Configuration Parameters

Function

Protocol

Protocol handler assigned to the ComPort. Valid values are:
Disabled
RTU Slave
Modbus Slave
TSU Slave
The defaults are:
COM 0: RTU Slave - 9600 Baud
COM 1: Modbus Slave- 9600 Baud

Mode

The Mode parameter is used in conjunction with the Protocol. Different

protocols will use the Mode in different ways, depending on the needs of

the protocol.

ComPort

Communications Port number. Valid values are 0-3. You should never

modify the ComPort parameter.

Advertising