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

Hello All, After trying to transfer some field changes on the safety scanner microscan3, and verifying, the device is stuck at .... waiting for...
Replies
0
Views
63
I have a 120V relay, 120V DI card and a analog input. I was wanting to know if i could put a 24V DI and well as a 120V DI card on the same plc...
Replies
1
Views
89
Hello, I'm looking for a dirt cheap digital display + input, that would be wired to an analog input and analog output. This would be for my home...
Replies
10
Views
266
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
93
All, I have a PowerFlex 525 driving an agitator motor. The goal is to have the agitator start automatically after a power loss or a comm loss. I...
Replies
2
Views
96
Back
Top Bottom