AutomationDirect Do-more PLC Importing Tags — Symbolic Memory

Topic: CM066

The Do-more Designer software has different export options for PLC addresses that you can import into the C-more programming software. The options include:

  • Export of non-structured PLC addresses with nicknames
  • Export of structured PLC addresses with nicknames
  • Export of PLC addresses used in the ladder program
  • Combination of the above

There are six export options. Each option below includes an example configuration. You can export the most complete list with fully-nicknamed structures. In this example, the PLC contains the following addresses:

  • Built-in Memory Blocks
  • Heap Memory Blocks
  • User-Created Structure
  • Fully-Nicknamed Structure
  • Individually-Nicknamed Structure Elements

Fully-Nicknamed Structure

In the table below, address T0, nicknamed "myTimer," is a fully-nicknamed structure. In other words, the timer structure has the nickname "myTimer," which carries over to each element of the structure in the format [nickname.element].

Individually-Nicknamed Structure Elements

Address myPID.SP, nicknamed "PID_SP_NickName" is an individually-nicknamed structure element as it is an element of a larger structure, myPID, and the individual element is given the Nnckname "PID_SP Nickname." Individually-structured elements may have a different nickname for each element in the larger structure.

In our example, the table below represents the addresses that are in the PLC. Some addresses have nicknames, while others do not, and some addresses are used in the PLC ladder logic and others are not.

c
PLC Address PLC Nickname Used in Ladder Logic PLC Memory
TO.ACC myTimer.ACC No Built-In
TO.Done myTimer.Done No Built-In
T0.Zero myTimer.Zero No Built-In
T0.Timing myTimer.Timing No Built-In
T0.Reset myTimer.Reset No Built-In
T0.TT myTimer.TT No Built-In
T0.EN myTimer.EN No Built-In
T0.EN myTimer.EN No Built-In
myPID.SP PID_SP_NickName No Heap
myPID.PVYesHeap
MyStringBlock0 String_Nickname0 No String Struct
V0 myV0 Yes Built-In
C0 Yes Built-In
C1 Yes Built-In
D1 Yes Built-In
V2 Yes Built-In

Export Option 1

This option exports:

  • Non-structured PLC addresses that have a nickname
  • Individually-nicknamed structure elements that have a nickname

To export these tags:

  1. In Do-more Designer, from the File menu, select Export then Element Documentation.
  • The Content Format window opens.
  1. Select C-more Do-more Driver Format.

  • C-More imports the following tags:
PLC Address PLC Nickname C-more Tag Name PLC Address in C-more Used in Ladder Logic PLC Memory
myPID.SP PID_SP_NickName myV0 FLOATmyPID.SP No
MyStringBlock0 String_Nickname0 String_Nickname0 ASCII[96]MyStringBlock0 No String Struct
V0 myV0 PID_SP_NickName Ul16V0 Yes Built-In

Export Option 2

This option exports:

  • Non-structured PLC addresses that have a nickname
  • PLC addresses used in the ladder logic even if they do not have a nickname
  • Individually-nicknamed structure elements that have a nickname

To export these tags:

  1. In Do-more Designer, from the File menu, select Export then Element Documentation.
  • The Content Format window opens.
  1. Select C-more Do-more Driver Format.
  1. Select Also export USED elements which do not have a nickname.

  • C-More imports the following tags:
PLC Address PLC Nickname C-more Tag Name PLC Address in C-more Used in Ladder Logic PLC Memory
myPID.SP PID_SP_NickName PID_SP_NickName FLOATmyPID.SP No Heap
MyPID.PV myPID.PY FLOATmyPID.PV Yes Heap
MyStringBlock0 String_Nickname0 String_Nickname0 ASCII[96]MyStringBlock0 No String Struct
V0 myV0 myV1 UI16V0 Yes Built-In
C0 C0 DISCC0 Yes Built-In
C1 C1 DISCC1 Yes Built-In
D1 D1 SI32D1 Yes Built-In
V2 V2 UI16V2 Yes Built-In

Export Option 3

This option exports:

  • PLC addresses that have nicknames, including fully-nicknamed structures.

To export these tags:

  1. In Do-more Designer, from the File menu, select Export then Element Documentation.
  • The Content Format window opens.
  1. Select C-more Do-more Driver Format WITH Struct Fields.

  • C-More imports the following tags:
