Help - Search - Members - Calendar
Full Version: rslogix5000 and emulator
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
3441
Is there any method to use the emulator or another method that won't erase/jumble produce/consume tags? If you have controller tags that are set for produce and consume, then try to use the emulator it erases or corrupts the code, then you have to reprogram produce/consume back in. Any way around this?
thanks,
Tom
rpraveenkum
Follow the step



If you have v13 and lower, check the following:

All consumed tags are automatically controller-scope.
When using Rslogix 5000 emulate, you should use it locally (across the backplane).
The produced tag in the originating Rslogix 5000 emulator controller must have the same data type as the consumed tag in the other Rslogix 5000 emulator controller.


STEP BY STEP EXAMPLE OF PRODUCE AND CONSUME FOR RSLOGIX 5000 v13 using Rslogix 5000 emulator (The concept applies to all versions of Rslogix 5000).



IN THIS EXAMPLE, THERE IS A RSMULATOR CONTROLLER IN SLOT 6 (PRODUCER) AND CONTROLLER IN SLOT 7 (CONSUMER)



PRODUCER

Open Rslogix 5000, create a new project and call it producer_sl6
Under the I/O configuration, configure the emulator controller for slot 7
· (Right click the I/O Configuration folder, select New Module, Choose Emulator, Choose the revision, select OK. Give it a name (e.g. emulator_sl7), make the slot 7 for this example, select Finish

Double click Controller Tags, click on Edit Tags, create a tag call ‘p_tag’, check the ‘P’ checkbox to make it a produced tag, and leave the type DINT
Right click on ‘p_tag’, select edit properties, select the connection tab (v15 it’s a button). Choose the Maximum Connections (for this example leave the default to 1)
Select ‘OK’, click on Monitor Tags and give it a value (e.g. 1972)
Download this producer_sl6.acd to slot 6 of the emulator


CONSUMER

Open another instance of Rslogix 5000, create a new project and call it consume_sl7.
Under the I/O configuration, configure the emulator controller for slot 6
Double click Controller Tags, click on Edit Tags, create a tag called ‘c_tag’ and leave the type DINT
Right click on ‘c_tag’, select Edit Tags properties, select Consumed radio button, click on the Connection tab, hit the drop down arrow and select your producer controller (in this example ‘emualtor_sl6). Remote Data is the name of the producing tag (e.g. ‘p_tag). Set the RPI to how fast you want to consume this data.
For Rslogix 5000 emulator (50.0 ms) is sufficient.
Select ‘OK’
Download this project to slot 7 of the emulator

RESULTS: After going to program mode, you will see in the consume_sl7.acd file, the tag ‘c_tag’ should equal 1972 for the value.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.