Você está na página 1de 54

1756-RIO para Migraes

1756-RIO para Migraes:


Laboratrio de Mo

Laboratrio Treinamento Manual


1756-RIO PARA MIGRAES______________________________________________________7

SOBRE ESTE LABORATRIO____________________________________________________7

MATERIAIS DESTE LABORATRIO________________________________________________8

DOCUMENTO DE CONVENES__________________________________________________9

ANTES DE COMEAR________________________________________________________10

LABORATRIO 1 SISTEMA: PLC-5 (15 MINUTOS)______________________________________15

SOBRE ESTE LABORATRIO___________________________________________________15

CARREGANDO, FUNCIONANDO E ENTENDENDO O PROJETO PLC-5 ______________________15

LABORATRIO 2: SISTEMA LOGIX USANDO MODO MONITOR ADAPTADOR (35 MINUTOS)_________24

SOBRE ESTE LABORATRIO___________________________________________________24

CRIANDO O NOVO PROJETO LOGIX E CONFIGURANDO ADAPTADOR MODO MONITOR_________24

CRIANDO USO TAGS COMPLETA E USANDO A AUTOCONFIGURAO_____________________30

VENDO AS TAGS EM AO COM O ADAPTER MODO MONITORIZAO____________________35

CRIANDO O CDIGO LOGIX____________________________________________________37

COMPARANDO A LOGICA NO SISTEMA PARALELO___________________________________38

LABORATRIO 3: COMPLETANDO A MIGRAO LOGIX USANDO MODO SCANNER (10 MINUTOS)____42

SOBRE ESTE LABORATRIO___________________________________________________42

CONFIGURANDO O MDULO SCANNER 1756-RIO PARA MODE E CLEARING DO SCAN LIST____42

CRIANDO O SCAN LIST E CONFIGURANDO O MDULO BT (MDULO FLEX ANALGICO)______45

DELETANDO AS TAGS RIO E CRIANDO NOVAS TAGS FINAL RIO_______________________48

CRIANDO E ALTERANDO A LGICA CORRIGINDO NOME TAG E DELETANDO LGICA________50

TAREFA EXTRA 1: MODIFICANDO E USANDO O ESTADO DE SEGURANA (5 MINUTOS)___________53

SOBRE ESTE LABORATRIO___________________________________________________53

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 5 of 57
TAREFA EXTRA 2: INVESTIGANDO A MONITORAO DE FLE I/O NO MDULO 1756-RIO COM A
FERRAMENTA DE CONFIGURAO (5 MINUTOS)________________________________________54

SOBRE ESTE LABORATRIO___________________________________________________54

SUMRIO (5 MINUTOS)__________________________________________________________56

Sobre Este Laboratrio______________________________________________________56

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 6 of 57
1756-RIO Para Migraes
Sobre Este Laboratrio Manual.

Agora: o tempo de estar perto de seus clientes usuarios de PLC-3, PLC-5 (0,5 milhes de
unidades) e flex 1771- I/O (10 milhes de unidades) e assegur-lhes que esses produtos ainda so
um investimento sbio. No entanto, se seus clientes esto sendo abordados por concorrentes ou
seus clientes esto buscando novas tecnologias, certifique-se de estarem cientes de suas escolhas
de migrao. As ferramentas disponveis incluem:
1756-RIO mdulo para ajudar seus clients a iniciar a fase de migrao em qualquer sistema,
no rack use um adaptador scanner RIO e crie seu novo sistema enquanto utiliza efetivamente
os seus racks existentes remoto I/O 1771. Teste voc o cdigo Logix enquanto o seu sistema
PLC continua a produzir produtos.
O Sistema de Converso da fiao de I/O 1771 para 1756 I/O prever um mtodo para se
conectar a fiao dos mdulos 1771 I/O existente para os novos mdulos 1756 de Flex I/O
sem mexer em conexes de fiao. Isto reduz dramaticamente o tempo de trabalho elimina o
potencial tempo de inatividade. Que pode resultar em erro de fiao durante a migrao.
Ferramenta referncia cruzada no Integrated Architecture Builder (IAB) Para ajudar seus
clientes a seleciona os produtos ControlLogix corretos para facilitar a migrao. A ferramenta
gera uma lista de Materiais destaca as diferenas de especificaes entre o mdulo 1771 e
1756 mdulos de I/O.
Utilitrio converso cdigo Para ajudar a converter aplicao existente codifique o RSLogix
5000. Includo no RSLogix 5000 ou oferecido como um servio pago atravs do Suporte tcnico
da Rockwell.
Utilitrios de converso grfica So providenciados para converso interface operao.
PLC-5 e SLC para Logix Inicie Vdeos Paginas fornece instrues passo-a-passo para
migrao para seu PLC-5 para ControlLogix ou SLC para CompactLogix.
Programando Passos a frente foi alterado para ser includo o PLC-5 e 1771 I/O crditos ao
migrar para o ControlLogix e Flex 1756 I/O.
Documentos da Base de Conhecimentos ID 70199 (anterior a 2010) Comparao do 1756-
DHRIO e mdulo 1756-RIO para determinar qual mdulo mais adequado para uma migrao
em particular.
As sees a seguir explicam o que voc estar fazendo nesta sesso de laboratrio e o que
voc precisar fazer para completar os exerccios prticos.
O que voc vai completar neste laboratrio.
Quando voc completar o exerccio nesta seo do em mo, voc ter completado o PLC-5 para
Logix RIO migrao usando o mdulo 1756-RIO usando no modo adapter modo monitor e modo
scanner: voc ir:
Criar a substituio do cdigo Logix para preparar para a migrao do PLC-5 para Logix.
Verifique seu cdigo de substituio Logix ao ver por dentro do Flex I/O usando o modo
Adapter Monitor.
Use o mdulo 1756-RIO para exportar tag, criar e usar tags amigveis para seu cdigo Logix.
Use o mdulo 1756-RIO no modo Scanner para finalizar a migrao.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 7 of 57
Use a caracterstica do autoconfigure do mdulo 1756-RIO para simplificar a criao do da lista
no scan list.
Use both do automatic e manual mapping caracterstica do mdulo 1756-RIO.
Configure e use o mdulo Flex analgico em modo semiautomtico para que o mdulo
analgico tenha o valor de configurao no estado seguro que pode ser programaticamente
modificado. Veja os dados via monitor.
Quem Deve Completar Este Laboratrio
Este laboratrio em mo destinado a individuos que precisam migrar para clientes da plataforma
PLC-3, PLC-5 e 1771 I/O para Logix.

