SLC 500 PLC Control

jimmycooker

Member
Join Date
Sep 2008
Location
Cork
Posts
65
Hi,

I am trying to setup a switch or pot in NI lookout to control an input in my SLC500 PLC.

I have managed to create input & output objects in lookout which mirror the PLC / ladder logic condition.

How do i map a switch to a digital PLC input? Or a pot to an analogue input?

Thanks,
James.
 
You typically do not control inputs (wshether discrete or analog) directly. The object of a discrete pushbutton to a SLC would typically be to a 'B' register location. The analog numeric word would be written to an 'N' register location.
 
I presume that you are thinking of mapping it a PLC I:??/?? Data File address, as if it were a physical hardwired I/P into the PLC.

If so, you can't, as those address are tied to the I/O modules that are physically in the PLC rack.

You would have to map it to Binary (e.g. B3../..) Data File - for the Digital, or an Integer (e.g. N7:....) Data File for the Analog value; and then program the PLC program to use the value from there.
 
I havent used the NI system. But if you can direct the pushbutton to an input then in the same selection you should be able to choose a B register location.
 
so there isn't a quick and easy way to create an on off switch in lookout to act as a PLC input.....bycreating expression or function in lookout? Could you give me a few google search parameters so i can look for more info on how to do this?

Thanks
 
so there isn't a quick and easy way to create an on off switch in lookout to act as a PLC input.....bycreating expression or function in lookout? Could you give me a few google search parameters so i can look for more info on how to do this?

Thanks

I wouldn't be that negative. Are you trying to replace an existing hardwired pot/switch with a software pot/switch controlled via Lookout?
 
Sorry, i've been at this since 8:00...progress is slow...

I have a PLC with no a few I/O cards. I've no istruments or equipment wired upto the cards so i'm trying to use lookout instead...setup a few switch that are mapped to inputs and use the ladder program in the background to turn on outputs and also map these to displays in outlook.

I've had 1 2 hour lab in SCADA where we used a little NI modbus box with pots, switche inputs and dicrete / analog output led's on it....

If i could use lookout switches & pots as PLC controls i'd be able to create and play around with the ladder programs a bit more....
 
The short answer marc is yes im trying to replace a hard wired pot / switch with a software one..thanks...

What you need to do is identify a spare unused B3 file address N7 file address, e.g:

B3:0/1 (= Binary Data-file 3, Word 0, Bit 1) for your on/off switch

N7:3 (= Integer Data-file 7, Word 3)

And then you can use these addresses as if they were Input addresses.

Another possibility, if you have an O/P card in the PLC rack, you can map the directly to the Output address, assuming that that Output address is not being given a value by the PLC program.
 
Marc,

My problem is how do i associate the switch control / graphic with that address....

I need some kind of Lookout expression to do this i think...
 
Thanks both of you, going through those pages now (had looked at them already today but missed their significance).

Thanks.
 

Similar Topics

Everyone, i am in the process of purchasing the Slc 500 version of software to support what we have and i have a question. Several of our...
Replies
9
Views
767
I used up my last new Allen-Bradley SLC 5/04 controller. Does anyone have info on a good reliable place to get a new one for a decent price, or...
Replies
3
Views
521
Hi All, I was working on preparing a quotation for the SCADA upgrade from Citect V 7.1 to Citect 2018. On-site they are currently using SLC 500...
Replies
1
Views
1,630
Hey, I'm used to CompactLogix 5000 controllers and was needing to know the process of forcing on bits and enabling forces on a SLC 500 Allen...
Replies
2
Views
1,966
Having a problem with is processor PLC SLC 500 cat:1747-L541, the fault light is flasing and cannot go online and again the DH+ comm. is flushing...
Replies
2
Views
1,790
Back
Top Bottom