You are on page 1of 10

Um rpido tutorial sobre RSLogix Emulador 5000

RSLogix Emulator 5000 is a software simulator for the Allen Bradley line of Logix 5000 controllers (ControlLogix, CompactLogix, FlexLogix, SoftLogix5800 and DriveLogix). RSLogix Emulador de 5000 um simulador de software para a linha de Allen Bradley Logix 5000 controladores (ControlLogix , CompactLogix , FlexLogix , SoftLogix5800 e DriveLogix ). The goal is to mimic the function of a PLC without the actual hardware and thus do advanced debugging. O objetivo imitar a funo de um PLC sem o hardware real e, assim, fazer depurao avanada. More information can be found in the AB publication LGEM5K-GR015A-EN-P. Mais informaes podem ser encontradas na publicao AB LGEM5K-GR015A-PT-P. As a quick introduction we'll go through a simple example of setting up a simulation. Como uma breve introduo, vamos passar um exemplo simples de criao de uma simulao. This involves three major steps. Isto envolve trs etapas principais. 1. Setting up the chassis monitor. Configurando o monitor do chassi. 2. Creating a connection in RSLinx. Criando uma conexo no RSLinx. 3. Creating a project with associated emulation hardware. Criando um projeto com hardware de emulao de associados.

Setting up the Chassis Monitor Configurando o chassi Monitor


To start the Chassis Monitor, click Start > Programs > Rockwell Software > RSLogixEmulate 5000 > RSLogix Emulate 5000 Chassis Monitor . Para iniciar o Monitor de chassis, clique em Iniciar> Programas> Rockwell Software> RSLogixEmulate 5000> RSLogix Emulate 5000 Chassis Monitor.

When the emulator opens up you're confronted with what looks like an empty chassis. Quando o emulador abre voc est confrontado com o que parece um chassi vazio. In slot 0 is an RSLinx module which has to be there for the emulator communications to work. No slot 0 um mdulo RSLinx que tem que estar l para o emulador de

comunicao para trabalhar. Your slot 1 might have another irremovable RSLinx module depending if you are running RSLogix Enterprise. Seu slot 1 poderia ter outro mdulo RSLinx inamovveis, dependendo se voc estiver executando RSLogix Enterprise.

From here we set up our hardware configuration for simulation. A partir da montamos a nossa configurao de hardware para a simulao. Our first step will be to add the CPU . Nosso primeiro passo ser adicionar a CPU . In this case it is a special one called an Emulation Controller. Neste caso um caso especial chamado controlador de emulao. 1. Click Slot > Create Module . Clique> Slot Criar Mdulo. 2. Choose the Emulator RSLogix Emulate 5000 Controller . Escolha o emulador RSLogix Emulate 5000 Controller. 3. Chose slot 2 for the controller Escolha slot 2 para o controlador 4. Click OK to add it to the chassis monitor. Clique em OK para adicion-lo ao chassis do monitor.

5. At this point you may be accosted with a message about previous configurations. Neste ponto voc pode ser abordado com uma mensagem sobre as configuraes anteriores. Just select Reset the Configuration to Default Values and click NEXT . Basta selecionar redefinir a configurao para valores padro e clique em Avanar. 6. The next two dialog screens are for setting up the controller details. As prximas duas telas de dilogo so para definir os detalhes do controlador. Click NEXT

and FINISH to accept all the defaults. Clique em Avanar e em Concluir para aceitar todos os padres.

Next we'll add some input/output simulation. Em seguida, vamos adicionar um pouco de entrada / sada de simulao. 1. Click Slot > Create Module . Clique> Slot Criar Mdulo. 2. Choose the 1789-SIM 32 Point Input/Output Simulator . Escolha o carto SIM 32-1789 Ponto de Entrada / Sada Simulator. 3. Chose slot 3 for the simulator and click OK . Escolha slot 3 para o simulador e clique em OK.

