Unity Pro - Easy to copy/paste?

FNC

Member
Join Date
May 2010
Location
NJ
Posts
84
I have a series of small subroutines where each tag is eassentially the same except a number like A100, A101 will be A200 and A201.

Is there an easy way to copy and paste and change?

Their search/replace is not very good. Ideally I'd like something like RSLogix 500 where you see the tags you are adding and change them neatly in a table right before you paste the code.

Right now I think I have to use brute force method which is long and tedious.
 
Why not use dfb instead of subroutines. Define a function block with inputs, then attach to the number you are wanting to change to that input. Then use that input within the dfb.

If you really must use a subbroutine - you can export the subroutine to a text file, edit the file then import
 
Exporting a subroutine in LD can only be saved as an XLD file. It is not easy to work with though.

Defining a function block is the way I will go.
 

Similar Topics

Hello, I am using Unity pro V15. I have Quantum CPU 671 and Ethernet NOE 77101 configured. I have configured IO scanning on NOE. I have attached...
Replies
5
Views
176
HELLO MY FRİENDS ı have problem. ı tought you can solved thıs problem for me. First of all When I checked all the cable connections of the...
Replies
0
Views
402
Hi All, I haven't installed Unity Pro in years and needed to install it recently. I initially tried installing Version 11.1 and the whole...
Replies
3
Views
712
Hello i want to implement a Read_var / Write_var functions to communicate with a modbus tcp device at the moment i use the unity simulator at the...
Replies
4
Views
1,926
Hi, I've exported a PL7 application to the .FEF file succesfully. Imported the .FEF file in my Unity Pro project, but two of the five sections in...
Replies
0
Views
773
Back
Top Bottom