input parameters as argument to phase command

briana banks

Member
Join Date
Jul 2005
Posts
242
Hi All

Using RSLogix 5k ver 15.

I've created few phases as follows
main
.
.
.
Phase:Cooling
.
.
Phase:Heating
.
.

In ver 15 you can call the pcmd command to start the phase.
How can call the phase routine with arguments ?
i.e. with input parameter in the routine.
for example if i want to call the heating function
with different setpoint (temperature) each time

Thanks
 
The input and output parameters are mainly used by RSBatch with the PXRQ and PRNP instructions. If you are controlling the phases from within the controllogix it would work easiest to use controler scoped tags for the parameters or if you are using an hmi that can read/write to program scoped tags, just write directly to the tags that are created in the program(phase)when you define the parameters.

Darren
 
Instead of calling the common routine directly for each phase use a subroutine that calls the the common subroutine and passes the correct arguments to it.
 

Similar Topics

Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
14
Views
356
I'm having trouble calming down 2 Tempo Sonics. I'm using Studio 5000 CompactLogix my Raw value is jumping around from 8575.0 to 8755.0 at a...
Replies
30
Views
1,138
I cannot add SLC500 analog input tag (I: 8.3) to EZSeries Touch Panel Editor (V 5.3). I used all the listed tag datatype but it all says "Invalid...
Replies
10
Views
258
Hi, I have questions. I have Analog Input that need to put into Ignition Designer. But I don't know how to put?
Replies
1
Views
119
Omron AD081-V1 Analog Input Card Offset & Gain Adjustment Entering Adjustment Mode 1. Set the input card in adjustment mode (Turn ON Dip SW No-1)...
Replies
0
Views
87
Back
Top Bottom