Copy and Paste

From SysCAD Documentation
Jump to navigation Jump to search

Navigation: User Guide ➔ Windows ➔ Access Window ➔ Copy and Paste Tags

SysCAD Tags Copy and Paste Tags Change Tag Data Transfer


Related Links: Copy and Paste Graphics Commands


Introduction

The standard Copy and Paste commands are available in many areas in SysCAD. However there are some special uses of copy and paste, especially in relation to tags.

In any pop up windows or dialog boxes, the changeable fields can be edited using the standard windows Cut, Copy and Paste commands. Highlight the required characters then use Copy <Ctrl+C>, Cut <Ctrl+X>, Paste (Ctrl+V) or Undo <Ctrl+Z> as required.

Copying Graphics

Users may copy "flowsheets" or "sections of flowsheets" or "Text" and paste the copied contents to other flowsheets or projects.

Please see Copy and Paste Graphics Commands

Copying Tags

Copytags138.png

Copy Full Tag

A Full Tag consists of the Unit Tag and the Field Tag. For example P_003.Qo.Qm (t/h)

When referencing SysCAD tags in some SysCAD unit such as controllers, trend window or for SysCAD Reporting, full tags are normally required. To obtain a full tag, the easiest way is to copy it from the SysCAD Access Window.

Option 1:

From the Access Window, left click to select the tag(s) to be copied, press <Ctrl+T> to copy the full tag to the clipboard (in this example, it is tag P_003.Qo.Qm (t/h)). To place the tag onto the Trend List View of a Trend Window, left click on an empty row and press (Ctrl+V) to paste the tag.

Option 2:

From the Access Window, left click to select the tag(s) to be copied, right click on the tag to bring up the quick pop up list.

  • Choose Copy Full Tag to copy the Full tag name. For example: P_003.Qo.Qv (m^3/h)

NOTE:

  1. When copying a single tag, if user has selected the text of the variable, it is possible to copy the full tag using <Ctrl+C>, however, if user has selected the value of the variable, then <Ctrl+C> will copy the value and not the tag. So, to avoid confusion, it is best to always use <Ctrl + T> to copy the full tag.
  2. when copying a tag from a grid table (such as the one shown below), user must select the value, then use Copy Full Tag (or Ctrl+T) to copy the tag. <Ctrl+C> would not copy the tag regardless of the cursor position.
    • CopyTag grid.png

Copy Tag For PGM

When referencing SysCAD tags in PGM files, full tags are normally required. To obtain a full tag with the correct PGM tag syntax, the easiest way is to copy it from the SysCAD Access Window using the "Copy Tag For PGM" option.

The "Copy Tag For PGM" option include: "A Full Tag consists of the Unit Tag and the Field Tag" AND the Tag syntax for PGM file, user can paste this tag directly into the PGM file without having to add the [" "] syntax separately.

  • If this function returns a value, the syntax added is ["Valid SysCAD Tag"], (available in Build 138 and later)
    Examples are: ["P_003.Qo.Qm (t/h)"] or ["Plant_Feed.QmReqd (t/h)"]
  • If this is SetTag function that requires a string, syntax added is [Str "Valid SysCAD Tag"], (available in Build139 and later)
    Examples are: [Str "Feed01.ConnectTo"] or [Str "NonOxidising_Leach_Control.Cfg.[1].MeasTag"]

Copy Tag

Copy Tag will only copy the Field Tag. For example Qo.Qm (t/h) or Qo.Qv (m^3/h). The Unit Operation Tag is NOT copied.

This is useful when the user is setting up a Table report in Excel or writing a Model Procedure.

To copy the Tag only:

  • From the Access Window, left click to select the tag(s) to be copied, right click on the tag to bring up the quick pop up list.
  • Choose Copy Tag to copy just the field tag.

Copying and Pasting Multiple Tags

To copy multiple tags, select the tags by either dragging with the mouse button or in Build 139 or later, hold shift and use arrow keys, to make a block of tags and press <Ctrl+T> to Copy or right click and choose Copy Tag if full tags are NOT required (e.g. when building a SysCAD report). When pasting multiple tags into Excel or text files, press (Ctrl+V).

To paste multiple tags onto the trend page, the same block (or bigger) must be marked before pressing (Ctrl+V) to paste. For example, five tags from the access window were highlighted and copied onto the clipboard, to paste the five tags onto the trend window, highlight five empty rows on the trend window and press (Ctrl+V). If only two rows were highlighted, then only two tags will be pasted.

Fields in a Trend Window can also be copied and pasted. To do so, click to highlight a tag or value, press <Ctrl+C> to Copy and (Ctrl+V) to Paste. If the field already contains data, pasting information to this field will overwrite the original data. If a value is to be pasted into ten cells, highlight the required cells and press (Ctrl+V) to paste. This works for min and max values in the trend window.

NOTE: Copy and Paste commands are also available from the Trend Window Right Click pop up list.

Copying Access Window Tab Names

This is available in SysCAD 138 or later.

Right click on Access window tab page title has a new context menu to copy the tag providing a convenient way of copying and pasting tags for use in referenced models.

  • This would be the model tag for the first tab page, and the sub-model (eq Qo) for subsequent pages.

This is useful when entering tags for Composition Fetch: for example, we need to enter P813.Qo as the source of the composition fetch. We can copy this partial tag by right clicking on the "Qo" tab name, then select "Copy Full Tag", as shown below.

CopyPasteTabName.png

Copying Access Window Group Names

This is available in SysCAD138 or later.

In the Access window, pressing <Ctrl+C> or right click on start of a group of tags (e.g. Qo...; QFeed...) can now be used to copy the tag for the group.

For example:

CopyPasteGroupName.png