4. Accept the defaults for the setup by clicking NEXT and FINISH . Aceite os padres para a instalao clicando em Avanar e Concluir.

The chassis monitor will now have two emulation modules in it ready to go. O monitor de chassis ter agora dois mdulos de emulao em que pronto para ir.

Creating a connection in RSLinx Criando uma conexo no RSLinx


1. Start RSLinx under Start > Programs > Rockwell Software > RSLinx > RSLinx Classic Iniciar RSLinx em Iniciar> Programas> Rockwell Software> RSLinx> RSLinx Classic 2. Click Communications > Configure Drivers . Clique em Comunicaes> configurar drivers. 3. Select the Virtual Backplane (SoftLogix 58xx) driver from the Available Driver Types list. Selecione o Backplane Virtual (SoftLogix 58xx) o driver da lista Available tipos de drivers. 4. Click Add New . Clique em Adicionar novo. The Add New RSLinx Driver dialog box appears. O Adicionar Novo RSLinx caixa de dilogo do driver exibida. Click OK . Clique em OK. 5. The new driver appears in the Configured Drivers list. O novo driver aparece na lista de drivers configurados. Click Close . Clique em Fechar.

Using RSLogix Emulator in a Project Usando o RSLogix Emulador em um projeto


To use the emulator in a project you must setup the hardware correctly. Para usar o emulador em um projeto voc deve configurar o hardware corretamente. 1. Start the RSLogix 5000 software and create a new project. Inicie o software RSLogix 5000 e criar um novo projeto. 2. Under the New Controller window type select an Emulator RSLogix Emulator 5000 Controller . Sob a janela do tipo de controlador Nova selecionar um Emulator - Emulador de RSLogix 5000 Controller. Give it a name and assign it to the same slot as the one you put in the Chassis Monitor which in our example is slot 2. D um nome e atribuir-lhe a mesma posio quanto a voc colocar no monitor do chassi que, no nosso exemplo o slot 2. Click OK . Clique em OK.

3. In RSLogix 5000's Controller Organizer, right click on the I/O Configuration folder, and then click New Module . Em 5000 o controlador RSLogix Organizer, clique direito sobre a pasta I / O Configuration e clique em New Module. The software displays the Select Module window. O software exibe a janela Selecionar Mdulo. 4. Open the Other folder. Abra a pasta Outros. Select the 1756-MODULE from the modules list and then click OK . Selecione o mdulo 1756 a partir da lista de mdulos e clique em OK.

5. The software displays the New Module window. O software exibe a nova janela de mdulo. a. a. Add a Name for the card. D um nome para o carto. b. b. In the Slot field put the number that corresponds with the Chassis Monitor. No campo Slot colocar o nmero que corresponde com o Monitor do chassi. c. c. For the Connection Parameters put in the following and click OK Para os parmetros de conexo coloque o seguinte e clique em OK

Assembly Instance Size Assemblia Tamanho Instncia

Input Entrada

11

22

Output Sada

22

11

Configuration Configurao

16 16

00

6. 7. On the next Module Properties screen make sure to change the Requested Packet Interval to 50.0 ms. Na prxima tela Propriedades do mdulo certifique-se de alterar o requerido Packet Interval para 50,0 ms.

Ready, Set, Go Ready, Set, Go


You are now ready to use the emulator just like you would any other PLC. Agora voc est pronto para usar o emulador apenas como voc faria com qualquer outro PLC.

Open Who Active and set the path to the RSLogix 5000 Emulator . Abra Who Active e configure o caminho para o RSLogix 5000 Emulator.

The inputs can be simulated in the emulator's Chassis Monitor by right clicking on the module and selecting Properties . As entradas podem ser simuladas no emulador do chassi do monitor pelo boto direito no mdulo e selecione Propriedades. Under the I/O Data tab is the ability to toggle each of the inputs on or off. Sob o I / O separador de dados a capacidade de alternar entre cada uma das entradas ligado ou desligado.

You might also like