Modem Tags

Not counted towards your tag license limit.

Modem tags enable outgoing and incoming calls by providing a link between your VTScada application and a modem configured on your system. This is not the same as configuring a Serial Port that uses a modem for communication.

If configuring a modem for use with the Alarm Notification System, ensure that it is a true voice modem. Refer to instructions within Install a Voice Modem.

The workstation name configured in the Modem tag must be no longer than 15 characters.

Your choice of Area property for a Modem tag will affect how it works. When used with the Alarm Notification System, the area property of a Modem tag must be left blank.

If your application uses one modem for I/O communication and another for the Alarm Notification System, then you should set the area property of the data modem to match the area property of the port. You must also add the application property, "UseSerialAreaInModemCall", and set it to 1. This will force all data calls to use the modem having an area that matches that of the attached serial port.

If running multiple applications (for example, hosted systems) then you cannot share modems, SMS devices, or Twilio accounts between applications. You must have independent modems or Twilio accounts for each application.

You can monitor the call status by using a Modem Indicator widget to display the modem tag's value. This will be a numeric value, with meanings according to the following table.

Value

Modem Error

0

Modem idle

1

Modem calling

2

Modem answering

3

General failure (other than listed here).

4 Server is unavailable
5 Workstation that owns the modem is unavailable.
6 Cannot use serial port due to an external condition. The modem will poll occasionally for revised status. The polling time is set by MMUnAvailRetry, and defaults to 60 seconds.
7 Manually disabled - will not clear automatically.

Modem properties Settings tab

All fields are in this tab are mandatory.

The Settings tab of the Modem tag properties folder contains properties that allow you to configure the network and security settings for the Modem tag. A message is provided to the right of the workstation name, provides extra information about the station's availability, as follows:

If the Workstation field is left blank, the modem tag is for a so-called, local modem, and the text "Local" will be displayed in the workstation message field. This configuration is not recommended - it is much better to specify the workstation name even if VTScada is running only on a single workstation where the modem also resides. (The term "Local Modem" does not mean simply that the modem is on the same machine.) The "Index" parameter (the modem name) for the modem tag is ignored if this modem tag is for a local modem. Local modems are specified by a configuration setting in the <workstation>.Startup file for each workstation as follows:

<Modem tag name>Device = <Modem friendly name>

For example:

Modem1Device = MultiTech Systems MT9234ZPX-UPCI [Trihedral]

If this setting is not provided, the modem manager will select a modem from the list of modems not already associated with a modem tag. (Results may be unexpected.)

Local modems are typically used only if PPP is being used by VTScada, or in a system with custom software designed to use local modems. Under typical operating conditions, Trihedral recommends that local modems NOT be used.

The text, "Available" or "Unavailable" in the workstation message field refers to the workstation's availability. It is displayed even if no modem has been selected.

Workstation Name

Specify the name of the computer to which the modem is connected. If you do not specify a workstation in the Workstation Name field, VTScada will use a local modem on a machine that is running that tag within the application, selecting the first modem that is available.

After the workstation name has been specified, the Line Name and Name Or Index On Workstation drop-down lists will automatically update to display the names of the Serial Port tags and modems available on this workstation.

The workstation name configured in the Modem tag must be no longer than 15 characters.

Line Name

Select or create a name. The same line name must be used by modems sharing the same physical phone line, even if they are on different workstations. Names must be different from those used by modems on other physical phone lines.

Name Or Index On Workstation

The Name Or Index On Workstation drop-down list enables you to select a modem on the workstation specified in the Workstation Name field, provided that the workstation is available. If the specified workstation is not available, you may enter the name of the modem you wish to use, or can enter a number or text value as follows:

If this value is numeric, it is the index into the list of modems shown in the Modems Properties dialog box in the Windows Control Panel, starting from 1.

If the value of Index is a text string, it is the name of the modem exactly as it appears in the Modems Properties dialog that is accessed using the Windows Control Panel.

Because the index of available modems can change over time, it is recommended that you refer to the modem by name rather than by its index in the Modem Properties dialog box.

Ring Count

Select the number of rings you wish to occur before the selected modem answers an incoming call.

If the value of Ring Count is 0, the modem will not answer any calls.

 Regardless of this setting, the modem will not be answered if the application property, AnswerCalls is set to 0. Information on this and other configuration variables pertaining to the Modem Manager can be found Application Properties for the Modem Manager.)

Security Privilege

Select a custom security privilege (Protect Pages and Output Tags) from this drop down to limit the operation of this control to only those operators who have been granted the matching security privilege.

In this case, "operation" refers to the ability to disable or enable the tag via the context menu. It does not affect whether the modem will operate while a user without the privilege is signed in.

Modem properties Display tab

When this tag is represented on screen by widgets that can use a Style Settings tag, you can save development time by choosing the Style Settings tag that holds the correct display configuration for this tag instance.

The default configuration will use System Style, the default style tag that is automatically part of every new VTScada application.

Modem properties Historian tab

Historian

If an Historian tag is selected, this tag's run-time values will be saved for use in reports and the Historical Data Viewer. Historian configuration and advanced logging options are described in the discussion of the Historian Tags.

If your goal is to disable logging, set the Enable parameter (below) to 0 rather than deleting the Historian parameter.

There are consequences if you change the selected Historian tag after you have begun collecting data. If you switch to a new Historian (perhaps for organizational or load sharing purposes), the data collected for this tag by the previous Historian will become inaccessible. Historian selection and configuration should be done during the project design stage.