51
Do-more CPUs and Do-more Designer Software / Re: Bug Repot: Cannot copy paste tasks or import from text file possible, need help
« Last post by Bobby Tables on May 05, 2026, 06:24:19 PM »Oddly enough, the copy paste from the clipboard into notepad adding one line
like
original clipboard contents:
Then selecting the whole text in notepad with control+A and copying it with control+C does not allow pasting into do more designer, with edit mode on in ladder view with control+V. Yet selecting the whole line or a contact and using copy-paste with control+C and control+V works. But saving the file then using Tools>Insert Instructions from File does work as you mentioned. Why does insert instructions from file differ from the clipboard?
Originally I was intending to duplicate eventlogger2, applying a bunch of changes while keeping the original in case those changes don't work out, then inserting instructions from file.
It seems that to do that I have to add the name of the new control block, eventlogger2_copy, to the MEM_CONFIG section by itself and find and replace each instance of eventlogger2 with eventlogger2_copy. Then the $TSK P1 Task: Invalid element type and $TSKEND P1 Task: Invalid element type errors don't show up and it imports.
like
original clipboard contents:
Code: [Select]
// Ver(103) PCU(3) Do-more Designer Clip Source Project: Format: Do-more Designer 2.00+ DO-MORE Ladder
PLC BX-DM1E-18ED23-D
// Do not modify SYS_CONFIG block!
#BEGIN SYS_CONFIG2<sys config block here>#END
STR C5
OUT C6
new line, simply adding "AND C7":Code: [Select]
// Ver(103) PCU(3) Do-more Designer Clip Source Project: Format: Do-more Designer 2.00+ DO-MORE Ladder
PLC BX-DM1E-18ED23-D
// Do not modify SYS_CONFIG block!
#BEGIN SYS_CONFIG2<exact same unaltered sys config block>#END
STR C5AND C7
OUT C6
Then selecting the whole text in notepad with control+A and copying it with control+C does not allow pasting into do more designer, with edit mode on in ladder view with control+V. Yet selecting the whole line or a contact and using copy-paste with control+C and control+V works. But saving the file then using Tools>Insert Instructions from File does work as you mentioned. Why does insert instructions from file differ from the clipboard?
Originally I was intending to duplicate eventlogger2, applying a bunch of changes while keeping the original in case those changes don't work out, then inserting instructions from file.
It seems that to do that I have to add the name of the new control block, eventlogger2_copy, to the MEM_CONFIG section by itself and find and replace each instance of eventlogger2 with eventlogger2_copy. Then the $TSK P1 Task: Invalid element type and $TSKEND P1 Task: Invalid element type errors don't show up and it imports.
Code: [Select]
#BEGIN MEM_CONFIG
eventlogger2_copy TASK 0 -1
#END
// Beginning of Code Block eventlogger2_copy
$TSK eventlogger2_copy
// Rung eventlogger2_copy#1
// Offset 0
STR ST1
OUT C222
$TSKEND eventlogger2_copy

Recent Posts