PLC Address PLC Nickname C-more Tag Name PLC Address in C-more Used in Ladder Logic PLC Memory
myPID.sp PID_SP_NickName PID_SP_NickName FLOATmyPID.SP No Heap
MyStringBlock0 String_Nickname0 String_Nickname0 ASCII[96]MyStringBlock0 No String Struct
T0.ACC myTimer.Acc myTimer.Acc SI32T0.Acc No Built-In
T0.Done myTimer.Done myTimer.Done DISC_RT0.Done No Built-In
T0.Zero myTimer.Zero myTimer.Zero DISC_RT0.Zero No Built-In
T0.Timing myTimer.Timing myTimer.Timing DISC_RT0.Timing No Built-In
T0.Reset myTimer.Reset myTimer.Reset DISC_RT0.Reset No Built-In
T0.TT myTimer.TT myTimer.TT DISC_RT0.TT No Built-In
T0.EN myTimer.EN myTimer.EN DISC_RT0.EN No Built-In
T0.DN myTimer.DN myTimer.DN DISC_RT0.DN No Built-In
V0 myV0 myV1 UI16V0 Yes Built-In

Export Option 4

This option exports the largest number of PLC addresses. It includes:

  • PLC addresses that have nicknames, including fully-nicknamed structures
  • PLC addresses used in the ladder logic, even if they do not have a nickname

To export these tags:

  1. In Do-more Designer, from the File menu, select Export then Element Documentation.
  2. The Content Format window opens.
  3. Select C-more Do-more Driver Format WITH Struct Fields.

  4. Select Also export USED elements which do not have a nickname.

  • C-More imports the following tags:
PLC Address PLC Nickname C-more Tag Name PLC Address in C-more Used in Ladder Logic PLC Memory

myPID.spu

PID_SP_NickName PID_SP_NickName FLOATmyPID.SP No Heap
MyPID.PV MyPID.PV FLOATmyPID.PV Yes Heap
MyStringBlock0 String_Nickname0 String_Nickname0 ASCII[96]MyStringBlock0 No String Struct
TO.ACC myTimer.Acc myTimer.Acc SI32T0.Acc No Built-In
TO.Done myTimer.Done myTimer.Done DISC_RT0.Done No Built-In
TO.Zero myTimer.Zero myTimer.Zero DISC_RT0.Zero No Built-In
TO.Timing myTimer.Timing myTimer.Timing DISC_RT0.Timing No Built-In
TO.Reset myTimer.Reset myTimer.Reset DISC_RT0.Reset No Built-In
T0.TT myTimer.TT myTimer.TT DISC_RT0.TT No Built-In
T0.EN myTimer.EN myTimer.EN DISC_RT0.EN No Built-In
T0.DN myTimer.DN myTimer.DN DISC_RT0.DN No Built-In
V0 myV0 myV1 UI16V0 Yes Built-In
C0 C0 DISCC0 Yes Built-In
C1 C1 DISCC1 Yes Built-In
D1 D1 SI32D1 Yes Built-In
V2 V2 UI16V2 Yes Built-In

Export Option 5

This option exports:

  • Non-structured PLC addresses that have nicknames and are used in the ladder logic
  • Structured PLC addresses that have a nickname only if they are used in the ladder logic

To export these tags:

  1. In Do-more Designer, from the File menu, select Export then Element Documentation.
  2. The Content Format window opens.
  3. Select C-more Do-more Driver Format WITH Struct Fields.
  4. Select Do NOT export ALL nicknamed Struct Fields, just those that are USED.

  • C-More imports the following tags:
PLC Address PLC Nickname C-more Tag Name PLC Address in C-more Used in Ladder Logic PLC Memory
myPID.sp PID_SP_NickName myV0 FLOATmyPID.SP No Heap
MyStringBlock0 String_Nickname0 String_Nickname0 ASCII[96]MyStringBlock0 No String Struct
V0 myV0 PID-SP-Nickname UI16V0 Yes Built-In

Export Option 6

This option exports:

  • Non-structured PLC addresses that have a nickname and are used in ladder logic
  • PLC addresses used in the ladder logic, even if they do not have a nickname
  • Structured PLC addresses that have a nickname only if they are used in the ladder logic

To export these tags:

  1. In Do-more Designer, from the File menu, select Export then Element Documentation.
  2. The Content Format window opens.
  3. Select C-more Do-more Driver Format WITH Struct Fields.

  4. Select Do NOT export ALL nicknamed Struct Fields, just those that are USED.

  5. Select Also export USED elements which do not have a nickname.

  • C-More imports the following tags:
PLC Address PLC Nickname C-more Tag Name PLC Address in C-more Used in Ladder Logic PLC Memory
myPID.sp PID_SP_NickName PID_SP_NickName FLOATmyPID.SP No Heap
myPID.PV myPID.PV FLOATmyPID.PV Yes Heap
MyStringBlock0 String_Nickname0 uString_Nickname0 ASCII[96]MyStringBlock0 No String Struct
V0 myV0 myV1 UI16V0 Yes Built-In
C0 C0 DISCC0 Yes Built-In
C1 C1 DISCC1 Yes Built-In
D1 D1 SI32D1 Yes Built-In
V2 V2 UI16V2 Yes Built-In

Related Topics Link IconRelated Topics