Dear all, i have an SLC5/03 and installed these modules, 1746-NI8, 1746-NO4 also i have an I/P converter and an actuator valve. i want to write a ladder program that will throttle the valve the input will be from a pressure transmitter 0 - 30psi i intend using a compressed air and regulator to simulate input variable to the transmitter, the ladder program will use scp instruction and pid.
please help on this
RSLOGIX 500Programing question
-
- Posts: 22
- Joined: Sat Oct 04, 2014 6:17 pm
Re: RSLOGIX 500Programing question
Scale the Input using the SCP assigning N10:26 (process variable)to the to the output of the SCP .
Refer to the manual for the PID setup screen.
Use another SCP for output: Input = N10:27(control variable), Output is addressed to the output card.
Also a CLR instruction (S:5) can be used right after, on the next rung.
http://www.plctalk.net/qanda/showthread ... ix+500+PID
Refer to the manual for the PID setup screen.
Use another SCP for output: Input = N10:27(control variable), Output is addressed to the output card.
Also a CLR instruction (S:5) can be used right after, on the next rung.
http://www.plctalk.net/qanda/showthread ... ix+500+PID
-
- Posts: 15
- Joined: Tue May 15, 2012 8:11 pm
Re: RSLOGIX 500Programing question
Thanks Binary01
i would have posted my earlier program but i cant attach this is what i did
FIRST SCP
input : I:3.O
input min =0
input max=16384
scaled min =0
scaled max=16384
output=N10:28
SECOND SCP
input=N10:28
input min=3277
output max=16384
scaled min=6242
scaled max=31208
output =O:4.0
PID
Control block=N10:0
Process variable=N10:28
Control variable=N10:29
Control block lenght=23
input card used is 1746-ni8 configured for engineering
output card 1746 - no4
thanks
i would have posted my earlier program but i cant attach this is what i did
FIRST SCP
input : I:3.O
input min =0
input max=16384
scaled min =0
scaled max=16384
output=N10:28
SECOND SCP
input=N10:28
input min=3277
output max=16384
scaled min=6242
scaled max=31208
output =O:4.0
PID
Control block=N10:0
Process variable=N10:28
Control variable=N10:29
Control block lenght=23
input card used is 1746-ni8 configured for engineering
output card 1746 - no4
thanks