Dynacard Upload Driver Tag

Dynacard Upload Driver tags will read Dynacard information from a Pump Off Controller (POC). Create your Dynacard Upload Driver tags as children of one of these.

Dynacard data is read from the device using a series of Modbus commands rather than from a single address. For example, a “read” might consist of first writing to the controller, loading its registers with the data you’re looking for, and then sending several read messages to bring back a large block of data. The Dynacard Upload driver handles all of this sequencing and overhead, but uses the POC's Process Driver, a standard Modbus tag, to send and receive the actual messages.

The Dynacard data read from the device is logged by a linked Dynacard Input Tag that you create. These tags store all the card data in the historian (Min/Max Load, Stroke Length, etc.) but the only data shown onscreen are the position/load pairs that make up the Dynacard graph.

...POC-DV8 Tag

Dynacard Upload Driver properties Communications tab

I/O Device

Select that driver tag within the Pump Off Controller that will connect to the Dynacard data on the device.

Retries

The number of times to retry a message before declaring an error.

Use only if the driver is connected to a device that uses a serial port or a UDP/IP port that is configured to be polled. When connected directly to a device using TCP/IP, this value should normally be set to 0 since TCP/IP is a guaranteed message delivery protocol.
For unreliable communications, such as radio, set to 3 or 4.

Export

Specify a CSV format file, to which the Dynacard's read sequence data will be exported. This will allow you to view the sequence of Modbus reads and the addresses that will be used to read the Dynacard data. The sequence will be in the format that is used by the VTScada sequencer module (Sequencing Reads in a Pump-Off Controller)

The Dynacard Upload Driver tags that are automatically created as children of the various VTScada POC tags come preloaded with the proper sequence and in most cases you will not need to make any changes here.

Import

Specify a CSV format file that holds the Modbus read sequence that you want this Dynacard Upload Driver tag to use when reading the Dynacard data from the PLC. Usually the easiest way to edit the sequence is to export the existing sequence, make any necessary changes, save the file and then import that saved file.

Device Clock Time Zone

Select the time zone that the device uses in order to convert the time-stamped data from the device into UTC for storage in the VTScada historian. Regardless of the time zone selected with this option, the driver assumes that the device does NOT adjust its clock for daylight savings time (DST).

Defaults to the server's time zone, but may be set to use the device's clock if that is configured for UTC, otherwise any time zone where the device is located.

Observe Daylight Saving Time

Select if the RTU clock adjusts itself for Daylight Savings Time. Note that this does not necessarily mean that the RTU is in daylight savings time when this is being set. That is determined by the Windows operating system based on the selected time zone.

Read Number of X-Y Points from a Variable

In most cases, the number of X-Y pairs read from the POC are consistent (e.g. there might be 200 pairs of X-Y data that will then translate to 200 points on the Dynacard graph). Some devices can be configured to provide a different number of points each with each Dynacard. The number of points used is stored in a register that is read from the POC along with the rest of the Dynacard data.  If that is the case, the Read Number of X-Y Points from a Variable parameter should be set.

The register in the POC that tells us how many points to read needs to be defined in the sequence CSV (which you can see by hitting the Export button). The register must be read and then assigned to the NumPoints variable using the GetValue_Numeric command (Sequencing Reads in a Pump-Off Controller)

Y Values are Read Before X Values

If not selected, X values are read first.

Use an Epoch Date of 01/01/2000 to Calculate Time Stamp

Select if this POC's time stamp format displays the number of seconds since the start of Jan. 1, 2000 (rather than the VTScada standard, which is the number of seconds since the start of Jan. 1, 1970).

Enable Tracing

If selected, a log file will be created under the Data\Trace folder of the application. This will be updated as each step of the Dynacard read sequence is completed. Traces can be useful when debugging problems with the sequence read, particularly if you have used the Export/Import buttons to change from the default sequence.