Materiais Deste Laboratrio

Para este laboratrio em mos, fornecemos os seguintes materiais que permitiro a voc
completar este laboratrio com este manual de trabalho.
Hardware
Este lab. em mos usa os seguintes hardware:
ControlLogix box demo com.
L63 no slot 1
1756-EN2T no slot 6
1756-IB16D no slot 2. DI12 switch usado
no lab.
1756-CNB no slot 3 n nmero 6 com
seu tap (derivador) ControlNet conectado.
1756-RIO no slot 5 RIO cabo azul
conectado ao conector forntal.
Computador com Ethernet
ControlNet Modificada com box Flex I/O
demo.
1794-ASB, 1794-IE4XOE2 Series B, 1794-
OB16 RIO cabo azul conectado no
conector frontal. O potnciom. meter e 4
lmpadas piloto em uso neste lab.
PLC-5 n1 com o tap ControlNet
conectado. O RIO cabo azul conectado no
canal 1B. Dependendo de que parte do lab
voc est executando vai determina se o
cabo azul vai ser conectado ou desconect.
no canal 1B da DH+RIO.
1771-SIM no slot a direita do PLC-5. No
topo o switch usado neste lab.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 8 of 57
Software
Este laboratrio em mo usa os seguintes software:
RSLogix 5000 (V18 ou mais novo). V18 foi usado neste lab. O mdulo 1756-RIO pode ser
usado com a V17 mais requer a instalao manual do 1756-RIO AOP.
Arquivos do Laboratro
Neste laboratrio use os seguintes arquivos em C:\Lab Files\HOTT2010\1756-RIO:

Reset.acd e reset.rio Para reset do mdulo 1756-RIO para o modo


adaptador com configurao vazia no (scan list)

RIOSCNR.RSP PLC-5 projeto que controla Flex I/O sobre RIO.


Este o sistema a ser migrado a partir de.

Monitor.acd, MainRoutine.L5X, monitor.rio, Cdigo usado desenvolvido testado no Logix


56RIOAdptAlias.csv cdigo. Este o sistema a ser migrado para.

Scanner.acd, scanner.rio, 56RioAlias.csv Sistema final de arquivos Logix (migra. completa)

Convenes Documento

Ao longo desta pasta de trabalho, utilizamos as seguintes convenes para ajudar a orient-lo
atravs dos materiais de laboratrio.
Este estilo ou simbolos: Indicados:
Words mostradas em negrito Qualquer item ou boto que voc deve clicar, ou um nome de
italics menu a partir do qual voc deve escolher uma opo ou
(e.g., RSLogix 5000 or OK) comando. Este ser um nome real de um item que voc v
na tela ou em um exemplo.

Words mostradas em negrito Um item que voc deve digitar no campo especificado. Esta
italics, entre sitaes simples uma informao que voc deve fornecer base na sua
(e.g., 'Controller1') aplicao (e.g., a varivel).
Nota: Quando voc digita o texto no campo, lembre-se de
que no precisa digitar aspas; Simplesmente digite as
palavras que esto contidas neles (e.g., Controller1).

O texto que aparece dentro desta caixa cinza informao


suplementar sobre os materiais de laboratrio, mas no a
informao necessria para que voc complete os exerccios
de laboratrio. O texto que segue este smbolo pode fornecer
dicas teis que podem facilitar o uso desse produto.
Na maioria das vezes, os autores usam esse estilo "Tip Text"
para informaes importantes que eles querem que seus
alunos vejam.

Nota: Se o boto do mouse no especificado no texto, voc deve clicar com o boto direito do
mouse.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 9 of 57
Antes de Voc Comear

Os seguintes passos deve ser


completados antes de iniciar os
exerccios do laboratrio:

1. Feche qualquer software aberto


do lab. anterior.

2. Verifique se o controlador L63


esta no slot 1 do backplane.

3. Verifique se o 1756-IB16D esta


no slot 2 seu ramal esta ligado.
Voc vai usar o DI12.

4. Certifique-se que o 1756-CNB


esta no slot 3.

5. Certifique-se que o 1756-RIO


esta no slot 5.

6. Certifique-se que o ControlNet


taps esta conectado entre o
PLC-5 n 1 do 1756-CNB at o
n 6. Conexo requerida para
fazer download at o PLC-5.

7. Certifique-se que o cabo azul


esta conectado entre o RIO
1794-ASB 1756-RIO. Se tiver
conectado, pegue devagar o
conector do canal 1B RIO no
PLC-5 e desconecte o mesmo.

8. Certifique-se que o modulo


1771-SIM esta no slot a direita
do PLC-5. Voc vai usar os
switch superior.

