Unity Pro XL - how to pass parameters to Subroutine?

FNC

Member
Join Date
May 2010
Location
NJ
Posts
84
I have a small piece of code (4 lines) that I need to repeat many times over.

How do I create a subroutine with parameters?

I have many subroutines but none that I can pass parameters to.

Thanks!
 
Create a DFB (defined function block). The inputs to the DFB are your input parameters and the outputs will be the result
 

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