9. Notificao da localizao de: potencimetro analgico, e lmpadas piloto. Voc vai usar estes
itens no laboratrio. O modulo analgico 1794-IE4XOE2 conectado ao potencimetro no
canal 0. O mdulo 1794-OB16 os bits de 0 a 3 so conectados as lmpadas piloto.

10. Agora precisamos coloca o mdulo 1756-RIO em um estado conhecido. Queremos mudar seu
modo de scanner para adapter e em seguida um download para baixar uma configurao vazia
ou um scan list. Vamos comear. Certifique-se de que o Logix o PLC-5 esto no modo
remoto de programa. Gire a chave switch todo curso para a direita e em seguida para a
posio do ponto central (meio).

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 10 of 57
11. Browse para C:\Lab Files\HOTT2010\1756-RIO d duplo click em reset.ACD.

12. Quando abrir o RSLogix 5000, d duplo click no 1756-RIO na pasta I/O Configuration.

13. Queremos mudar o modo do mdulo 1756-RIO para adapter. Select the Remote I/O tab.

14. Selecione o boto Browse em browse selecione C:\Lab Files\HOTT2010\1756-RIO\reset.rio.


Aceite Open. Aceite Apply. Selecione o Launch the 1756-RIO Configuration Tool button. Se
o Launch button no est ativo, ento feche as propriedades do modulo reabra na guia
Remote I/O.

O browse o
processo de
navegao
inscrio para
realmente definir a
configurao e o
(path) caminho para
o mdulo 1756-RIO
a configurao de
arquivo para este
projeto Logix. Muitas
vezes est a parte
mais difcil sobre o
uso do mdulo 1756-
RIO a ferramenta
de configurao.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 11 of 57
15. No mdulo 1756-RIO Configuration Tool selecione Tools > Set 1756-RIO Module
Scanner/Adapter Mode. Se voc no v myreset, ento voc no fez a configurao da rota
(path) para reset.rio. Browse para o file reset.rio e aceite Aplicar na propriedade do Module.

O modulo tem a sua prpria


ferramenta de configurao.

16. Expandir a raiz do AB_ETHIP_1 driver.

17. Ao Expandir o Browse voc seleciona 1756-RIO module na sua estao e seleciona OK.

18. Na guia 56RioSetMode, certifique que o New Mode o 1756-RIO-ADPT. O Corr Mode: pode
ser um adapter ou scanner dependendo do estado em que ficou o hardware. Click em OK.

O padro (default) para


o New Mode sempre
ser o oposto para o
Curr Mode.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 12 of 57
19. Selecione OK para a confirmao na caixa de dialogo.

20. Voc vai ver a caixa de dialogo em progresso. Olhe no frontal do module. O display mostra o
reincio do mdulo . O display mostra eventualmente no display RIO Adapter v2.2.4 Click em
OK para o sucesso da caixa de dialogo.

21. O modo de operao do mdulo 1756-RIO foi alterado. Agora queremos garantir a nova
configurao no (scan list) a velha seja limpa. Um arquivo de configurao vazio foi criado,
ento vamos baix-lo. No main menu, selecione Configure > Download Configuration.

22. Fora do Browse no diretrio raiz, voc seleciona o mdulo 1756-RIO e click OK.

23. Voc saber que a lista de configurao esta limpa no mdulo pelo myreset que est sendo
mostrado no mdulo. Coloque o novo conector RIO no canal 1B do mdulo do PLC-5.

24. Feche o 56RIOCfgAdpt tool. Feche o RSLogix 5000. Se solicitado, no salve nada.

Em uma migrao real voc precisa alterar o 1756-RIO de scanner para adapter porque a sada da
caixa de estado do 1756-RIO um scanner. Agora voc est pronto para iniciar o laboratrio

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 13 of 57
Lab 1: PLC-5 Sistema (15 minutos)
Sobre Este Laboratrio

Neste laboratrio voc vai carregar o projeto para o PLC-5 e saber como seu cdigo controla os
Flex I/O na preparao da converso deste projeto para Logix usando o mdulo 1756-RIO.

Siga as etapas abaixo para concluir a seo de laboratrio1.

Carregando, Funcionando e Entendendo o Projeto PLC-5

O I/O usado neste laboratrio o switch no topo do mdulo 1771-SIM, o Flex analgico input canal
0 que ligado no potnciometro, O Flex analgico output canal 0 que ligado no indicador, e o
Flex discreto output module ligando as outputs de 0 a 3 ligado a lmpadas Pilotos de 0 a 3.

O controle de Flex I/O ser o seguinte:

Quando voc vira a chave superior do mdulo 1771-SIM na (posio para cima), Ento voc ver a
agulha do medidor seguir o potnciometro (Vire o potnciometro para frente e para trs e veja a
agulha do medidor ir e voltar). E, voc ver que as lmpadas piloto se contam de forma binria de
0 a 15. O padro ser repetido at que a chave superior do 1771-SIM seja desligado. O padro
das luzes piloto est definido na tabela abaixo:

(1)PL_0 on off on off on off on off on off on off on off on off

(2)PL_1 off on on off off on on off off on on off off on on off

(4)PL_2 off off off on on on on off off off off on on on on off

(8)PL_3 off off off off off off off on on on on on on on on off

(x) (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (0)
decimal
value

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 15 of 57
1. Siga os passos da seo Antes de Voc Comear a prosseguir neste documento.

2. Desligue a chave (posio para baixo) chaves no topo do mdulo 1771-SIM.

3. Usando a chave da cpu pass o PLC-5 para (remote program) girando a chve todo curso para
a direita e em seguida para a posio do ponto central, (chave da cpu no meio).

4. No Browse ir em C:\Lab Files\HOTT 2010\1756-RIO d duplo click no arquivo chamado


RIOSCNR.RSP. Isto vai lanar o RSLogix 5.

5. Click OK no pop-up ControlNet na caixa de dialogo com Aviso.

6. Agora devemos arregar este projeto para o controlador. No main menu selecione Comms >
System Comms.

7. Na guia Communications tela


de dialogo, expandir a raiz
AB_ETHIP_1, Ethernet driver.

8. Expandir o 1756-Ethernet
mdulo na sua estao Cp na
caixa demo do ControlLogix.
Olhe na frente do mdulo
para o endereo IP.

9. Expandir o Backplane.

10. Expandir a raiz do mdulo


1756-ControlNet.

11. Expandir a raiz ControlNet.

12. Selecione o PLC-5 em n 1.

13. Selecione Download.

14. Selecione Yes para proceguir com o download.

15. Selecione o grfico direito para Manter os PLCs corrente com a ControlNet Configuration.

16. Diga NO para (go online). Selecione Comms > System Comms. Selecione Online Now.

17. V para remote run mode usando o software ou movendo a chave todo curso para a direita e
em seguida para a posio do ponto central, (chave da cpu no meio).

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 16 of 57
18. Ligar a chave (posio para cima) a chave no topo do mdulo 1771-SIM.

19. Gire o potnciometro ida e volta verifique se a agulha do medidor analgico segue a posio
do potnciometro.

20. Verifique se as lmpadas piloto esto acendendo de 0 a 16 em binrio e repetindo.

21. Gire a chave no topo do mdulo 1771-SIM desligando e depois, verifique se as lmpadas piloto
esto piscando em sequncia comeando a liga do zero.

22. Vamos rever o cdigo responsvel por controlar este Flex I/O. O cdigo consiste de 7 degraus
(rungs). D duplo click em LAD 2 para ver o cdigo.

23. Vamos rever cada degra (rung) ao mesmo tempo.

Rung 0: No primeiro scan do programa, ajuste o Flex discreto e analgico outputs para zero. Ajuste
o Segundo valor para zero. Isto o valor este o valor a ser enviado ao Flex discreto para outputs
para criar a contagem padro.

Voc no v os tipos de
comentrios por que os
comentrios no fazem
parte do arquivo RSP.
Frequentemente o projeto
documentao, perdido
em outros sistemas. O fato
de sua verso do cdigo
no exibir no display os
comentrios realidade,
certo? Os comentrios
exibidos aqui foram gerados
pelo recurso de
configurao de I/O do
RSLogix 5.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 17 of 57
Rung 1: Reescrever as configuraes de valores do Flex analgico para o bloco BTW arquivos de
dados certifique-se de que a configurao no pode ser alterada (a menos que voc altere o
cdigo). Os bits multiplex so setados para ser usado na output analgica do canal. O range
configura os bits setados a todos os canais de 0 a 10 vdc. o estado seguro do canal 0 e canal 1,
setando o canal output em estado seguro para o valor zero.

Nossos nomes
e descries de
tags Logix
amigveis ao
usurio sero
parte do arquivo
acd do Logix
para que a
documentao
permanea com
o cdigo no
controlador e
no no
computador de
desenvolviment
o!

Rung 2 e 3: Instruo BTW para escrever na configurao analgica e output analgica de dados
para o Flex analgico combinando com o mdulo. A instruo BTR leitura na input analgica de
dados bem embaixo do range e diagnsticos de bits.

As instrues de
transferncia de
bloco so
transparentes na
soluo Logix /
1756-RIO. E os
dados possuem
nomes de tags
amigveis que so
gerados
automaticamente!

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 18 of 57
Rung 4: Quando a chave no topo do mdulo 1771-SIM verdadeiro, envia o valor em segundos
para o mdulo Flex discreto de output move o valor do potnciometro para o medidor analgico.

Rung 5: Quando a chave no topo do mdulo 1771-SIM falso, ento reseta o valor em segundos
o mdulo Flex discreto analgico de outputs para valor zero.

Rung 6:

24. Manipule o potencimetro e ligue/desligue varias vezes a chave at que esteja confortvel com
a compreeno do funcionamento das sadas como esto sendo manipuladas.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 19 of 57
25. Double-click on I1 and flip the top switch of the 1771-SIM card to convince yourself that I:000/0
is the data table file location that corresponds to this local input switch.

26. Close I1. Double-click on O0 and watch O:011 count up when the top switch of the 1771-SIM
card is on. Convince yourself that O:011 is the data table file location that corresponds to the
Flex discrete outputs and pilot lights.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 20 of 57
27. Close O0. Double-click on N9 and move the pot back and forth with the top switch of the
1771-SIM module on. Convince yourself that data table location N9:0 is the pot and data table
location N9:5 is the meter.

28. Close N9. We have one last data table location to review. Double-click on S2.

29. Flip the top switch of the 1771-SIM module on and off. Convince yourself that the code is really
resetting the seconds value of the controllers real time clock.

30. Close RSLogix 5. Dont save changes if prompted.

Why did we look at these data table locations? Because when we use the 1756-RIO module in
adapter monitor mode we want you to be convinced that you are really looking at the same data.
The concept of the adapter monitor mode is to compare the PLC-5s RIO values with the code
being developed in Logix. At the point that you are convinced that Logix creates the same RIO
outputs as required, then the 1756-RIO module can take over the system and run as a true RIO

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 21 of 57
scanner. This provides for a very smooth transition from PLC-5 to Logix. A smooth migration means
the least amount of lost production at the factory!

To complete our understanding of the PLC-5 code we need the Block Transfer definitions for our
Flex analog module. Below is the definition for Block Transfer Read (BTR) and Block Transfer Write
(BTW) to the 1794-IE4XO2E2/B from Publication 1794-6.5.3. The PLC-5 code is doing an 8 word
BTW and 5 word BTR to this analog module. The code is set up to rewrite the Multiplex (allow
analog outputs), Full Range and Configure Select (set each channel to 0-10 vdc) and Safe State
Values (0 both output channels) each and every BTW. We will want to write the code in Logix in a
similar manner.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 22 of 57
You have completed Lab 1.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 23 of 57
Lab 2: Logix System using Adapter Monitor Mode
(35 minutes)
About This Lab

Now we will switch our attention to Logix. We will use the 1756-RIO module in adapter monitor
mode and create Logix code that will control Flex I/O in a similar manner as the PLC-5. At first we
will run Logix in parallel with the PLC-5 and just monitor inputs and outputs. When we have proved
that the Logix code gets the same results as the PLC-5 code, we will disconnect the PLC-5 from
RIO and let Logix control the Flex I/O.

Follow the steps below to complete Lab Section 2.

Creating a New Logix Project and Configuring Adapter Monitor Mode

1. Double-click on the RSLogix 5000 desktop icon to start the software.

2. If the Start Page appears, close it.

3. From the main menu select File > New.

4. Match the settings below. Then click OK.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 24 of 57
5. Ultimately we will want the Logix project to mimic the PLC-5 project so we need a switch to
enable the remote I/O. So our switch will be DI12 on the ControlLogix demo box. So we will
need to add the DC Input card in slot 2 to our Logix project. Right-click on 1756 Backplane
and select Add New Module.

6. Expand Digital and select 1756-IB16D. Click OK.

7. Click OK to the revision dialog box.

8. Match the settings found below. Select OK. Select OK.

9. Now we are ready to add our 1756-RIO module. Right-click on 1756 Backplane and select
New Module.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 25 of 57
10. Expand Communications. Scroll down. Select 1756-RIO. Hit OK.

11. Match the settings found below. Then hit the Change button. Dont worry if the revision is
newer.

12. Using the drop down menu for Mode, select Adapter. Click OK.

13. Click Yes to the confirmation dialog box.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 26 of 57
14. Select the Remote I/O tab.

15. Enter monitor.rio for the file name. Hit the enter key.

16. Say Yes to the dialog box. Notice that the file will be created in the default RSLogix 5000
Projects directory.

17. The module properties dialog box closes. Double-click on 1756-RIO again.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 27 of 57
18. Select the Remote I/O tab. Notice that the 1756-RIO Configuration Tool button is now active
(not grayed out). Now launch the tool by selecting button shown below.

19. Select Tools > Set 1756-RIO Module Scanner/Adapter Mode.

20. Browse out and select your 1756-RIO. Click OK.

21. Change the New Mode to 1756-RIO (adapter). Select OK.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 28 of 57
22. Click OK to the confirmation dialog box.

23. Watch the display on the 1756-RIO module. Youll see various messages that inform you that
you have essentially rebooted the module. Click OK in the success dialog box.

24. Make sure the L63 and the PLC-5 in remote program mode.

25. Now lets make sure we have downloaded an empty scan list to the 1756-RIO module. Right-
click on RIO Config and select 1756-RIO Properties.

26. Match the settings found below. Select OK.

27. Now download the configuration by selecting Configure > Download Configuration.

28. Again browse to and select your 1756-RIO module. Select OK.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 29 of 57
Verify the download by looking at the display of the 1756-RIO module and confirm that you see
[mymonitor] scrolling across the display.

You have completed the basic configuration of the hardware including downloading an empty
configuration to the 1756-RIO module.

Now we want to use the automatic tag generation capability of this tool. To do this we need to
create an array of INT tags that will be used for output placeholders or comparison tags.

Creating Useful Tags and Using Autoconfiguration

1. Right-click on Controller Tags and select New Tag.

2. Carefully match the settings found below. Click OK.

Spelling Counts!

Data Type and Size of the


array counts!

This 2 dimensional array is


used for storing a set of Logix
RIO tags so that the values
can be compared to a set of
PLC-5 RIO tags to validate
the Logix code.

This is a very handy feature


of the 1756-RIO module.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 30 of 57
Now we will autoconfig and pick up (or snoop or monitor) the RIO traffic on the blue hose.

3. Bring the 1756-RIO Configuration Tool back into focus.

4. Flip the top switch up on the 1771-SIM module. Slowly turn the PLC-5 key switch back and
forth to run, program, run. Linger in run mode so that the code has time to execute for a few
seconds. This allows the 1756-RIO in adapter monitor mode to capture the RIO traffic on the
wire. The 1756-RIO module needs to see both normal BT and configuration BT.

5. End with the PLC-5 in remote program mode. Make sure Logix is in remote program mode
too. Steps 3 and 4 are very important. If done incorrectly, the autoconfiguration will not work.

6. Click on the autoconfiguration button. It looks like a magic wand.

7. Click Yes to the dialog box.

8. Notice the Auto-Configured banner. Expand Rack 01.

9. Expand Rack 01 again. If you do not see a BT-Module in the list, then switch the PLC-5 key
switch back and forth a few times. Make sure the top switch of the 1771-SIM module is up. End
in remote program mode and do the autoconfiguration again.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 31 of 57
10. We have a generic BT Module. We want to select the exact BT module and configure the
channels. Double-click on

11. Use the pull down and select 1794-IE4XOE2. Select OK.

Your display now it looks like:

12. Now we want to export and import the tags. Once that is done then we can look at the data
coming from the PLC-5 and then begin writing our Logix logic to match the existing PLC-5
program. Select Tools > Export Alias File.

Note: This export is


like use the DeviceNet
Tag generator.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 32 of 57
13. Hit the ellipse button and browse out to C:\RSLogix 5000\Projects. Hit Save. Then carefully
match the following:

Monitored RIO Input and Outputs tags are from the PLC-
5.
RIO Output Placeholder tags are for your Logix code.
O When the values of the ROI Output Placeholder tags
equal the values of the Monitored RIO Input and Output
tags, then your Logix code is equivalent to your PLC-5
code!
Active RIO Inputs tags are when the module is acting as
an adapter (PLC-5 adapter mode for peer to peer
communication). These tags are not used in the lab.

14. Did you truly match all the settings found above? If not, the lab wont work. If TempOut array
was not previously created with the correct data type and dimensions, then the lab wont work.

15. Click OK.

16. In main menu of RSLogix 5000 select Tools > Import > Tags and Logic Comments.

17. Browse to C:\RSLogix 5000\Projects and select 56RioAdptAlias.csv. Hit Import.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 33 of 57
18. Lets see what tags the software has created for us. Double-click on Controller Tags.

19. Click on the Edit Tags tab. Expand the columns until your display looks like the one found
below. If you see red Xs, then the Base Tag for TempOut was not made. Take some time to read
the descriptions. Wow, this is just like the DeviceNet Tag Generator!

The Local tags were created when you added the 1756-RIO modules to the project. To make
these 1756-RIO tags more useable, you created the TempOut array and performed an
export/import tag procedure to get all the alias tags and descriptions as found below.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 34 of 57
20. All the tags starting with RIO_mon are the PLC-5 RIO tags that Logix is listening in on. All the
tags starting in RIO_Out_Compare are the Logix RIO tags to be used when developing the
Logix code. The goal is to have the values on the left (Logix) EQUAL to the values on the right
(PLC-5). Included in this list are the Flex discrete output, Flex analog output ch 0, and the Flex
analog module configuration values.

21. Select the Monitor tab so we can view the data.

22. Save your work in RSLogix 5000.

Seeing the Tags in action with Adapter Monitor Mode

1. Lets download our project and see the monitor mode work before we write our Logix logic.
Select Communication > Who Active.

2. Browse to and select your controller. Select Download.

3. Select Download again.

4. Put both the PLC-5 and L63 in remote run. Make sure the BTs are executing by making sure
the top switch is up on the 1771-SIM module.

5. Move pot in the Flex I/O demo box all the way to the right.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 35 of 57
6. Verify that your data is similar to the following screen shot. The values in the two circled areas
are not equal, so our migration is NOT complete!!!!

Lets tour where the data is coming from.

The first discrete output location is reserved for the BT module or analog Flex card (slot 0). The
screen shot actually caught the request for a BTR of 5 words. The second discrete output location is
for the pilot lights wired to the 1794-OB16. The output pattern is counting up. The last 4 bits are
wired to the pilot lights.

The analog pot value is found in RIO_mon_inr01g0s0_BTR_InputCh0. Move the pot back and forth
and see the data change.

So we are getting the RIO input and output data needed to verify the Logix code that we are going
to write. Once we are convinced that the Logix code resolves the RIO outputs in the same way as
the PLC-5, then we can remove the PLC-5 from the system, and set up the 1756-RIO module to be
a scanner. Or in other words, complete the conversion.

Well, to save time we have the Logix code prewritten and we will import it. RSLogix 5000 has a built
in translation tool to help with code conversions. The start page videos posted at
www.ab.com/go/iatools help you to use the translation tool. The translation tool is being re-written
to be new and improved. However, it has not been released yet and is not part of the V18 launch (or
in other words only the old tool is available at this point.)

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 36 of 57
The translation tool can be launched from RSLogix 5000 as shown below.

THIS IS NOT A STEP. THIS SCREEN SHOT IS FOR ILLUSTATION PURPSES ONLY!

Creating the Logix code

1. Go offline in RSLogix 5000.

2. Expand the items under Tasks until you see MainRoutine. Right-click on MainRoutine and
select Delete. Select Yes in the confirmation dialog box.

3. Right-click on MainProgram and select Import Routine. Browse to and select C:\Lab
Files\HOT2010\1756-RIO\MainRoutine.L5X. Hit Import.

4. Click OK in the pop up Import dialog box. If you review the messages in the RSLogix 5000
Errors window, you should have no warnings, no errors, and no tag collisions.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 37 of 57
5. Right-click on MainProgram and select Properties.

6. Select the Configuration tab. Using the pull down select MainRoutine. Click OK. This step
allows the newly created MainRoutine to run. If you forget this step, then you will see all zeros in
your Logix RIO tags when you download and run the project in the controller.

Comparing the Logic in the Parallel System

Lets look at the logic that we imported.

7. Double-click on the MainRoutine.

On the first scan we set the remote digital and analog outputs to 0 and set the value of the
controllers wall clock including the seconds value being set to 0. The RIO_Out_Compare tags are
the Logix placeholder tags. In the final project the real output tags will be used.

In the next rung we get the value of the wall clock. We get the seconds value and place it in
set_time[5].

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 38 of 57
In rung 2, we set the configuration of the RIO analog module. The multiplex bits allow us to use the
analog output channels, the range select bits sets all the channels to 0 to 10 vdc, and the safe state
value means the channel will go to 0 when the controller goes to program mode. Again, Logix
placeholder tags are used.

In rung 3 if DI12 is true, then the current seconds value gets sent to the RIO digital outputs and the
pot value is sent to the meter. For outputs Logix placeholder tags for used. For remote I/O inputs,
the RIO_mon tags are used.

In rung 4, if DI12 is false, then 0 is sent to the RIO digital and analog outputs and the wall clocks
second value is reset to 0. Again, Logix placeholder tags are used.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 39 of 57
In rung 5 we are comparing the analog output value to see if our Logix resolved analog output
equals the value being generated by the PLC-5 and monitored by the 1756-RIO module. This rung
will be deleted in the final Logix project. A small difference is allowed here. This is due to time
delays in moving the analog input to output.

In rung 6 we are comparing the digital output value to see if our Logix resolved analog output
equals the value being generated by the PLC-5 and monitored by the 1756-RIO module. This rung
will be deleted in the final Logix project. These values may be off by 1 depending on how close in
time that DI12 and the top switch of the 1771-SIM card went true. The action of switching both
switches together is required to synchronize the two programs in the two controllers.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 40 of 57
1. Now lets see if this code works. Turn DI12 off. Turn off the top switch on the 1771-SIM
module.

2. Download to the L63 controller.

3. Put both controllers in remote run mode.

4. At the same time turn on both DI12 in the Logix demo box and the top switch of the 1771-
SIM module. This is to synchronize the outputs.

Take some time to look at the executing code and convince yourself that the Logix code is ready to
replace the PLC-5. Specifically look rungs 5 and 6 and confirm that the difference between the
Logix resolved outputs and the PLC-5 outputs is zero, meaning that the Logix generated code is
good. Now it is time to do the final part of the conversion.

Take some time to monitor the controller tags. Below is some screen shot magic. Here you can see
that the Logix RIO output tag values match the PLC-5 RIO output tag values. So we are good to go
on the final piece of the migration!

5. Save your work in RSLogix 5000.

6. Close the RIO configuration tool. If prompted, save changes.

You finished Lab 2.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 41 of 57
Lab 3: Completing the Logix Migration using
Scanner Mode (10 minutes)
About This Lab

Now it is time to let Logix take over. Please note that the PLC-5s BTR length is 5 and BTW length
is 8 to the Flex analog module. Our general lab steps can be summarized as:

We are going to change the mode of the 1756-RIO module from adapter to scanner.

Do an autoconfig.

Manually Map the remote I/O to save space in Logix.

Configure the analog card for Semi-Automatic so that the BTW lengths match the PLC-5 program
and so that we can change the config on program to run. Block Transfers can run in automatic,
semi-automatic and manual mode. For details on the differences, see the users manual, 1756-
UM534.

Import/export tags.

Then modify the code to use the real tags vs. the place holder tags.

Finally, we will download, run and be happy!

Lets get started.

Follow the steps below to complete Lab Section 3.

Setting the 1756-RIO module to Scanner Mode and Clearing the Scan
List

1. Go offline in RSLogix 5000.

2. Put both controllers in remote program.

3. Gently and carefully grasp the RIO connector on channel 1B of the PLC-5 and remove it.

4. Double-click on 1756-RIO.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 42 of 57
5. Select the General tab. Select the Change button. Select Scanner. Click OK. Say Yes to the
confirmation dialog box.

6. Select the Remote I/O tab. Now we need to create a new configuration file. Type in the new file
name of scanner.rio. Hit the enter key. Reply Yes to the pop up confirmation box.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 43 of 57
7. Double-click on the 1756-RIO module again to open its properties and select the Remote I/O
tab.

8. Launch the configuration tool.

9. Select Tools > 1756-RIO Module Scanner/Adapter Mode.

10. Browse to and select your 1756-RIO module. Hit OK. Make sure you select SCANNER in the
set mode dialog box. Click a series of OKs to complete the 1756-RIO mode change. Look at the
display on the 1756-RIO module and confirm that the module is in scanner mode.

11. Right-click on the rack and select 1756-RIO Properties.

12. Match the settings below and select OK.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 44 of 57
13. Select the download button to clear the scan list

14. Browse out and select the 1756-RIO module. Click OK.

When you are done the display on the front of the module should match the tool and say
myscanner.

Creating the Scan List and Configuring the BT Module (Flex analog
module)

1. Now we will autoconfig to create the scan list. Select the autoconfig button. Click Yes.

2. Now expand Rack 01.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 45 of 57
3. Expand again. We dont have the analog module so double-click on the first discrete entry
in the list.

4. Carefully match the settings below:

5. Click OK. Now we need to map where the data will go in the block of memory allocated for slot
5.

xxx indicates that


the entry needs to
be mapped to a
location in the 248
INTs that were
created for slot 5
(the 1756-RIO
module) known as
Local:5:I0 and
Local:5:O0

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 46 of 57
6. Right-click on the analog module and select BT Module Clx Map Assign Manually.

7. Carefully match these settings. Click OK.

Now you see this:

Pot and Meter


Pilot Lights

8. Now that all the entries are mapped we can download to the scanner. Click the download
button. Notice the empty banner. Confirm the empty banner on the display of the 1756-RIO
module. This gives you positive feedback of the download.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 47 of 57
Deleting RIO tags and Creating New Final RIO Tags

So lets delete the RIO tags in the Logix project and then export and import the new RIO tags.

1. Double-click on Controller Tags. Click on the Edit Tags tab.

2. In the left most column next to the tag names select all items that start with RIO and delete.
Delete the array called TempOut. When you are done you have these remaining tags.

3. Now go back to the configuration tool. Select Tools > Export Alias File.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 48 of 57
4. Using the ellipse button, Browse to C:temp. Create the directory if needed and select Save.
Match the following settings. Select OK.

5. From the main menu in RSLogix 5000, select Tools > Import > Tags and Logic Comments.

6. Browse to C:\temp and select 56RIOAlias.csv. Hit Import.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 49 of 57
Now you have the final tags for your project.

All we need to do is use these tags in our logic.

Making the Logic Changes Correcting Tag Names & Deleting Logic

1. Double-click on the MainRoutine.

2. Everywhere we see we need to fix one or more tag names to eliminate the tag
name text of Out_Compare, mon_in, and mon_out. Do this with three search and
replace actions where the replace is nothing but the search is Out_Compare, mon_in
and mon_out. Go ahead and make the change without step-by-step instructions.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 50 of 57
Your goal is to match this:

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 51 of 57
3. Delete the last two rungs before the END statement. The conversion verification code is no
longer needed.

4. For completeness lets rename the controller from monitor to scanner. Click on the Controller
Properties button.

5. Change the Name to scanner. Select OK.

29. Time to test our work. Download to the controller and go to run mode. Turn DI12 on and off
to start and stop the remote I/O. Verify that when you go to program mode that the needle goes
to zero. Verify that when you are in run mode and DI12 is on that the meter follows the pot and
the pilot lights are counting. Congratulations you just completed your first PLC-5 to Logix
migration.

You completed Lab 3.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 52 of 57
Extra Task 1: Modifying and Using Safe State (5
minutes)
About This Lab

The code was written such that the Flex analog module configuration is written to the module each
time the controller goes from program to run mode. Lets make a Flex analog module configuration
change and prove that it indeed works this way.

Follow the steps below to complete the Extra Task.

1. Go offline and modify the Channel 0 safe state value to 16#0fff. With DI12 on, download and go
to run mode. Verify that the meter follows the pot and that the pilot lights are counting.

2. Go to program mode. Verify that in program mode the needle is above zero. Before this change
the needle would have been at zero when the controller was put into program mode.

You finished the Extra Task 1.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 53 of 57
Extra Task 2: Investigating the I/O Monitor in the
1756-RIO Configuration Tool (5 minutes)
About This Lab

The 1756-RIO Configuration Tool has other features that we have not investigated. Lets take a
quick look at the Discrete I/O and Block Transfer Monitors.

Follow the steps below to complete the Extra Task.

1. Right-click on the analog module and select Monitor BT Module.

2. Expand the window that opens. Notice all the details being provided about the block transfers
being executed to and from the Flex analog module. It even has error counters! Earlier in the lab
we configured the Block Transfers to execute every 40 msec. Here we have feedback on the
actual update time. Cool!

3. In the main menu click Help > Help Topics and read about this tool.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 54 of 57
4. When you are done exploring close this window.

5. Right-click on Rack01 and select Monitor Discrete Outputs.

6. Notice the circled Flex Discrete output value. Notice how this monitor displays I/O in octal. You
gotta love 1771 I/O!

7. Explore the help file for this monitor.

8. When you are done exploring, close all the software.

You finished the Extra Task 2.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 55 of 57
Summary (5 minutes)
About This Lab

In the lab you learned about the 1756-RIOs adapter monitor mode and its import/export tag
database feature that takes the risk out of converting a PLC-5 RIO project to Logix. Things to
remember when using the 1756-RIO module include:
The 1756-RIO module requires a controller when used in adapter mode.
Make sure the RIO activity has been seen on the network before you perform the
autoconfiguration in adapter monitor mode. Put all controllers and scanners in program mode
before you perform the autoconfiguration.
Make sure you create the tag array of proper size before you export the tags for the Logix
conversion code. Make all prefixes unique and check all the boxes.
The 1756-RIO Users Manual is very good. It is publication number 1756-UM534.
Use Knowledge Base Document ID 70199 (late 2010) to determine whether the 1756-DHRIO or
1756-RIO module is best suited for a particular migration.
Remember when talking to customers who use PLC-5 and 1771 I/O:
Assure customers that it is still a wise investment. Rockwell Automation will continue to make
and sell these products as long as components are available.
Train your customers on other Rockwell Automation solutions (ControlLogix and Integrated
Architecture) to prepare them for the future and overcome their apprehension of using next
generation products.
Quantify the value of our migration tools by reminding your customer that
Conversion hardware and swing arms eliminate the need to drill mounting holes and reduces
the need to unwire and rewire I/O wiring.
The IAB tool selects the best 1756 I/O to replace the 1771 I/O module. It also provides a
detailed specification difference between the two modules. This saves time and avoids
application issues during migration.
That migrating to a ControlLogix will reduce the cost of spares.
The software conversion utility converts existing RSLogix 5 to RSLogix 5000 programs and
reduces the time to rewrite a new program.
The 1756-RIO module equals the performance of a PLC-5 as well as provides transparent block
transfer coding, a scanner monitor mode to eliminate Logix code errors, and an import/export
tag tool to create user friendly I/O tag names.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 56 of 57
Additional Migration Solutions Information can be found at:
U.S. Channel Extranet : Industries & Solutions > Migration Solutions
U.S. Channel Extranet : Industries & Solutions > Migration Solutions > Step Forward Program
MIGRAT-PP003 PLC-5 to Logix Migrations Product Profile
1492-SG121 1771 to 1756 I/O Field Wiring Conversion System Selection Guide
1492-PL044 1771 to 1756 I/O Field Wiring Conversion System Price List
1756-PP00 1756 RIO Produce Profile
1756-UM534 1756 RIO Module User Manual
1756-IN610 1756 RIO Module Install Manual
1756-RM085 Converting PLC-5 or SLC 500 Logic to Logix-Based Logic
2711P-QS001 Migrating PanelView Enhanced Terminal Applications
Knowledge Base ID 70199 Comparison of the 1756-DHRIO and 1756-RIO Modules (late 2010)
This concludes the lab.

1756-RIO for Migrations (Rev 1.02)


6/26/2017 Page 57 of 57