Sunteți pe pagina 1din 70

Allen-Bradley

Logix5550 Controller Converting PLC-5


(Cat. No. 1756-L1, -L1Mx)
or SLC 500 Logic to
Logix5550 Logic
Reference Manual
Important User Information %HFDXVHRIWKHYDULHW\RIXVHVIRUWKHSURGXFWVGHVFULEHGLQWKLVSXEOLFDWLRQ
WKRVHUHVSRQVLEOHIRUWKHDSSOLFDWLRQDQGXVHRIWKLVFRQWUROHTXLSPHQWPXVW
VDWLVI\WKHPVHOYHVWKDWDOOQHFHVVDU\VWHSVKDYHEHHQWDNHQWRDVVXUHWKDW
HDFKDSSOLFDWLRQDQGXVHPHHWVDOOSHUIRUPDQFHDQGVDIHW\UHTXLUHPHQWV
LQFOXGLQJDQ\DSSOLFDEOHODZVUHJXODWLRQVFRGHVDQGVWDQGDUGV

7KHLOOXVWUDWLRQVFKDUWVVDPSOHSURJUDPVDQGOD\RXWH[DPSOHVVKRZQLQ
WKLVJXLGHDUHLQWHQGHGVROHO\IRUSXUSRVHVRIH[DPSOH6LQFHWKHUHDUHPDQ\
YDULDEOHVDQGUHTXLUHPHQWVDVVRFLDWHGZLWKDQ\SDUWLFXODULQVWDOODWLRQ
$OOHQ%UDGOH\GRHVQRWDVVXPHUHVSRQVLELOLW\RUOLDELOLW\ WRLQFOXGH
LQWHOOHFWXDOSURSHUW\OLDELOLW\ IRUDFWXDOXVHEDVHGXSRQWKHH[DPSOHVVKRZQ
LQWKLVSXEOLFDWLRQ

$OOHQ%UDGOH\SXEOLFDWLRQ6*,6DIHW\*XLGHOLQHVIRUWKH$SSOLFDWLRQ
,QVWDOODWLRQDQG0DLQWHQDQFHRI6ROLG6WDWH&RQWURO DYDLODEOHIURP\RXU
ORFDO$OOHQ%UDGOH\RIILFH GHVFULEHVVRPHLPSRUWDQWGLIIHUHQFHVEHWZHHQ
VROLGVWDWHHTXLSPHQWDQGHOHFWURPHFKDQLFDOGHYLFHVWKDWVKRXOGEHWDNHQ
LQWRFRQVLGHUDWLRQZKHQDSSO\LQJSURGXFWVVXFKDVWKRVHGHVFULEHGLQWKLV
SXEOLFDWLRQ

5HSURGXFWLRQRIWKHFRQWHQWVRIWKLVFRS\ULJKWHGSXEOLFDWLRQLQZKROHRU
SDUWZLWKRXWZULWWHQSHUPLVVLRQRI$OOHQ%UDGOH\&RPSDQ\,QFLV
SURKLELWHG

7KURXJKRXWWKLVPDQXDOZHXVHQRWHVWRPDNH\RXDZDUHRIVDIHW\
FRQVLGHUDWLRQV

$77(17,21,GHQWLILHVLQIRUPDWLRQDERXWSUDFWLFHVRU
FLUFXPVWDQFHVWKDWFDQOHDGWRSHUVRQDOLQMXU\RUGHDWK
 SURSHUW\GDPDJHRUHFRQRPLFORVV

$WWHQWLRQVWDWHPHQWVKHOS\RXWR

• LGHQWLI\DKD]DUG

• DYRLGDKD]DUG

• UHFRJQL]HWKHFRQVHTXHQFHV

,PSRUWDQW ,GHQWLILHVLQIRUPDWLRQWKDWLVFULWLFDOIRUVXFFHVVIXODSSOLFDWLRQ
DQGXQGHUVWDQGLQJRIWKHSURGXFW

PLC-5, SLC, Logix5550, and RSLogix are trademarks of Rockwell Automation.


Table of Contents

Converting a PLC-5 or SLC 500 Chapter 1


Program into a Logix5550 ,QWURGXFWLRQ  
Project &RPSDULQJ3/&DQG6/&WR/RJL[DUFKLWHFWXUH  
([SRUWLQJD3/&RU6/&  3URJUDP  
8VLQJ56/RJL[RU56/RJL[SURJUDPPLQJVRIWZDUH  
8VLQJVHULHVSURJUDPPLQJVRIWZDUH  
8VLQJ$,VHULHVSURJUDPPLQJVRIWZDUH 
&RQYHUWLQJD3/&RU6/&  3URJUDP  
9LHZWKH&RQYHUVLRQ5HVXOWV  
9LHZLQJWKHORJILOH  
,PSRUWWKH$6&,,7H[W)LOHLQWRD/RJL[3URMHFW 
5HZRUN3&(,QVWUXFWLRQV  
/RFDWLQJ3&(LQVWUXFWLRQV  
5HZRUN81.,QVWUXFWLRQV  
&RQILJXUHWKH&RQWUROOHUDQG &KDVVLV 
0DS,2 
&RPSOHWH06*&RQILJXUDWLRQ 
2WKHU&RQVLGHUDWLRQV  

Converting Program Structure Chapter 2


,QWURGXFWLRQ  
&UHDWLQJD&RQWLQXRXV7DVN  
&RQYHUWLQJ6HOHFWDEOH7LPHG,QWHUUXSWV 67,V  
&RQYHUWLQJ,QSXW,QWHUUXSWV ',,V3,,V  

Converting Data Chapter 3


,QWURGXFWLRQ  
+RZ3/&DQG6/&ILOHVLGHQWLI\GDWDWDEOH YDOXHV 
+RZ/RJL[ILOHVLGHQWLI\ILOHW\SHV 
&RQYHUWLQJ,QSXW , DQG2XWSXW 2 'DWD 
&RQYHUWLQJWKH6WDWXV 6 )LOH 7\SH  
&RQYHUWLQJWKH%LQDU\ % )LOH 7\SH 
&RQYHUWLQJWKH7LPHU 7 )LOH 7\SH  
7LPHUFRQYHUVLRQUXOHV  
&RQYHUWLQJWKH&RXQWHU & )LOH 7\SH 
&RQYHUWLQJWKH&RQWURO 5 )LOH 7\SH  
&RQYHUWLQJWKH,QWHJHU 1 )LOH 7\SH  
&RQYHUWLQJWKH)ORDWLQJ3RLQW ) )LOH 7\SH  
&RQYHUWLQJWKH$6&,, $ )LOH 7\SH  
&RQYHUWLQJWKH'HFLPDO ' )LOH 7\SH 
&RQYHUWLQJWKH%ORFN7UDQVIHU %7 )LOH7\SH 
%ORFNWUDQVIHUFRQYHUVLRQUXOHV 
&RQYHUWLQJWKH0DQG0)LOH 7\SHV  
&RQYHUWLQJWKH0HVVDJH 0* )LOH7\SH 
0HVVDJHFRQYHUVLRQUXOHV  

1756-6.8.5 - April 1999


ii

&RQYHUWLQJWKH3,' 3' )LOH 7\SH  


&RQYHUWLQJWKH$6&,,6WULQJ 67 )LOH 7\SH 
&RQYHUWLQJWKH&RQWURO1HW &7 )LOH 7\SH 
&RQYHUWLQJ&RQVWDQW9DOXHV  
&RQYHUWLQJ,QGLUHFW$GGUHVVHV 
&RQYHUWLQJLQGLUHFWDGGUHVVLQJRQWKHILOHQXPEHU 
&RQYHUWLQJ,QGH[HG$GGUHVVHV  
&RQYHUWLQJLQGH[HGDGGUHVVHVFRQWUROOHGE\WKHSURFHVVRU
VWDWXV ZRUG6  
&RQYHUWLQJLQGH[HGDGGUHVVHVWKDWVSHFLI\GDWDLQILOHV
/RJL[ DUUD\V  
&RQYHUWLQJ6\PEROV 
&RQYHUWLQJ$GGUHVV&RPPHQWV  

Converting PLC-5 Instructions Chapter 4


,QWURGXFWLRQ 
&RQYHUVLRQ5XOHV  
,QVWUXFWLRQ/LVW  
&RQYHUWLQJ&$5LQVWUXFWLRQV 
&RQYHUWLQJ)251;7%5.LQVWUXFWLRQV 

Conversion Messages Appendix A


,QWURGXFWLRQ $
6WDWXV0HVVDJHV  $
,QIRUPDWLRQ0HVVDJHV  $
4XHVWLRQ0HVVDJHV $

1756-6.8.5 - April 1999


Chapter 1

Converting a PLC-5 or SLC 500 Program into


a Logix5550 Project

Introduction 56/RJL[SURJUDPPLQJVRIWZDUHLQFOXGHVDWUDQVODWLRQWRROWKDW
FRQYHUWVD3/&RU6/&LPSRUWH[SRUWILOH 3&RU6/&H[WHQVLRQ 
LQWRDFRPSOHWH/RJL[LPSRUWH[SRUWILOH /.H[WHQVLRQ 7KLV
PDQXDOGHVFULEHVWKHWUDQVODWLRQWRROWKDWFRPHVZLWKUHOHDVHRI
56/RJL[SURJUDPPLQJVRIWZDUH

,PSRUWDQW &XUUHQWO\WKHWUDQVODWLRQWRROFRQYHUWVRQO\ODGGHULQVWUXFWLRQV
6)&DQGVWUXFWXUHGWH[WILOHVDUHQRWFRQYHUWHG

$77(17,21$IWHUUXQQLQJWKHFRQYHUVLRQSURFHVVWKH
UHVXOWLQJLPSRUWH[SRUWILOHVWLOOUHTXLUHVIXUWKHUPDQLSXODWLRQ
 <RXKDYHWRPDSWKH/RJL[V\VWHP¶V,2DQGXVH%7'
029RU&23LQVWUXFWLRQVWRSODFHWKLVPDSSHGGDWDLQWRWKH
VWUXFWXUHVFUHDWHGE\WKHFRQYHUVLRQSURFHVV

7KHWUDQVODWLRQWRROSURGXFHVDV\QWDFWLFDOO\FRUUHFW/RJL[
LPSRUWH[SRUWILOHEXWWKHH[DFWLQWHQWRIWKHRULJLQDODSSOLFDWLRQFRXOGEH
ORVW7KLVORVVFRXOGEHGXHWRGLIIHUHQFHVEHWZHHQUXOHVRISUHFHGHQFH
LQGH[HGDGGUHVVLQJ,2DGGUHVVLQJHWF7KHORJILOHFDSWXUHV
WKHVH GLIIHUHQFHV

7KHJRDORIWKHWUDQVODWLRQWRROLVWRUHGXFHWKHDPRXQWRIZRUNLQYROYHGLQ
PLJUDWLQJD3/&RU6/&SURJUDPWRD/RJL[SURMHFW7KH
WUDQVODWLRQWRRODXWRPDWLFDOO\FRQYHUWVWKHSURJUDPORJLFEXWLWLVQRWWKH
FRPSOHWHVROXWLRQ'HSHQGLQJRQWKHDSSOLFDWLRQWKHUHLVDGGLWLRQDOZRUN
WRPDNHWKHFRQYHUWHGORJLFZRUNSURSHUO\

1756-6.8.5 - April 1999


1-2 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

7KHHQWLUHFRQYHUVLRQSURFHVVLQFOXGHV

Conversion step: See page:


Export the PLC-5 or SLC 500 program to an ASCII 1-3
text file
Use the translation tool to convert the logic 1-8
View the conversion results 1-9
Import the ASCII text file into a Logix5550 project 1-12
Rework PCE instructions 1-13
Rework UNK instructions 1-15
Configure the controller and chassis 1-15
Map I/O 1-16
Complete MSG configuration 1-17
Check other considerations 1-18

Comparing PLC-5 and SLC 500 architecture to Logix5550 architecture

7KH/RJL[DUFKLWHFWXUHGLIIHUVLQVHYHUDOZD\VIURPWKDWRIWKH3/&
DQG6/&SURFHVVRUV7KHWUDQVODWLRQWRROFRQYHUWVWKLVOHJDF\
DUFKLWHFWXUHDVLWEHVWILWVLQWRWKH/RJL[DUFKLWHFWXUH

,PSRUWDQW %HFDXVHRIWKHDUFKLWHFWXUDOGLIIHUHQFHV\RXPXVWUHZRUNWKH
FRQYHUWHG/RJL[SURMHFWWRPDNHVXUHLWRSHUDWHVSURSHUO\

6RPHRIWKHPRVWVLJQLILFDQWGLIIHUHQFHVLQDUFKLWHFWXUHDUH

Architectural issue: Comparison:


CPU The PLC-5 and SLC 500 processor is based on 16-bit operations. The Logix5550
controllers uses 32-bit operations. The translation tool converts the legacy logic into its
32-bit equivalent.
operating system The PLC-5 and SLC 500 processors support individual program files that can be
configured as selectable timed interrupts (STIs) or input interrupts (DIIs/PIIs). In addition,
the PLC-5 processor support multiple main control programs (MCPs). The Logix5550
controller combines these into it’s task, program, and routine organization. The
translation tool converts the legacy program types into appropriate Logix5550 tasks.
The PLC-5 and SLC 500 processors use an S data file to store processor status. The
Logix5550 controller stores data differently. Instead of accessing different locations
within a file, you use Get System Value (GSV) and Set System Value (SSV) instructions to
specify the status information you want. This is a significant difference that will require
rework once the converted logic is imported into the Logix5550 controller.
The PLC-5 and SLC 500 processors also use bits in S:0 for the arithmetic status flags.
For example, S:0/03 stores sign status. The Logx5550 controller uses keywords to
reference these flags. For example, instead of referencing a bit address to monitor a
sign operation, you use the keyword S:N.

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-3

Architectural issue: Comparison:


input and outputs The PLC-5 and SLC 500 processor map I/O memory into I and O data table files. The I/O
data is updated synchronously to the program scan so you know you have current
values each time the processor begins a scan. The Logix5550 controller references I/O
which is updated asynchronously to the logic scan. For the Logix5550 controller, you
might consider creating an I/O data buffer to use for static values during logic execution
and update the buffer as needed.
After the conversion is complete, you must add instructions to copy the I/O data into the
I and O arrays. Do this at the beginning or ending of a program to buffer the data so that
it is presented synchronously to the program scan.
data The PLC-5 and SLC 500 processors store all data in global data tables. You access this
data by specifying the address of the data you want. The Logix5550 controller supports
data that is local to a program and data that is global to all the tasks within the
controller. The Logix5550 controller can also share data with other controllers, and
instead of addresses, you use tags to access the data you want.
Each PLC-5 and SLC 500 data table file can store several words of related data. The
Logix5550 controller uses arrays to store related data. The translation tool converts the
PLC-5 and SLC 500 data table files into Logix5550 arrays.
timers The PLC-5 and SLC 500 timers are based on their 16-bit architecture and can have
different time bases. The Logix5550 controller is based on its 32-bit architecture and
only supports a 1 msec time base. The translation tools converts the legacy timers as
they best fit into the Logix5550 architecture. Converted timers might require rework to
make sure they operate properly.
communications The PLC-5 processor supports block-transfer read and write (BTR and BTW) instructions,
ControlNet I/O (CIO), and message (MSG) instructions. The SLC 500 processor supports
MSG instructions. The Logix5550 controller supports MSG instructions. The translation
tool converts the legacy BTR, BTW, and MSG instructions into Logix5550 MSG
instructions. Any CIO instructions are not converted. Once you import the converted
logic, you must configure the MSG instructions so that they work properly and rework
any CIO instructions.

7KHUHVWRIWKLVPDQXDOGHVFULEHVWKHVSHFLILFVRIKRZWKHVHDUFKLWHFWXUDO
LVVXHVDUHFRQYHUWHG

Exporting a PLC-5 or %HIRUH\RXFDQFRQYHUW3/&RU6/&ORJLFWRLWV/RJL[


SLC 500 Program HTXLYDOHQW\RXPXVWILUVWH[SRUWWKHORJLFWRDQ$6&,,WH[WILOHZLWKD3&
H[WHQVLRQIRUD3/&ILOHRUD6/&H[WHQVLRQIRUDQ6/&ILOH,I\RX
VHOHFWWRFRQYHUWFRPPHQWVDQGV\PEROVDVZHOO\RXDOVRQHHGWKH7;7
ILOHZKLFKLVWKHVWDQGDUGSURJUDPPLQJVRIWZDUHIRUPDWIRUD
GRFXPHQWDWLRQILOH

+RZ\RXH[SRUWWKHSURJUDPWRDQ$6&,,WH[WILOHGHSHQGVRQWKH
SURJUDPPLQJVRIWZDUH\RXXVH

If you use: See page:


RSLogix5 or RSLogix500 programming software 1-4
6200 series programming software 1-6
A.I. series programming software 1-7

1756-6.8.5 - April 1999


1-4 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

Using RSLogix5 or RSLogix500 programming software

&UHDWHD3&RU6/&ILOHIRUWKHSURJUDPILOH

1. Select File → Save As.

2. Select the program to export.

Select the program to export.


By default, the software points to the \Project folder
for the destination. You can enter a different
destination directory.

You must select the Library Files


(.PC5 or .SLC) format.

Select this option so that comments and symbols


are included in the export.

Click Save.

3. Select export options.

Select Complete Program Save.

Select all these options.

Click OK.

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-5

&UHDWHD7;7ILOHIRUFRPPHQWVDQGV\PEROV
1. Select Tools → Database → ASCII Export.

2. Select where to export comments and symbols.

Select the AB 6200 format.

Click OK.

3. Select the directory where the .PC5 or .SLC file is.

Click OK.

4. Accept the warning about comments and symbols.

Click OK.

56/RJL[SURJUDPPLQJVRIWZDUHVWRUHV3/&SURJUDPVXVLQJ563ILOH
H[WHQVLRQV56/RJL[SURJUDPPLQJVRIWZDUHVWRUHV6/&SURJUDPV
XVLQJ566ILOHH[WHQVLRQV

1756-6.8.5 - April 1999


1-6 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

Using 6200 series programming software

7RH[SRUWDSURJUDPDQGLWVV\PEROVXVLQJVHULHVSURJUDPPLQJ
VRIWZDUH

 3ODFHWKHSURJUDPILOHVLQ?,3'6?$5&+?3/&

 6WDUWVHULHVSURJUDPPLQJVRIWZDUH

 6HOHFW))LOH8WLOV→)([SRUW→)3URFHVVRU0HPRU\)LOH2QO\

 &XUVRUWRWKHSURJUDPWRH[SRUW

 6HOHFW)6HOHFW6RXUFH→)%HJLQ2SHUDWLRQ

 :KHQWKHH[SRUWSURFHVVLVFRPSOHWHSUHVVDQ\NH\WRFRQWLQXH

 5HQDPHWKHORJILOHLQ?,3'6?$5&+?3/&EHFDXVHWKHQH[WVWHSZLOO
RYHUZULWHWKHILOH

 6HOHFW))LOH8WLOV→)([SRUW→)&RPPHQWVDQG6\PEROV

 8VHWKHFXUVRUVWRVHOHFWWKHSURJUDPWRH[SRUW

6HOHFW)6HOHFW6RXUFH→)%HJLQ2SHUDWLRQ

:KHQWKHH[SRUWSURFHVVLVFRPSOHWHSUHVVDQ\NH\WRFRQWLQXH

&RS\RUPRYHWKH3&6/&DQG7;7ILOHVWRZKHUHWKH/RJL[
WUDQVODWLRQWRROZLOOILQGWKHP

VRIWZDUHXVHVWKHVHILOHH[WHQVLRQVIRUSURJUDPILOHV$&$)
%%',;/;233DQG3&

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-7

Using A.I. series programming software

7RH[SRUWDSURJUDPDQGLWVV\PEROVXVLQJ$,VHULHVSURJUDPPLQJ
VRIWZDUH

 6WDUW$,VHULHVSURJUDPPLQJVRIWZDUH

 6HOHFW)6HOHFW3URJUDP3/&$GGUHVV

 &XUVRUWRWKHSURJUDPWRH[SRUWDQGSUHVV(QWHU

 6HOHFW)8WLOLW\2SWLRQV→)5HEXLOG'DPDJHG'DWD%DVH→
)5HEXLOGFXUUHQWSURJUDP→)<HV±)RUFHUHEXLOGLQJRI,QGH[ILOHV

 :KHQWKHUHEXLOGSURFHVVLVFRPSOHWHSUHVVDQ\NH\WRFRQWLQXH

 6HOHFW)([SRUWGDWDEDVH→)$6&,,

 (QWHUDQDPHZLWKRXWDQH[WHQVLRQIRUWKHH[SRUWHGGDWDEDVHILOH

 :KHQWKHGDWDEDVHH[SRUWLVFRPSOHWHSUHVVDQ\NH\WRFRQWLQXH

 3UHVV(VFWRUHWXUQWRWKHPDLQPHQX

6HOHFW)2IIOLQH3URJUDPPLQJ→)(GLW→)%ORFN→
)%ORFN6WDUW→)&RS\%ORFN LWGRHVQRWPDWWHUZKDWLVDFWXDOO\
VHOHFWHG →)6DYH%ORFN

6HOHFW)$6&,,DQGHQWHUDQDPHZLWKRXWDQH[WHQVLRQIRUWKHH[SRUWHG
SURJUDP

6HOHFW)1R5XQJ'HVFULSWLRQV7KHWUDQVODWLRQWRROXVHVFRPPHQWV
IURPWKH7;7ILOHQRWWKH3&6/&ILOH

6HOHFW)(QWLUH3URJUDP→)1R$QQRWDWLRQ→)1R→)([SRUW
<RXGRQRWQHHGWKH³VKRUWGHVFULSWLRQ´

$,VRIWZDUHXVHVWKHVHILOHH[WHQVLRQVIRUSURJUDPILOHV$'5&(,
&(7&)*'6&,2,235)5&.53'53,6<0;;5)
DQG ;5,

1756-6.8.5 - April 1999


1-8 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

Converting a PLC-5 or $IWHU\RXKDYHWKH$6&,,WH[WILOHRIWKH3/&RU6/&SURJUDPILOH


SLC 500 Program \RXFDQFRQYHUWWKHORJLFWRLWV/RJL[HTXLYDOHQW

Use RSLogix5000 programming software:

1. Select Tools → Translate PLC5/SLC.

2. Select the text file to convert.

Select the file to convert.


It must have a .PC5 or .SLC extension
By default, the software points to the
\RSLogix5000\Project folder for the destination. You
can enter a different destination directory.
Note: Both the .PC5/.SLC and .TXT files must be in the
same directory for the conversion to work.

Select conversion options.

Click Translate.

This box displays the status of the conversion process.


Click View Log to see the log file.

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-9

<RXFDQVHOHFWIURPWKHVHFRQYHUVLRQRSWLRQV

Option: Description:
Verbose logging mode Check this option to write all messages of all categories to the log file.
Otherwise, only a subset of the status messages and all of the question
messages will be written to the log file.
Select Full to cause all messages of all categories to be written to the log file, in
addition to extra, descriptive text.
Select Partial to cause all messages of all categories to be written to the log file,
without the extra, descriptive text.
Include comments and symbols Check this option to specify whether documentation is to be included in the
conversion. By default, this option is enabled, causing the ASCII comment file
.TXT to be processed along with the processor program file.
Important: The .TXT file must exist for the conversion process to operate when
this option is selected.
Important: Both the .PC5/.SLC and .TXT files must be in the same directory.

View the Conversion Results 7KHWUDQVODWLRQWRROFUHDWHVDFRPSOHWHLPSRUWH[SRUWILOH /.H[WHQVLRQ 


WKDW\RXFDQWKHQLPSRUWLQWRD/RJL[SURMHFW

)RUPRUHLQIRUPDWLRQRQWKHFRQWHQWVRID/RJL[LPSRUWH[SRUWILOH
VHH WKH/RJL[&RQWUROOHU,PSRUW([SRUW5HIHUHQFH0DQXDO
SXEOLFDWLRQ 

$IWHUWKHFRQYHUVLRQSURFHVVWKHLPSRUWH[SRUWILOHIROORZVWKLVIRUPDW

&21752//(5&RQWUROOHU1DPH!

7$*
$OOWDJVDOLDVHVDQGDVVRFLDWHGGHVFULSWLRQVDUH
SODFHGKHUH
(1'B7$*

352*5$0&RQWLQXRXV 0$,1 PFS0DLQ

5287,1(PFS0DLQ
-655RXWLQH1DPH!
0RUH-65FDOOVFRXOGDSSHDUGHSHQGHQWXSRQ
SURFHVVRUW\SH
(1'B5287,1(

$URXWLQHLVFUHDWHGIRUHDFKODGGHUSURJUDPWKDW
H[HFXWHV

5287,1(5RXWLQH1DPH!
$WUDQVODWHGOHJDF\ODGGHUSURJUDP
(1'B5287,1(

(1'B352*5$0

1756-6.8.5 - April 1999


1-10 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

352*5$06WL 0$,1 5RXWLQH1DPH!

5287,1(5RXWLQH1DPH!
$WUDQVODWHGOHJDF\ODGGHUSURJUDP
(1'5287,1(

$URXWLQHLVFUHDWHGIRUHDFKODGGHUSURJUDPWKDW
H[HFXWHV
(1'352*5$0

7$6.&RQWLQXRXV 02'( &217,18286:$7&+'2* 


&RQWLQXRXV
(1'B7$6.

7$6.6WL 02'( 3(5,2',&5$7( 5DWH!:$7&+'2* 


6WL
(1'B7$6.

(1'B&21752//(5

7KHFRPSRQHQWVRIWKHFRQYHUWHGLPSRUWH[SRUWILOHDUH

Component: Description:
CONTROLLER The conversion process creates one CONTROLLER structure.
The controller name is based on the PROJECT statement in the PLC-5 import/export
file. If the controller name is the same as any other instruction or keyword in the
PLC-5 import/export file, the conversion process appends _DUP to the controller
name.
TAG The conversion process creates one, controller-scoped TAG structure.
All tags and aliases are placed in this global TAG structure
PROGRAM Continuous The conversion process creates one PROGRAM named Continuos.
This program holds all the routines.
ROUTINE mcpMAIN The conversion process creates one ROUTINE names mcpMAIN.
This routine contains the JSR instructions for one or more ROUTINES that are
considered the main routines. The main routines are determined from PLC-5
processor status data that identifies the main control programs.
ROUTINE The conversion process creates a ROUTINE for each PLC-5 program file.
It is possible that JSR calls or processor status information may specify that the same
ROUTINE is required by multiple PROGRAMS. If this occurs, the conversion process
creates duplicate ROUTINES, one for each PROGRAM that needs the ROUTINE.
PROGRAM Sti The conversion creates this program for the STI logic, if is exists, for the PLC-5
processor.
TASK Continuous The conversion process creates one TASK to specify how to execute the programs.
This TASK is always continuous and references the Continuous PROGRAM.
TASK Sti The conversion creates this task to execute the STI logic. This is a periodic task that
references the Sti PROGRAM.

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-11

Viewing the log file

(DFKFRQYHUVLRQSURFHVVJHQHUDWHVDQ$6&,,EDVHGORJILOH7KLVORJILOH
SURYLGHVDVXPPDU\RIWKHFRQYHUVLRQSURFHVVDQGFRQWDLQVIRUPDWWHG
PHVVDJHVGHVFULELQJWKHDFWLRQVDQGVWHSVWDNHQGXULQJWKHFRQYHUVLRQ
SURFHVV7KHQXPEHUDQGW\SHRIPHVVDJHVGHSHQGRQWKHRSWLRQV\RX
VHOHFWHGIRUWKHFRQYHUVLRQSURFHVV7KHPHVVDJHVDUHZULWWHQWRWKHORJILOH
LQWKHRUGHULQZKLFKWKHLUUHODWHGWUDQVODWLRQDFWLRQVRFFXU

,PSRUWDQW 7KHORJILOHLGHQWLILHVDUHDVWKDWVKRXOGEHH[DPLQHGIRU
SRWHQWLDOSUREOHPV

<RXFDQRSHQWKHORJILOHIURPZLWKLQWKHWUDQVODWLRQWRROE\SUHVVLQJWKH
9LHZ/RJEXWWRQ<RXFDQDOVRXVHDQ\VWDQGDUGZLQGRZVWH[WHGLWRUWR
RSHQWKHORJILOH7KHQDPHRIWKHORJILOHLVWKHVDPHDVWKHQDPHRIWKH
RXWSXWILOHEXWZLWKD/2*H[WHQVLRQ

7KHOLQHQXPEHUVUHIHUHQFHGLQWKHORJILOHFRUUHVSRQGWRWKHOLQHQXPEHUV
LQWKHH[SRUWHG3/&RU6/&SURJUDPILOH+DYLQJDQHGLWRUWKDW
GLVSOD\VOLQHQXPEHUVLVKHOSIXOLI\RXKDYHWRUHIHUEDFNWRWKHH[SRUWHG
3/&RU6/&SURJUDPILOH

)RUPRUHLQIRUPDWLRQDERXWWKHPHVVDJHVWKDWFDQDSSHDULQWKHORJILOHVHH
DSSHQGL[$

1756-6.8.5 - April 1999


1-12 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

Import the ASCII Text File into a 7KHRXWSXWILOHIURPWKHFRQYHUVLRQSURFHVVLVD/RJL[LPSRUWH[SRUW


Logix5550 Project ILOHZLWKD/.H[WHQVLRQ,PSRUWWKLVILOHLQWRD/RJL[SURMHFWXVLQJ
56/RJL[SURJUDPPLQJVRIWZDUH

Use RSLogix5000 programming software:

1. Select File → Open.

2. Select the text file. The text file should have a .L5K extension.

Select the file to import.


By default, the software points to the
\RSLogix5000\Project folder. You can change
the default via Tool → Options.
Specify the name for the file to import.

Click Open.

3. Specify the name and location of the project

Specify the project location.

Specify the project name.

Click Import.

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-13

Rework PCE Instructions 7KHFRQYHUVLRQSURFHVVLQVHUWVD3&( 3RVVLEOH&RQYHUVLRQ(UURU 


LQVWUXFWLRQWRLGHQWLI\SRVVLEOHHUURUV7KH3&(LQVWUXFWLRQIROORZV
WKLV IRUPDW LQWKH$6&,,WH[WILOH 

3&( 0HVVDJH!3&(7DJ!

:KHUH

Parameter: Description:
0HVVDJH identifies the type of error or warning that occurred.
See appendix A for a list of possible conversion messages.
3&(7DJ identifies the error
Each conversion error receives a unique PCETag
The output import/export file and the log file both have the
PCE instruction. You can search on either file using the
PCETag to find the related information.

)RUH[DPSOH

$UXQJLQWKHFRQYHUWHGLPSRUWH[SRUWILOHZRXOGORRNOLNH

3&( ³´³SFH´ 27( %>@ 

7KHFRUUHVSRQGLQJUXQJLQWKHORJILOHZRXOGORRNOLNH

SFH
48(60\3URJ0\)LUVW5RXWLQH
2XWSXW)LOHUHIHUHQFHLVQRWYDOLG

:KHUH

Value: Corresponds to:


 PCETag 3000
 line 356 in the original, ASCII PLC-5 or SLC 500 file
 line 1024 in the converted, ASCII Logix5550 file
0\3URJ program in the imported Logix5550 project
0\)LUVW5RXWLQH routine in the imported Logix5550 project
 rung number in the imported Logix5550 project

2QFH\RXLPSRUWWKHFRQYHUWHG/RJL[SURMHFW\RXQHHGWRILQGHDFK
3&(LQVWUXFWLRQ$3&(LQVWUXFWLRQKLJKOLJKWVDSRVVLEOHFRQYHUVLRQHUURU
<RXPXVWGHOHWHHDFK3&(LQVWUXFWLRQDQGUHSODFHLWZLWKWKHDSSURSULDWH
FRUUHFWHGORJLF

1756-6.8.5 - April 1999


1-14 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

3&(LQVWUXFWLRQVFDQKLJKOLJKWWKHVHSRVVLEOHHUURUV

A PCE instruction can mean: How to correct the error:


Instruction cannot be converted Delete the PCE instruction. Rewrite the logic to achieve the
desired functionality.
Status word S:24 In the PLC-5 processor, this status word contains the index offset
for indexed addressing. This word does not exist in the
Logix5550 controller. The translation tool inserts a PCE
instruction for each occurrence of S:24.
For example, in a COP instruction, there will be two PCE
instructions, one for the source and one for the destination. Be
sure that you account for how S:24 is used and then delete the
PCE instruction. Similarly, all file instructions will have a “+S24”
added to the source and destination words. Again, account for
how S:24 is used in the instruction and then delete the “+S24.”
Battery low Delete the PCE instruction. Use a GSV instruction to get this
status information.
Math overflow Delete the PCE instruction. Use the S:V keyword in a
bit instruction.

Locating PCE instructions

<RXFDQORFDWHDOORIWKH3&(LQVWUXFWLRQVE\YHULI\LQJWKHORJLF

1. Select Logic → Verify.

The bottom of the screen displays the results:

Double-click on an error to go directly to the rung.

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-15

Rework UNK Instructions 7KHWUDQVODWLRQWRROFRQYHUWVVRPH3/&DQG6/&LQVWUXFWLRQVWKDW


KDYHQRHTXLYDOHQWLQWKH56/RJL[DUFKLWHFWXUH2QFH\RXLPSRUW
WKHVHLQVWUXFWLRQVLQWRD/RJL[SURMHFWWKH\DSSHDUDV81.
LQVWUXFWLRQV<RXPXVWGHOHWHHDFK81.LQVWUXFWLRQVDQGUHSODFHLWZLWKWKH
DSSURSULDWHFRUUHFWHGORJLF

<RXFDQDOVRYHULI\WKHORJLFWRORFDWH81.LQVWUXFWLRQVDVVKRZQDERYH
IRUORFDWLQJ3&(LQVWUXFWLRQV

Configure the Controller 8VHWKH&RQWUROOHU3URSHUWLHVGLDORJWRDVVLJQWKHFKDVVLVVL]HDQGVORW


and Chassis QXPEHURIWKHFRQWUROOHU

1. Place the cursor over the Controller folder.


2. Click the right mouse button and select Properties.

3. Configure the controller.

Specify the slot number of the controller.

Specify the chassis size.

1756-6.8.5 - April 1999


1-16 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

7KHQXVHWKH&RQWUROOHU2UJDQL]HUWRVSHFLI\WKH,2PRGXOHVDQGRWKHU
GHYLFHVIRUWKHFRQWUROOHU
1. Select I/O Configuration.
2. Click the right mouse button and select New Module.

Map I/O 7KHILOHVWUXFWXUHLQWKH/RJL[FRQWUROOHULVWDJEDVHG7RIDFLOLWDWHWKH


FRQYHUVLRQWKHWUDQVODWLRQWRROFUHDWHVWDJVDQGDUUD\VRIWDJVWRDOLJQDQG
PDSWKH3/&ILOHV)RUH[DPSOH

This PLC-5 address: Maps to:


N7:500 N7[500]
N17:25 N17[25]
R6:100 R6[100]
I:002 I[2]

1RWHWKDWWKHWDJVFUHDWHGIRUSK\VLFDO,2 HJ, DUHHPSW\DWWKHHQGRI


WKHFRQYHUVLRQSURFHVV<RXPXVWXVHWKHSURJUDPPLQJVRIWZDUHWRDGGDOO
WKH,2PRGXOHVWRWKHWUHHVWUXFWXUHIRUWKH/RJL[FRQWUROOHU7KHQ
SURJUDPLQVWUXFWLRQVWRPDSWKH/RJL[,2WDJVWRWKHFRQYHUWHG WDJV

)RUH[DPSOHLI\RXDGGDSRLQWLQSXWPRGXOHLQVORWRIWKHORFDO
FKDVVLVWKHSURJUDPPLQJVRIWZDUHFUHDWHVWKHVH,2WDJVWUXFWXUHV

/RFDO& FRQILJXUDWLRQLQIRUPDWLRQ
/RFDO'DWD IDXOWDQGLQSXWGDWD

8VHD%7'029RU&23LQVWUXFWLRQVWRPDSWKH/RFDO'DWDZRUGLQWR
WKH,WDJFUHDWHGE\WKHFRQYHUVLRQ SURFHVV

1756-6.8.5 - April 1999


Converting a PLC-5 or SLC 500 Program into a Logix5550 Project 1-17

$029LQVWUXFWLRQPRYHVRQHHOHPHQWDWDWLPH$%7'LQVWUXFWLRQPRYHV
DJURXSRIELWVZKLFKOHWV\RXDFFRXQWIRUWKHRIIVHWLQWKHVWDUWLQJELWZKLFK
RFFXUVZKHQ\RXPDSDQ,17GDWDW\SHWRD',17GDWDW\SH,IFRQVHFXWLYH
,2JURXSVPDSWRFRQVHFXWLYHHOHPHQWVLQDQDUUD\D&23LQVWUXFWLRQLV
PRUH HIILFLHQW

)RUH[DPSOHLI,WKURXJK,PDSWR/RFDO,'DWD>@WKURXJK
/RFDO,'DWD>@XVH

&23
6RXUFH ,>@
'HVWLQDWLRQ /RFDO,'DWD>@
/HQJWK 

,PSRUWDQW ,I\RXXVHD029LQVWUXFWLRQGRQRWPL[GDWDW\SHV,I\RX
PL[GDWDW\SHVWKHFRQYHUVLRQIURPRQHGDWDW\SHWRDQRWKHU
PDQLSXODWHVWKHVLJQELWZKLFKPHDQV\RXFDQQRWEHVXUHWKDW
WKHKLJKRUGHUELWLVVHWSURSHUO\

)RUPRUHLQIRUPDWLRQDERXWKRZWKHWUDQVODWLRQWRROFRQYHUWVWKH3/&RU
6/&GDWDWDEOHVHHWKHQH[WFKDSWHU

Complete MSG Configuration 7KHWUDQVODWLRQWRRORQO\SDUWLDOO\FRQYHUWV06*LQVWUXFWLRQV<RXPXVWXVH


WKH56/RJL[SURJUDPPLQJVRIWZDUHWRFRQILJXUHHDFK06*
LQVWUXFWLRQE\FRPSOHWLQJWKHLQIRUPDWLRQRQWKH&RPPXQLFDWLRQVWDE

)RUPRUHLQIRUPDWLRQDERXWFRQILJXULQJ06*LQVWUXFWLRQVVHHWKH
/RJL[,QVWUXFWLRQ6HW5HIHUHQFH0DQXDOSXEOLFDWLRQ7KLV
PDQXDOLVDYDLODEOHLQ3')IRUPDWRQWKH56/RJL[SURJUDPPLQJ
VRIWZDUH&'520

1756-6.8.5 - April 1999


1-18 Converting a PLC-5 or SLC 500 Program into a Logix5550 Project

Other Considerations 7KHIROORZLQJDUHDGGLWLRQDOLVVXHVWRNHHSLQPLQG

• 7KHWLPHEDVHIRUWLPHULQVWUXFWLRQVLVIL[HGDWPVHFIRUWKH/RJL[
FRQWUROOHU7KHFRQYHUVLRQSURFHVVVFDOHV3/&DQG6/&WLPHU
SUHVHWVDQGDFFXPXODWRUVDFFRUGLQJO\)RUH[DPSOHD3/&WLPHUZLWK
DWLPHEDVHRIVHFDQGDSUHVHWRILVFRQYHUWHGWRDWLPHEDVHRI
 PVHFDQGDSUHVHWRI

• ,QVWUXFWLRQFRPPHQWVDUHQRWFRQYHUWHG

• 7KH56/RJL[SURJUDPPLQJVRIWZDUHGRHVQRWVXSSRUW
SURJUDPPDEOHLQSXWLQWHUUXSWV ',,V3,,V $',,3,,SURJUDPLQ
FRQYHUWHGDVDSURJUDPLQWKHFRQWLQXRXVWDVN

• 7KH/RJL[FRQWUROOHULVDELWEDVHGFRQWUROOHU7KLVPHDQVWKDW
PRVWRIWKH/RJL[LQVWUXFWLRQVXVHELWZRUGVDVRSSRVHGWRWKH
ELWZRUGVLQ3/&SURFHVVRUV7KLVPLJKWPHDQWKDWLQVWUXFWLRQV
WKDWXVHPDVNVPLJKWZRUNGLIIHUHQWO\DIWHUWKHFRQYHUVLRQ

• 7KHFRQYHUVLRQSURFHVVFUHDWHVDOLDVWDJVIRUDGGUHVVFRPPHQWV7KHVH
DOLDVHVDUHWKHQXVHGLQSODFHRIWKHFRQYHUWHG WDJV

$OLDVHVWDNHXSPHPRU\LQWKH/RJL[FRQWUROOHUVR\RXPLJKWZDQW
WRGHOHWHWKRVHDOLDVHV\RXGRQRWSODQWRXVH8VHWKH56/RJL[
SURJUDPPLQJVRIWZDUHWRGHOHWHDOLDVHVDIWHU\RXLPSRUWWKHSURMHFW

1756-6.8.5 - April 1999


Chapter 2

Converting Program Structure

Introduction 7KH/RJL[FRQWUROOHUXVHVDGLIIHUHQWH[HFXWLRQPRGHOWKDQHLWKHUWKH
3/&SURFHVVRURUWKH6/&SURFHVVRU7KH/RJL[FRQWUROOHUXVHV
‡ WDVNVWRFRQILJXUHFRQWUROOHUH[HFXWLRQ
‡ SURJUDPVWRJURXSGDWDDQGORJLF
‡ URXWLQHVWRHQFDSVXODWHH[HFXWDEOHFRGHZULWWHQLQDVLQJOH
SURJUDPPLQJODQJXDJH
control application
controller fault handler power up handler

task 32

task 1
configuration

status

watchdog
program 32

program

program 1

main routine program (local) tags

fault routine

other routines

controller (global) tags I/O data system-shared data

40012

,PSRUWDQW &XUUHQWO\WKHWUDQVODWLRQWRROFRQYHUWVRQO\ODGGHULQVWUXFWLRQV
6)&DQGVWUXFWXUHGWH[WILOHVDUHQRWFRQYHUWHG

1756-6.8.5 - April 1999


2-2 Converting Program Structure

$WDVNSURYLGHVVFKHGXOLQJDQGSULRULW\LQIRUPDWLRQIRUDVHWRIRQHRUPRUH
SURJUDPVWKDWH[HFXWHEDVHGRQVSHFLILFFULWHULD<RXFDQFRQILJXUHWDVNVDV
HLWKHUFRQWLQXRXVRUSHULRGLF

Number Supported by the


Task Type:
Logix5550 Controller:
continuous 1
periodic 31 if there is a continuous task
32 if there is no continuous task

$WDVNFDQKDYHDVPDQ\DVVHSDUDWHSURJUDPVHDFKZLWKLWVRZQ
H[HFXWDEOHURXWLQHVDQGSURJUDPVFRSHGWDJV2QFHDWDVNLVWULJJHUHG
DFWLYDWHG DOOWKHSURJUDPVDVVLJQHGWRWKHWDVNH[HFXWHLQWKHRUGHULQ
ZKLFKWKH\DUHJURXSHG3URJUDPVFDQRQO\DSSHDURQFHLQWKHFRQWUROOHU
RUJDQL]HUDQGFDQQRWEHVKDUHGE\PXOWLSOHWDVNV7KHVFKHGXOHGSURJUDPV
ZLWKLQDWDVNH[HFXWHWRFRPSOHWLRQIURPILUVWWRODVW

$URXWLQHLVDVHWRIORJLFLQVWUXFWLRQVLQDVLQJOHSURJUDPPLQJODQJXDJH
VXFKDVODGGHUORJLF5RXWLQHVSURYLGHWKHH[HFXWDEOHFRGHIRUWKHSURMHFWLQ
DFRQWUROOHU$URXWLQHLVVLPLODUWRDSURJUDPILOHRUVXEURXWLQHLQD3/&RU
6/& SURFHVVRU

(DFKSURJUDPKDVDPDLQURXWLQH7KLVLVWKHILUVWURXWLQHWRH[HFXWHZKHQ
WKHFRQWUROOHUWULJJHUVWKHDVVRFLDWHGWDVNDQGFDOOVWKHDVVRFLDWHGSURJUDP
8VHORJLFVXFKDVWKH-65LQVWUXFWLRQWRFDOORWKHUURXWLQHV

<RXFDQDOVRVSHFLI\DQRSWLRQDOSURJUDPIDXOWURXWLQH7KHFRQWUROOHU
H[HFXWHVWKLVURXWLQHLILWHQFRXQWHUVDQLQVWUXFWLRQH[HFXWLRQIDXOWZLWKLQ
DQ\RIWKHURXWLQHVLQWKHDVVRFLDWHG SURJUDP

$VWKHWUDQVODWLRQWRROFRQYHUWVWKH3/&RU6/&ORJLFFRQVLGHU
WKHVHSURJUDPVWUXFWXUHV

Conversion step: See page:


Creating a continuous task 2-3
Converting STIs 2-3
Converting DIIs and PIIs 2-4

1756-6.8.5 - April 1999


Converting Program Structure 2-3

Creating a Continuous Task 7KH/RJL[FRQWUROOHUVXSSRUWVRQHFRQWLQXRXVWDVNWKDWRSHUDWHVLQD


VHOIWULJJHUHGPRGH,WUHVWDUWVLWVHOIDIWHUHDFKFRPSOHWLRQ7KHFRQWLQXRXV
WDVNRSHUDWHVDVWKHORZHVWSULRULW\WDVNLQWKHFRQWUROOHU RQHSULRULW\OHYHO
ORZHUWKDQWKHORZHVWSHULRGLFWDVN 7KLVPHDQVWKDWDOOSHULRGLFWDVNVZLOO
LQWHUUXSWWKHFRQWLQXRXVWDVN

7KHWUDQVODWLRQWRRODXWRPDWLFDOO\FUHDWHVRQHFRQWLQXRXVWDVNQDPHG
&RQWLQXRXVZLWKDGHIDXOWZDWFKGRJVHWWLQJRIPVHF7KLVWDVNLVWKH
PDLQWDVNRIWKHFRQYHUWHGSURMHFW

:LWKLQWKLVFRQWLQXRXVWDVNWKHWUDQVODWLRQWRROFUHDWHVDPDLQURXWLQH
QDPHGPFS0DLQZKLFKOLVWVRQHRUPRUHURXWLQHV7KLVPDLQURXWLQH
FRQWDLQV-65LQVWUXFWLRQVWRHDFKRIWKHRWKHUURXWLQHV

• ,Q3/&SURFHVVRUVWKHILUVWPDVWHUFRQWUROSURJUDP 0&3 EHFRPHV


WKHPDLQURXWLQH7KHWUDQVODWLRQWRROXVHVWKH3/&VWDWXVILOHWR
GHWHUPLQHZKLFKLVWKHILUVW0&3

• ,Q6/&SURFHVVRUVODGGHUSURJUDPZKLFKLVWKHPDLQODGGHU
SURJUDPEHFRPHVWKHPDLQURXWLQH

(DFKUHPDLQLQJURXWLQHZLWKLQDSURJUDPLVFRQVLGHUHGDVXEURXWLQH
6XEURXWLQHVDUHORFDOLQVFRSHWRWKHSURJUDP LHWKH\DUHDFFHVVLEOHE\
WKHPDLQURXWLQHDQGRWKHUVXEURXWLQHVZLWKLQWKHFXUUHQWSURJUDPRQO\ 
%HFDXVHRIWKLVLWLVSRVVLEOHIRUODGGHUSURJUDPVWRDSSHDUDVWKHVDPH
VXEURXWLQHLQPXOWLSOHSURJUDPV

7KHFRQYHUVLRQSURFHVVGRHVQRWGHILQHDIDXOWURXWLQHIRUDSURJUDP<RX
KDYHWRGHILQHWKHIDXOWURXWLQH\RXUVHOILIQHHGHG

Converting Selectable Timed 3URFHVVRUVWDWXVZRUGFRQWDLQVWKHQXPEHURIWKHODGGHUSURJUDPLIDQ\


Interrupts (STIs) WKDWLVGHVLJQDWHGIRUXVHDVDVHOHFWDEOHWLPHGLQWHUUXSW 67, 7KH
WUDQVODWLRQWRROFRQYHUWVWKLVSURJUDPILOHLQWRWKHPDLQURXWLQHRIDSHULRGLF
WDVNQDPHG6WL

7KHWUDQVODWLRQWRROUHWULHYHVWKH67,LQWHUYDOIURPWKHSURFHVVRUVWDWXVILOH
,IQHFHVVDU\WKHWUDQVODWLRQWRROFRQYHUWVWKHLQWHUYDOWRDPVHFWLPHEDVH
$IWHUWKHFRQYHUVLRQ\RXZLOOKDYHWRHGLWWKHWDVNSURSHUWLHVWRVSHFLI\LWV
LWVSULRULW\

3URFHVVRUVWDWXVELW6DOORZVHQDEOLQJDQGGLVDEOLQJRIWKH67,7KH
/RJL[FRQWUROOHUGRHVQRWVXSSRUWWKLV7KHWUDQVODWLRQWRROJHQHUDWHVD
3&(LQVWUXFWLRQLILWHQFRXQWHUVDQ\UHIHUHQFHVWR6

1756-6.8.5 - April 1999


2-4 Converting Program Structure

Converting Input Interrupts 7KH/RJL[FRQWUROOHUGRHVQRWVXSSRUWLQSXWLQWHUUXSWV ',,VRU3,,V 


(DIIs/PIIs) ,IWKH3/&SURFHVVRUKDVD3,,RUWKH6/&SURFHVVRUKDVD',,WKH
WUDQVODWLRQWRROFRQYHUWVLWWRDURXWLQHLQWKH&RQWLQXRXVWDVN<RXPXVW
HGLWWKH/RJL[ORJLFWRFDOOWKHFRQYHUWHG URXWLQH

3URFHVVRUVWDWXVZRUGLGHQWLILHVWKHSURJUDPILOHWREHXVHGDVD',,
RU 3,,7KHWUDQVODWLRQWRROJHQHUDWHVD3&(LQVWUXFWLRQDQGSODFHVLWLQWKH
FRQYHUWHG',,3,,URXWLQH

1756-6.8.5 - April 1999


Chapter 3

Converting Data

Introduction 7KH/RJL[FRQWUROOHULVEDVHGRQDELWDUFKLWHFWXUHDVRSSRVHGWR
WKHELWDUFKLWHFWXUHRI3/&DQG6/&SURFHVVRUV7RSURYLGH
VHDPOHVVFRQYHUVLRQDQGWKHEHVWSRVVLEOHSHUIRUPDQFHPDQ\GDWDWDEOH
YDOXHVDUHFRQYHUWHGWRELWYDOXHV ',17YDOXHV 

PLC-5 or SLC Logix5550 Radix: Remarks: See page:


file type: array type:
O INT BINARY 3-3
I INT BINARY 3-3
S INT HEX 3-4
B DINT BINARY The 16-bit value is copied into the 32-bit 3-4
location and sign-extended.
T TIMER 3-5
C COUNTER A PCE instruction is generated when 3-7
overflow (.OV) and underflow (.UN) bit
fields are encountered.
R CONTROL 3-8
N DINT DECIMAL The 16-bit value is copied into the 32-bit 3-9
location and sign-extended.
F REAL 3-9
A INT HEX 3-10
D DINT HEX The 16-bit value is copied into the 32-bit 3-10
location and zero-filled.
BT MESSAGE 3-10
M0 INT 3-12
M1 INT 3-12
MG MESSAGE 3-12
PD PID 3-14
ST na na This file type is not supported; the data 3-14
table is ignored.
CT na na This file type is not supported; the data 3-14
table is ignored.

1756-6.8.5 - April 1999


3-2 Converting Data

How PLC-5 and SLC 500 import/export files identify data table values

7KH3/&DQG6/&LPSRUWH[SRUWILOHVXVH'$7$VWDWHPHQWVWR
LGHQWLI\ILOHW\SHV

'$7$ILOHBUHIHUHQFH!ODVWBHOHPHQWBQXPEHU!
GDWDBYDOXH!

:KHUH

This field: Specifies the:


file_reference file type
For example, N identifies an integer file type.
last_element_number size of the file
The conversion process uses this value to determine the
number of elements to place in the array used for this file.
For example, DATA N7:9 means that file number 7 is an
integer file with 10 elements.
data_value contents of the file
For example:
DATA N7:2
10 11 12
shows that file number 7 is an integer file with three
elements. The values of these elements are:
N7:0 10
N7:1 11
N7:2 12

How Logix5550 import/export files identify file types

7KH/RJL[LPSRUWH[SRUWILOHXVHVWDJGHFODUDWLRQVWRLQLWLDOL]HYDOXHV
)RUH[DPSOH

This data table file Could convert to: Specifies:


and elements:
F8 with 1 element REAL := 3.25 a single, real value
N7 with 3 elements INT[3] := {1,2,3} an integer array with three elements
T4 with 2 elements TIMER[2] := {{1,2,3}, {4,5,6}} an array of two timer structures; each timer structure
has three members

1756-6.8.5 - April 1999


Converting Data 3-3

Converting Input (I) and 7KHFRQYHUVLRQSURFHVVIRU,2GDWDWDEOHVWULHVWRIROORZWKHOD\RXWRIWKH


Output (O) Data LQSXWDQGRXWSXWLPDJHWDEOHVLQWKH3/&DQG6/&SURFHVVRU7RGR
WKLVWKHFRQYHUVLRQSURFHVVFUHDWHVRQHVLQJOHGLPHQVLRQDUUD\IRU,GDWD
DQGRQHVLQJOHGLPHQVLRQDUUD\IRU2GDWD7KHVL]HRIWKHLQSXWDQGRXWSXW
LPDJHWDEOHVLQWKH3/&RU6/&SURFHVVRUGHWHUPLQHVWKHVL]HRI
WKHVHFRQYHUWHGDUUD\V

7KHFRQYHUVLRQSURFHVVFUHDWHVVLQJOHGLPHQVLRQ,17DUUD\VIRU,DQG2
ILOHV7KHWDJVQDPHVDUH,DQG2UHVSHFWLYHO\7KHQXPEHURIHOHPHQWVLQ
WKHFRQYHUWHGDUUD\LVWKHVDPHDVWKHQXPEHURIHOHPHQWVLQWKHRULJLQDO
GDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA O:177 tag O
0X0000 0X0000 ... type INT[128] (Radix := Binary) := {16#0000, ... }
...
DATA I:037 tag I
0X0000 0X0000 ... type INT[32] (Radix := Binary) := {16#0000, ... }
...

7KH3/&SURFHVVRU6/&SURFHVVRUDQG/RJL[FRQWUROOHUXVH
GLIIHUHQWDGGUHVVLQJVFKHPHVIRU,2GDWD

Controller: I/O Addressing:


PLC-5 processor base 8 (octal)
SLC 500 processor base 10 (decimal)
Logix5550 controller base 10 (decimal)

7RSUHVHUYHWKHRULJLQDODGGUHVVWKHFRQYHUVLRQSURFHVVFUHDWHVDOLDVWDJV
EDVHGRQWKHSK\VLFDODGGUHVV)RUH[DPSOH

Controller: Original Address: Converted Address: Alias Tag Name:


PLC-5 processor I:007 I[7] I_07
O:010 O[8] O_010
I:021/05 I[17].05 I_021_Bit05
O:035/15 O[29].13 O_035_Bit015
SLC 500 processor I:007 I[7] I_07
O:010 O[10] O_010
I:021/05 I[21].05 I_21_Bit05
O:035/15 O[35].15 O_35_Bit015

1756-6.8.5 - April 1999


3-4 Converting Data

Converting the Status (S) 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQ,17DUUD\IRUWKH6ILOH


File Type 7KHWDJQDPHLV67KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKH
VDPHDVWKHQXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA S:127 tag S
0X0000 0X0000 ... type INT[128] (Radix := Hex) := {16#0000, ... }
...

+HUHDUHVRPHH[DPSOHVRI6DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


S:3 S[3]
S:1/15 S[1].15
S:24 S24

,PSRUWDQW (DFK6DGGUHVVJHQHUDWHVD3&(LQVWUXFWLRQ

7KHUHDUHVSHFLDOFRQVLGHUDWLRQVIRUVRPHGDWDLQWKHVWDWXVILOH

This status data: Is handled this way:


MCP status data The PLC-5 processor can support from 1-16 main control programs. Each MCP uses
3 words of status data. Status words 80-127 contain this information.
STI status data The Enhanced PLC-5 processor can also support a selectable timed interrupt. The
processor status file contains the interrupt time interval and the number of the
program file to execute. Status word 31 contains the program file number; status
word 30 contains the interrupt time interval
DII/PII status data The PLC-5 and SLC 500 processors support an input interrupt. Status word 46
contains the number of the program file to execute.
The Logix5550 controller does not support this feature. If the import/export file
contains PII status data, the PII program file is converted and placed as a routine in
the Continuous program. The conversion process also places a PCE instruction in the
converted routine to identify that the routine was used for a PII.
indexed addressing Status word 24 contains the current address index used for indexed addressing. The
Logix5550 controller does not use this index value. During the conversion, the
process creates a tag for S24:
S24 INT (Radix:=Decimal) := <value>

Converting the Binary (B) $%ILOHLVWUDQVODWHGE\FRQYHUWLQJELWYDOXHVLQWRELWYDOXHVE\


File Type ILOOLQJWKHXSSHUELWVZLWK]HURV7KLVPHWKRGRIFRQYHUVLRQOHWV
LQVWUXFWLRQVWKDWPDQLSXODWH%ILOHVZRUNFRUUHFWO\H[FHSWIRU%6/DQG%65
LQVWUXFWLRQV<RXKDYHWRUHZRUNWKHVHLQVWUXFWLRQVEHFDXVHVKLIWLQJELWV
WKDWZRXOGKDYHPRYHGLQWRDQRWKHUELWZRUGPLJKWRQO\VKLIWLQWRWKH
XSSHU RUORZHU ELWVRIWKHVDPHELWZRUGLQWKH
/RJL[ DUFKLWHFWXUH

1756-6.8.5 - April 1999


Converting Data 3-5

7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQ',17DUUD\IRUWKH%
ILOH7KHWDJQDPHLV%[ ZKHUH[LVWKH3/&RU6/&GDWDWDEOHILOH
QXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKHVDPHDVWKH
QXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA B3:15 tag B3
153 227 ... type DINT[16] (Radix := Binary) := {153, 227, ... }
...

+HUHDUHVRPHH[DPSOHVRI%DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


B3.4/1 B3[4].1
B3/65 B3[4].1

Converting the Timer (T) 7LPHUVLQWKH3/&DQG6/&SURFHVVRUVFRQVLVWRIDELWSUHVHW


File Type YDOXHDELWDFFXPXODWRUYDOXHDQGDWLPHEDVHRIVHFRUPVHF
7LPHUVLQWKH/RJL[FRQWUROOHUFRQVLVWRIDELWSUHVHWYDOXHDELW
DFFXPXODWRUYDOXHVDQGDPVHFWLPHEDVH

7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQDUUD\RI7,0(5
VWUXFWXUHVIRUWKH7ILOH7KHWDJQDPHLV7[ ZKHUH[LVWKH3/&RU
6/& GDWDWDEOHILOHQXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHG
DUUD\LVWKHVDPHDVWKHQXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH
(DFKHOHPHQWLQWKHDUUD\LVD7,0(5VWUXFWXUHZKLFKFRQVLVWVRIWKUHH
ELW',17ZRUGV+HUHLVDFRPSDULVRQRIWKH3/&6/&WLPHUDQG
WKH/RJL[WLPHU

Word: PLC-5/SLC 500 bits: Logix5550 bits: Mnemonic: Description:


0 15 31 EN enable
0 14 30 TT timer timing
0 13 29 DN done
0 na 28 FS first scan (SFC use)
0 na 27 LS last scan (SFC use)
0 na 26 OV overflow
0 na 25 ER error
1 na na PRE preset value
2 na na ACC accumulator value

1756-6.8.5 - April 1999


3-6 Converting Data

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA T4:1 tag T4
0xE000 1 123 type TIMER[2] := {16#E0000000, 1000, 123000}
The .PRE and .ACC values were converted from a
1 second time base.

+HUHDUHVRPH7DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


T4:1 T4[1]
T4:1/15 T4[1].EN
T4:1/EN
T4:1.0/EN
T4:1.1 T4[1].PRE
T4:1.PRE
T4:1.2 T4[1].ACC
T4:1.ACC

,PSRUWDQW (DFKDGGUHVVWKDWUHIHUHQFHVD35(RU$&&YDOXHJHQHUDWHVD
3&(LQVWUXFWLRQ7KHWLPHEDVHIURPD3/&RU6/&
LQVWUXFWLRQPLJKWFKDQJHZKHQFRQYHUWHGWRD/RJL[
LQVWUXFWLRQVRLW¶VLPSRUWDQWWRH[DPLQHDOOGLUHFWUHIHUHQFHVWR
WKHVHSDUDPHWHUVWRPDNHVXUHWKHORJLFVWLOOH[HFXWHVSURSHUO\

Timer conversion rules

• 7KH35(DQG$&&YDOXHVDUHFRQYHUWHGWRHTXLYDOHQWVIRUD PVHF
WLPHEDVH

• 7KHILUVWWLPHEDVHHQFRXQWHUHGIRUDQLQGLYLGXDOWLPHULVXVHGIRU
FRQYHUWLQJWKHSUHVHWDQGDFFXPXODWRUYDOXHVHDFKWLPHWKDWWLPHU
DSSHDUV,IWKHWLPHUDSSHDUVPXOWLSOHWLPHVEXWZLWKGLIIHUHQWWLPH
EDVHVWKHFRQYHUVLRQSURFHVVSODFHVD3&(LQVWUXFWLRQRQHYHU\
RFFXUUHQFHRIWKDWWLPHU

• (DFKORJLFUHIHUHQFHWRD35(RU$&&YDOXHLVUHSODFHGZLWKD
3&( LQVWUXFWLRQ

1756-6.8.5 - April 1999


Converting Data 3-7

Converting the Counter (C) 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQDUUD\RI&2817(5


File Type VWUXFWXUHVIRUWKH&ILOH7KHWDJQDPHLV&[ ZKHUH[LVWKH3/&RU
6/& GDWDWDEOHILOHQXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHG
DUUD\LVWKHVDPHDVWKHQXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH
(DFKHOHPHQWLQWKHDUUD\LVD&2817(5VWUXFWXUHZKLFKFRQVLVWVRIWKUHH
ELW',17ZRUGV+HUHLVDFRPSDULVRQRIWKH3/&6/&FRXQWHU
DQGWKH/RJL[FRXQWHU

Word: PLC-5/SLC 500 bits: Logix5550 bits: Mnemonic: Description:


0 15 31 CU count up
0 14 30 CD count down
0 13 29 DN done
0 12 28 OV overflow
0 11 27 UN underflow
1 na na PRE preset value
2 na na ACC accumulator value

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA C5:4 tag C5
0xF800 500 0 type COUNTER[5] := {{16#F8000000, 500, 0 }, ... }
...

7KH35(DQG$&&YDOXHVGRQRWUHFHLYHDQ\VSHFLDOPDQLSXODWLRQGXULQJ
WKHFRQYHUVLRQ

+HUHDUHVRPH&DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


C5:2 C5[2]
C5:2/15 C5[2].CU
C5:2/CU
C5:2.0/CU
C5:2.1 C5[2].PRE
C5:2.PRE
C5:2.2 C5[2].ACC
C5:2.ACC

1756-6.8.5 - April 1999


3-8 Converting Data

Converting the Control (R) 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQDUUD\RI&21752/


File Type VWUXFWXUHVIRUWKH5ILOH7KHWDJQDPHLV5[ ZKHUH[LVWKH3/&RU
6/& GDWDWDEOHILOHQXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHG
DUUD\LVWKHVDPHDVWKHQXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH
(DFKHOHPHQWLQWKHDUUD\LVD&21752/VWUXFWXUHZKLFKFRQVLVWVRIWKUHH
ELW',17ZRUGV+HUHLVDFRPSDULVRQRIWKH3/&6/&FRQWURO
VWUXFWXUHDQGWKH/RJL[FRQWUROVWUXFWXUH

Word: PLC-5/SLC 500 bits: Logix5550 bits: Mnemonic: Description:


0 15 31 EN enable
0 14 30 EU queue
0 13 29 DN done
0 12 28 EM empty
0 11 27 ER error
0 10 26 UL unload
0 9 25 IN inhibit
0 8 24 FD found
1 na na LEN length
2 na na POS position

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA R6:19 tag R6
0xFFF00 0 0 type CONTROL[20] := {{16#FF000000, 0,0 }, ... }
...

7KH/(1DQG326YDOXHVGRQRWUHFHLYHDQ\VSHFLDOPDQLSXODWLRQGXULQJ
WKHFRQYHUVLRQ

+HUHDUHVRPH5DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


R6:3 R6[3]
R6:3/15 R6[3].EN
R6:3/EN
R6:3.0/EN
R6:3.1 R6[3].LEN
R6:3.LEN

1756-6.8.5 - April 1999


Converting Data 3-9

Converting the Integer (N) 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQ,17DUUD\IRUWKH1ILOH


File Type 7KHWDJQDPHLV1[ ZKHUH[LVWKH3/&RU6/&GDWDWDEOHILOH
QXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKHVDPHDVWKH
QXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA N7:99 tag N7
153 227 ... type INT[100] (Radix := Decimal) := {153, 227, ... }
...

+HUHDUHVRPH1DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


N7:0 N7[0]
N7:1/2 N7[1].2

Converting the Floating Point 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQ5($/DUUD\IRUWKH


(F) File Type ) ILOH7KHWDJQDPHLV)[ ZKHUH[LVWKH3/&RU6/&GDWDWDEOHILOH
QXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKHVDPHDVWKH
QXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA F8:6 tag F8
1.23 4.56 ... type REAL[7] := {1.23, 4.56, ... }
...

+HUHDUHVRPH)DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


F8:3 F8[3]

1756-6.8.5 - April 1999


3-10 Converting Data

Converting the ASCII (A) 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQ,17DUUD\IRUWKH$ ILOH


File Type 7KHWDJQDPHLV$[ ZKHUH[LVWKH3/&RU6/&GDWDWDEOHILOH
QXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKHVDPHDVWKH
QXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA A9:1 tag A9
24930 25444 type INT[2] := {24930, 25444}

+HUHDUHVRPH$DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


A9:4 A9[4]
A9:5/6 A9[5].6

Converting the Decimal (D) 7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQ,17DUUD\IRUWKH' ILOH


File Type 7KHWDJQDPHLV'[ ZKHUH[LVWKH3/&RU6/&GDWDWDEOHILOH
QXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKHVDPHDVWKH
QXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA D10:2 tag D10
256 512 768 type INT[3] := {256, 512, 768}

+HUHDUHVRPH'DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


D10:0 D10[0]

Converting the Block-Transfer 7KHFRQYHUVLRQSURFHVVFUHDWHVDQLQGLYLGXDO0(66$*(VWUXFWXUHIRUHDFK


(BT) File Type HOHPHQWLQWKH%7ILOH QRWDQDUUD\RIVWUXFWXUHV 0(66$*(WDJVFDQQRW
EHDUUD\HOHPHQWV7KHWDJQDPHLV0*[ ZKHUH[LVWKH3/&RU6/&
GDWDWDEOHILOHQXPEHU 

2QO\WKHORFDOPHVVDJHLQIRUPDWLRQLVFRQYHUWHGZKLFKFRQVLVWVRIWKH
PHVVDJHW\SHWKHPHVVDJHLWVHOIDQGWKHPHVVDJHOHQJWK$IWHUWKH
FRQYHUVLRQ\RXPXVWXVHWKHSURJUDPPLQJVRIWZDUHWRFRQILJXUHWKH
PHVVDJH

1756-6.8.5 - April 1999


Converting Data 3-11

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA BT9:1 tag A_MSG_TEMPBUF2
... type INT[1] (Radix:=HEX,
... Description:=”Temporary Buffer Tag created during
conversion”) := [0]

tag MG9_1
type MESSAGE (DF1DHFLAG :=0,
ProduceCount := 0
LocalTag := A_MSG_TEMPBUF2,
RequestedLength := 10,
MessageType := Block Transfer Read);

7KHFRQYHUVLRQSURFHVVFUHDWHVDWHPSRUDU\EXIIHULQWRRURXWRIZKLFKWKH
DFWXDO/RJL[06*LQVWUXFWLRQRSHUDWHV7KHQWKHFRQYHUVLRQSURFHVV
XVHVDQ)$/LQVWUXFWLRQWRFRS\WKHGDWDWRIURPWKHDFWXDO/RFDOWDJ

+HUHDUHVRPH%7DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


BT11:5 MG11_5
BT11:5.RLEN MG11_5.RLEN

Block-transfer conversion rules

• 7KH0HVVDJH7\SHLVVHWWRHLWKHU%ORFN7UDQVIHU5HDGRU%ORFN7UDQVIHU
:ULWHGHSHQGLQJRQWKH3/&EORFNWUDQVIHULQVWUXFWLRQ

• 7KH')'+)ODJLVDOZD\VVHWWR

• 7KH/RFDO7DJLVVHWWRWKHWDJVSHFLILHGE\WKH3/&EORFNWUDQVIHU
LQVWUXFWLRQ

1756-6.8.5 - April 1999


3-12 Converting Data

Converting the M0 and M1 7KHFRQYHUVLRQSURFHVVFUHDWHVRQHVLQJOHGLPHQVLRQ,17DUUD\IRUWKH


File Types 0[DQG0[ ZKHUH[LVWKH3/&RU6/&GDWDWDEOHILOHQXPEHU 
7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKHVDPHDVWKHQXPEHURI
HOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This SLOT statement: Converts to:


SLOT 4 1747-SN SCAN_IN 32 SCAN_OUT 32 tag M0_4
ISR 0 M0_SIZE 3300 M1_SIZE 3300 G_FILE 8 type INT[3300] () := [0, 0, ...]
tag M1_4
type INT[3300] () := [0, 0, ...]

+HUHDUHVRPH00DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


M0:0/1 M0_0[1]
M1:1/1 M1_1[1]

Converting the Message (MG) $Q0*ILOHLVFRQYHUWHGWRD0(66$*(W\SHWDJ+RZHYHURQO\WKHORFDO


File Type PHVVDJHLQIRUPDWLRQLVFRQYHUWHGZKLFKFRQVLVWVRIWKHPHVVDJHW\SHWKH
PHVVDJHLWVHOIDQGWKHPHVVDJHOHQJWK$IWHUWKHFRQYHUVLRQ\RXPXVWXVH
WKHSURJUDPPLQJVRIWZDUHWRFRQILJXUHWKHPHVVDJH

7KHFRQYHUVLRQSURFHVVFUHDWHVDQLQGLYLGXDO0(66$*(VWUXFWXUHIRUHDFK
HOHPHQWLQWKH0*ILOH QRWDQDUUD\RIVWUXFWXUHV 0(66$*(WDJVFDQQRW
EHDUUD\HOHPHQWV7KHWDJQDPHLV0*[ ZKHUH[LVWKH3/&RU6/&
GDWDWDEOHILOHQXPEHU +HUHLVDFRPSDULVRQRIWKH3/&6/&0*
VWUXFWXUHDQGWKH/RJL[0(66$*(VWUXFWXUH

Message type: Logix5550 message type:


TYPEDREAD PLC5 Typed Read
TYPEDWRITE PLC5 Typed Write
PLC3_WORDRANGEREAD PLC3 Word Range Read
PLC3_WORDRANGEWRITE PLC3 Word Range Write
PLC2_UNPROTECTEDREAD PLC2 Unprotected Read
PLC2_UNPROTECTEDWRITE PLC2 Unprotected Write
SLC_TYPEDREAD SLC Typed Read
SLC_TYPEDWRITE SLC Typed Write

1756-6.8.5 - April 1999


Converting Data 3-13

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This MSG instruction: Converts to:


MG9:0 tag A_MSG_TEMPBUF1
PLC-5 MSG type INT[1] (Radix:=HEX,
message type PLC-2 unprotected read Description:=”Temporary Buffer Tag created during conversion”) := [0]
local data table address N7:0
size in elements 1
tag MG9_0
port 1A
target address 10 type MESSAGE (DF1DHFLAG :=0,
target node 2 LocalTag := A_MSG_TEMPBUF1,
RequestedLength := 1,
local
MessageType := PLC2 Unprotected Read);

7KHFRQYHUVLRQSURFHVVFUHDWHVDWHPSRUDU\EXIIHULQWRRURXWRIZKLFKWKH
DFWXDO/RJL[06*LQVWUXFWLRQRSHUDWHV7KHQWKHFRQYHUVLRQSURFHVV
XVHVDQ)$/LQVWUXFWLRQWRFRS\WKHGDWDWRIURPWKHDFWXDO/RFDOWDJ+HUH
DUHWKHOLQHVLQDQ/.ILOHWKDWDUHJHQHUDWHGE\DVLPSOH3/&06*
LQVWUXFWLRQXVLQJWKHDERYHGHFODUDWLRQV

;,2 0*B(1 5(6 5B06*B&7/ )$/ 5B06*B&7/$//


$B06*B7(03%8)>5B06*B&7/326@1>
5B06*B&7/326@ 06* 0*B 

+HUHLVWKHOLQHIURPWKH3&ILOHWKDWJHQHUDWHGWKHDERYH

625;,20*(106*0*(25

+HUHDUHVRPH0*DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


MG9:5 MG9_5
MG9:5.ERR MG9_5.ERR

Message conversion rules

• 7KH0HVVDJH7\SHLVVHWWRWKHDSSURSULDWHW\SHGHSHQGLQJRQWKH
PHVVDJHLQVWUXFWLRQ

• 7KH')'+)ODJLVDOZD\VVHWWR

1756-6.8.5 - April 1999


3-14 Converting Data

Converting the PID (PD) $3'ILOHLVFRQYHUWHGWRD3,'W\SHWDJ$Q\3,'LQVWUXFWLRQWKDWXVHVDQ1


File Type FRQWUROILOHLVQRWIXOO\FRQYHUWHG,QWKLVFDVHWKH1ILOHLVFRQYHUWHGDORQJ
ZLWKWKH3,'LQVWUXFWLRQEXWWKHLQVWUXFWLRQZLOOIDLOGXULQJSURJUDP
YHULILFDWLRQ<RXKDYHWRXVHWKHSURJUDPPLQJVRIWZDUHWRFRQILJXUHWKH
FRQWUROLQIRUPDWLRQ

7KHFRQYHUVLRQSURFHVVFUHDWHVDVLQJOHGLPHQVLRQDUUD\RI3,'VWUXFWXUHV
IRUWKH3'ILOH7KHWDJQDPHLV3'[ ZKHUH[LVWKH3/&RU6/&GDWD
WDEOHILOHQXPEHU 7KHQXPEHURIHOHPHQWVLQWKHFRQYHUWHGDUUD\LVWKH
VDPHDVWKHQXPEHURIHOHPHQWVLQWKHRULJLQDOGDWDWDEOHILOH(DFKHOHPHQW
LQWKHDUUD\LVD3,' VWUXFWXUH

)RUH[DPSOHLQWKH$6&,,WH[WILOH

This DATA statement: Converts to:


DATA PD10:10 tag PD10
256 0 0 0 0 0 type PID10[11].1 := {536870912, 0, 0, 0, 0, 0, 0,
000000 0, 0, 0, 0, 0, 0.1, 0
0, 0, 0, 0, 0, 0, 0,
0 0.1 0 0 0 0
0, 0, 0, 0, 0, 0, [0,
000000 0, 0, 0, 0, 0, 0, 0,
0 0 15 10 1 0 0, 0, 0, 0, 0, 0, 0]}
000000 ...
000000
00
...

+HUHDUHVRPH3'DGGUHVVHVDQGWKHLU/RJL[HTXLYDOHQWV

Original Address: Converted Address:


PD10:1 PD10[1]
PD10:1/15 PD10[1].EN
PD10:1/EN
PD10:1.0/15
PD10:1.2 PD10[1].SP

Converting the ASCII String 7KH$6&,,GDWDW\SHLVQRWVXSSRUWHGLQWKH/RJL[FRQWUROOHU7KH


(ST) File Type FRQYHUVLRQSURFHVVGRHVQRWFRQYHUWDQ\67ILOHV7KHFRQYHUVLRQSURFHVV
UHSODFHVDQ\LQVWUXFWLRQVWKDWUHIHUHQFHDQ67GDWDW\SHZLWKD
3&( LQVWUXFWLRQ

Converting the ControlNet (CT) 7KH&RQWURO1HWGDWDW\SHLVQRWVXSSRUWHGLQWKH/RJL[FRQWUROOHU7KH


File Type FRQYHUVLRQSURFHVVGRHVQRWFRQYHUWDQ\&7ILOHV7KHFRQYHUVLRQSURFHVV
UHSODFHVDQ\LQVWUXFWLRQVWKDWUHIHUHQFHDQ&7GDWDW\SHZLWKD
3&( LQVWUXFWLRQ

1756-6.8.5 - April 1999


Converting Data 3-15

Converting Constant Values 7KHFRQYHUVLRQSURFHVVPDLQWDLQVFRQVWDQWV7KHIRUPDWRIFRQYHUWHG


FRQVWDQWVYDULHVVOLJKWO\WRFRQIRUPZLWK/RJL[IRUPDWUHTXLUHPHQWV

)RUH[DPSOH

This constant type: PLC-5/SLC 500 example: Conversion: Conversion rule:


Integer &N49 49 remove &N, if present
-49 -49 copy remainder of constant
Binary &B00110001 2#00110001 replace &B with 2#
copy remainder of constant
ASCII &A1 16#0031 convert to hex constant
&Amx 16#6D78
Hex &H0031 16#0031 replace &H, 0x, or 0X with 16#
0x0032 16#0032 copy remainder of constant
0X0033 16#0033
BCD &D0049 16#0031 convert to hex constant
Octal &O61 8#61 replace &O with 8#
copy remainder of constant
Float -12.34E-12 -12.34E-12 this syntax is completely compatible
3.45 3.45 copy the constant as is

1756-6.8.5 - April 1999


3-16 Converting Data

Converting Indirect Addresses ,QGLUHFWDGGUHVVLQJLVZKHQDSDUWRIDQDGGUHVVLVUHSODFHGZLWKDUHIHUHQFH


WRDQRWKHUDGGUHVV7KH3/&DQG6/&SURFHVVRUVFDQXVHDQDGGUHVV
UHIHUHQFHWRGHILQHWKHVHDGGUHVVSDUWV
• ILOHQXPEHU
• ZRUGRUHOHPHQWQXPEHU
• ELWQXPEHU RQO\IRU%W\SHDGGUHVVHV

7KHFRQYHUVLRQWRROVXSSRUWVLQGLUHFWDGGUHVVHVH[FHSWZKHQWKH
LQGLUHFWLRQLVDQDUUD\VSHFLILFDWLRQ,QGLUHFWDUUD\VSHFLILFDWLRQVDUH
FRQYHUWHGWRDOLDVHV

)RUH[DPSOH

Type: PLC-5/SLC 500 example: Conversion: Conversion rule:


File number N[N7:0]:5 na The conversion tool cannot convert an indirect file
number.
A PCE instruction is generated.
Word or N12:[N7:0] N12[N7_0] N7:0 translates to array tag N7[0].
element Alias N7_0 replaces the indirect address.
number
N12:[T4:1.PRE] N12[T4_1_PRE] T4:1.PRE translates to array tag T4[1].PRE.
Alias T4_1_PRE replaces the indirect address.
Bit number B3/[N7:0] B3[N7_0 / 16].[N7_0 AND 15] The conversion process must convert to the correct
word and bit within that word.
Alias N7_0 replace the indirect address.

Converting indirect addressing on the file number

,QGLUHFWDGGUHVVLQJRQWKHILOHQXPEHUFDQDFWXDOO\EHLPSOHPHQWHGDIWHUWKH
FRQYHUVLRQSURFHVVLIWKHRULJLQDOGDWDWDEOHILOHVDUHFRQVHFXWLYH
)RU H[DPSOHD3/&SURFHVVRUKDVSURJUDPILOHVZLWKKHDWWUHDWLQJ
³UHFLSHV´LQWKHP

Element: Description:
0 recipe number
1 heat segment 1: time in minutes
2 heat segment 1: temperature in F°
3 heat segment 2: time in minutes
4 heat segment 2: temperature in F°
5 room temperature cooling time in minutes

1756-6.8.5 - April 1999


Converting Data 3-17

,QWKH$6&,,WH[WILOH

'$7$1
     

'$7$1
     

'$7$1
     

'$7$1
     

'$7$1
     

7KHVHGDWDILOHVFRQYHUWWR

1',17>@ 5DGL[ 'HFLPDO  >@


1',17>@ 5DGL[ 'HFLPDO  >@
1',17>@ 5DGL[ 'HFLPDO  >@
1',17>@ 5DGL[ 'HFLPDO  >@
1',17>@ 5DGL[ 'HFLPDO  >@

8VHDWH[WHGLWRUWRPRGLI\WKHVHLQWHJHUILOHVLQWRDWZRGLPHQVLRQDODUUD\

5(&,3(6',17>@ 5DGL[ 'HFLPDO  >





@

$VVXPHWKDWWKHUHLVDQLQGLUHFWDGGUHVVUHIHUHQFHWR1>1@WRUHDGWKH
UHFLSHQXPEHU,QWKHFRQYHUWHGSURMHFWXVH5(&,3(6>1B@ZKHUH
1BLVWKHWUDQVODWHGIRUPRI1<RXKDYHWRPRGLI\WKHERXQGV
FKHFNLQJEHFDXVHWKHRULJLQDOILOHQXPEHUVUDQJHGIURPWREXWWKH
ILUVWLQGH[LQWKHWZRGLPHQVLRQDODUUD\UDQJHVIURPWR

1756-6.8.5 - April 1999


3-18 Converting Data

Converting Indexed Addresses ,QGH[HGDGGUHVVHVLQWKH3/&DQG6/&SURFHVVRUVDUHZKHQD


FKDUDFWHUSUHFHGHVWKHDGGUHVV

Converting indexed addresses controlled by the processor


status word S:24

7KHSURFHVVRUVWDWXVZRUG6FRQWDLQVWKHFXUUHQWLQGH[YDOXHWRDGGWRDQ
DGGUHVVUHIHUHQFH7KHFRQYHUVLRQSURFHVVDGGVWKHYDOXHRI6WRDQG
LQGH[HGYDOXHVLWFRQYHUWVDQGSODFHVD3&(LQVWUXFWLRQLQWKHRXWSXW
LPSRUWH[SRUWILOH

)RUH[DPSOH

This address: Converts to:


#N7:2 N7[2 + S24]

Converting indexed addresses that specify data in files


(Logix5550 arrays)

,QGH[HGDGGUHVVHVDUHDOVRXVHGZLWKWKHILOHLQVWUXFWLRQVWRRSHUDWHRQILOHV
RIGDWD7KHVHLQVWUXFWLRQXVHD&21752/VWUXFWXUHWRGHWHUPLQHWKH
LQGH[YDOXHWKHFXUUHQWSRVLWLRQZLWKLQWKHILOH

7KH/RJL[FRQWUROOHUVWRUHVGDWDLQDUUD\VUDWKHUWKDQILOHV,QGH[HG
DGGUHVVHVIRU3/&DQG6/&ILOHLQVWUXFWLRQVDUHFRQYHUWHGWRDUUD\
WDJVZLWKRXWDGGLQJWKHYDOXHRIVWDWXVZRUG6

)RUH[DPSOH

This instruction: Converts to:


AVE #N10:0 N11:0 R6:0 6 0 AVE(N10[0], 0, N11[0], R6[0], 6, 0)

Converting Symbols 7KHFRQYHUVLRQSURFHVVFRQYHUWVDV\PEROWRDGHVFULSWLRQ

7KH3/&DQG6/&LPSRUWH[SRUWILOHXVHV6<0VWDWHPHQWVWR
LGHQWLI\ V\PEROV

6<0DGGUHVVBUHIHUHQFH!OLWHUDO!

1756-6.8.5 - April 1999


Converting Data 3-19

:KHUH

This field: Specifies the:


address_reference address
The conversion process creates a tag to correspond to the
actual address.
literal symbol text
The conversion process converts the symbol text to
a description.

7KH3/&DQG6/&SURFHVVRUVVXSSRUWVRPHV\PEROIRUPDWVWKDWDUH
QRWVXSSRUWHGLQWKH/RJL[FRQWUROOHU,QWKHVHFDVHVWKHFRQYHUVLRQ
SURFHVVPRGLILHVWKHV\PEROWH[W

)RUH[DPSOH

Logix5550 tag: SYM statement: Modified tag:


N7 : INT[9] (Radix := Decimal) SYM N7:2 Kitty N7 : INT[9] (Radix := Decimal, Comment[2]:=”Kitty”)
B3 : INT[5] (Radix := Binary) SYM B3:4/5 Puppy B3 : INT[5] (Radix := Binary, Comment[4].5:=”Puppy”)
T4 : TIMER[2] SYM T4:0 Ducky T4 : TIMER[2] (Comment[0]:=”Ducky”,
SYM T4:1 2ndDuck Comment[1]:=”_2ndDuck”)

na SYM N[N7:0]:0 Pig This address format is not supported in the conversion
process. No tag is created.

,IDQDGGUHVVUHIHUHQFHKDVERWKDV\PERODQGDQDGGUHVVFRPPHQWWKH
FRQYHUVLRQSURFHVVFRQFDWHQDWHVWKHV\PEROWRWKHHQGRIWKH
DGGUHVV FRPPHQW

Converting Address Comments 7KHFRQYHUVLRQSURFHVVFRQYHUWVDGGUHVVFRPPHQWVWRGHVFULSWLRQV


7KH3/&DQG6/&LPSRUWH[SRUWILOHXVHV$&VWDWHPHQWVWRLGHQWLI\
DGGUHVV FRPPHQWV

$&>IRUPDWWLQJBNH\ZRUG@DGGUHVVBUHIHUHQFH!³FRPPHQWBWH[W´!

1756-6.8.5 - April 1999


3-20 Converting Data

:KHUH

This field: Specifies the:


formatting_keyword format of the comment text.
The PLC-5 and SLC 500 processors support formatting
commands for comment text. The conversion process
ignores these formatting keywords.
address_reference address
The conversion process creates a tag to correspond to the
actual address.
literal comment text
The conversion process converts the comment text to
a description.

)RUH[DPSOH

Logix5550 tag: AC statement: Modified tag:


N7 : INT[9] (Radix := Decimal) AC N7:2 Kitty N7 : INT[9] (Radix := Decimal, Comment[2]:=”Kitty”)
B3 : INT[5] (Radix := Binary) AC B3:4/5 Puppy B3 : INT[5] (Radix := Binary, Comment[4].5:=”Puppy”)

,IDQDGGUHVVUHIHUHQFHKDVERWKDV\PERODQGDQDGGUHVVFRPPHQWWKH
FRQYHUVLRQSURFHVVFRQFDWHQDWHVWKHV\PEROWRWKHHQGRIWKH
DGGUHVV FRPPHQW

1756-6.8.5 - April 1999


Chapter 4

Converting PLC-5 Instructions

Introduction 7KLVFKDSWHUH[SODLQVKRZWKHWUDQVODWLRQWRROFRQYHUWVLQGLYLGXDO
LQVWUXFWLRQV$UHDVWRFRQVLGHUDUHLGHQWLILHGZKHUHDSSURSULDWH

,PSRUWDQW &XUUHQWO\WKHWUDQVODWLRQWRROFRQYHUWVRQO\ODGGHULQVWUXFWLRQV
6)&DQGVWUXFWXUHGWH[WILOHVDUHQRWFRQYHUWHG

Conversion Rules :KHQFRQYHUWLQJLQVWUXFWLRQVWKHFRQYHUVLRQWRROIROORZVWKHVH UXOHV

• 3/&DQG6/&SDUDPHWHUVXVHELWV7KH\ZLOOEHH[WHQGHGWR
 ELWVIRU/RJL[SDUDPHWHUV

• &RQVWDQWVDUHFRQYHUWHGWRELQDU\IRUPDW

• $OOUHIHUHQFHVWR666DQG6DUHUHSODFHGZLWKWKH
/RJL[NH\ZRUGV6&696=DQG61UHVSHFWLYHO\

• (DFKUHIHUHQFHWRWKH29DQG81ELWVRID&2817(5ILOHW\SHUHVXOWV
LQD3&(LQVWUXFWLRQ

• $Q\FRQVWDQWWKDWUHSUHVHQWVDVHULDOSRUWLVDOZD\VFRQYHUWHGWRWKH
/RJL[VHULDOSRUW

• ,IGDWDW\SHPL[LQJRFFXUVEHWZHHQLQWHJHUDQGUHDOW\SHVORJDW\SH
FRQYHUVLRQPHVVDJHWRWKHFRQYHUVLRQORJILOHDQGLQVHUWD3&(
LQVWUXFWLRQLQWKHRXWSXWLPSRUWH[SRUWILOH

• /RJPHVVDJHVDUHLQVHUWHGIRUDOOFRQYHUWHGH[SUHVVLRQVWRHQFRXUDJHWKH
XVHUWRYHULI\WKDWRSHUDWRUSUHFHGHQFHZDVFRUUHFWO\FRQYHUWHG

1756-6.8.5 - April 1999


4-2 Converting PLC-5 Instructions

Instruction List 7KHIROORZLQJWDEOHOLVWVWKH3/&DQG6/&LQVWUXFWLRQVDQGLQFOXGHV


FRPPHQWVZKHUHDSSURSULDWHWRLGHQWLI\FRQYHUVLRQLVVXHV

Instruction: Name: Processor: Parameter: Considerations, if any:


ABL ASCII Test Buffer PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
for Line SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
Control
Characters
ABS Absolute Value SLC 500 Source Converts, but RSLogix5000 does not support this instruction.
When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Destination
ACB ASCII Number of PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
Characters in When you import the converted file, it appears as a UNK
Buffer instruction and you must rework the logic.
Channel is set to zero.
Control
Characters
ACI ASCII String PLC-5 Source Converts, but RSLogix5000 does not support this instruction.
to Integer SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Destination
ACL ASCII Clear SLC 500 Channel Converts, but RSLogix5000 does not support this instruction.
Buffer When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
Transmit Buffer
Receive Buffer
ACN ASCII String PLC-5 Source A Converts, but RSLogix5000 does not support this instruction.
Concatenate SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Source B
Destination
ACS Arc Cosine PLC-5 Source A
SLC 500
Destination
ACT SFC Action PLC-5 na Ignores as part of the SFC section.
ADD Add PLC-5 Source A
SLC 500
Source B
Destination

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-3

Instruction: Name: Processor: Parameter: Considerations, if any:


AEX ASCII String PLC-5 Source Converts, but RSLogix5000 does not support this instruction.
Extract SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Index
Number
Destination
AFI Always False PLC-5 na
AGA AGA Flow PLC-5 na There is no Logix5550 equivalent. Logs a message to the log file
and generate a PCE instruction.
AHL ASCII Set/Reset PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
Handshake Lines SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
AND Mask Does not convert S:24 for indexing. Uses .POS value from
Control.
OR Mask Does not convert S:24 for indexing. Uses .POS value from
Control.
Control
Channel Status
AIC ASCII Integer to PLC-5 Source Converts, but RSLogix5000 does not support this instruction.
String SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Destination
AND Logical AND PLC-5 Source A
SLC 500
Source B
Destination
ARD ASCII Read PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
Characters SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
Destination Does not convert S:24 for indexing. Uses .POS value from
Control.
Control
String Length
Characters Read
ARL ASCII Read Line PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
Destination Does not convert S:24 for indexing. Uses .POS value from
Control.
Control
String Length
Characters Read

1756-6.8.5 - April 1999


4-4 Converting PLC-5 Instructions

Instruction: Name: Processor: Parameter: Considerations, if any:


ASC ASCII String PLC-5 Source Converts, but RSLogix5000 does not support this instruction.
Search SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Index
Search
Result
ASN Arc Sine PLC-5 Source
SLC 500
Destination
ASR ASCII String PLC-5 Source A Converts, but RSLogix5000 does not support this instruction.
Compare SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Source B
ATN Arc Tangent PLC-5 Source
SLC 500
Destination
AVE Average PLC-5 File Does not convert S:24 for indexing.
Destination Inserts 0 for dimension to vary.
Control File
Length
Position
AWA ASCII Write PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
with Append SLC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
Source Does not convert S:24 for indexing. Uses .POS value from
Control.
Control
String Length
Characters Sent
AWT ASCII Write PLC-5 Channel Converts, but RSLogix5000 does not support this instruction.
SC 500 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel is set to zero.
Source Does not convert S:24 for indexing. Uses .POS value from
Control.
Control
String Length
Characters Sent
BND Branch End PLC-5 na Converts to right bracket (]).
SLC 500
BRK BRK PLC-5 na

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-5

Instruction: Name: Processor: Parameter: Considerations, if any:


BSL Bit Shift Left PLC-5 File Does not convert S:24 for indexing. Logs message to log file.
SLC 500
Control File
Bit Address
Length If the length is greater than 1, ensure the correct bit numbers are
being operated on by using ONS and BTD instructions in parallel
branches.
BSR Bit Shift Right PLC-5 File Do not use S:24 for indexing. Logs message to log file.
SLC 500
Control File
Bit Address
Length If the length is greater than 1, ensure the correct bit numbers are
being operated on by using ONS and BTD instructions in parallel
branches.
BST Branch Start PLC-5 na Converts to left bracket ([).
SLC 500
BTD Bit Distribute PLC-5 Source
Source Bit
Destination
Destination Bit
Length
BTR Block-Transfer PLC-5 Rack Ignores rack parameter. Converts instruction to MSG instruction
Read and generates a PCE instruction.
Group Ignores group parameter.
Module Ignores module parameter.
Control Block
Data File Uses this data file to set the LocalTag attribute. Add RES and FAL
instructions to make adjustments for the 16-bit to 32-bit
conversion.
Length Ignores the length parameter.
Continuous Ignores the continuous parameter.
BTW Block-Transfer PLC-5 Rack Ignores rack parameter. Converts instruction to MSG instruction
Write and generate a PCE instruction.
Group Ignores group parameter.
Module Ignores module parameter.
Control Block
Data File Uses this data file to set the LocalTag attribute. Add RES and FAL
instructions to make adjustments for the 16-bit to 32-bit
conversion.
Length Ignores the length parameter.
Continuous Ignores the continuous parameter.
CIO ControlNet PLC-5 Control Block Logs message to log file and generates PCE instruction.
I/O Transfer

1756-6.8.5 - April 1999


4-6 Converting PLC-5 Instructions

Instruction: Name: Processor: Parameter: Considerations, if any:


CLR Clear PLC-5 Destination
SLC 500
CMP Compare PLC-5 Expression Check the converted expression for correct precedence order.
COP Copy PLC-5 Source Does not convert S:24 for indexing. If source and destination
SLC 500 types differ, logs message to log file.
Destination Does not convert S:24 for indexing.
Length
COS Cosine PLC-5 Source
SLC 500
Destination
CPT Compute PLC-5 Destination
SLC 500
Expression Check the converted expression for correct precedence order.
CTD Count Down PLC-5 Counter
SLC 500
Preset
Accum
CTU Count Up PLC-5 Counter
SLC 500
Preset
Accum
DCD Decode 4 to 1 SLC 500 Source Converts, but RSLogix5000 does not support this instruction.
of 16 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Destination
DDT Diagnostic PLC-5 Source Does not convert S:24 for indexing. Follow the DDT instruction
Detect with MOV and FAL instruction on parallel branches to ensure the
correct bits are being operated on.
Reference Does not convert S:24 for indexing.
Result Does not convert S:24 for indexing.
Compare Control
Length
Position
Result Control
Length
Position
DEG Degree PLC-5 Source
SLC 500
Destination
DFA Diagnostic Fault PLC-5 na There is no Logix5550 equivalent. Logs a message to the log file
Annunciator and generate a PCE instruction.
DIV Divide PLC-5 Source A
SLC 500
Source B
Destination

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-7

Instruction: Name: Processor: Parameter: Considerations, if any:


DTR Data Transition PLC-5 Source
Mask
Reference
ENC Encode 1 of 16 SLC 500 Source Converts, but RSLogix5000 does not support this instruction.
to 4 When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Destination
EOC End of SFC PLC-5 na Ignores as part of an SFC section.
Compression
EOR End of Rung PLC-5 na No action is taken.
SLC 500
EOT End of Transition PLC-5 na Ignores as part of an SFC section.
ESE End of SFC PLC-5 na Ignores as part of an SFC section.
Section
EOP End of SFC PLC-5 na Ignores as part of an SFC section.
Program
EQU Equal to PLC-5 Source A
SLC 500
Source B
ERI Error on Input PLC-5 na Converts, but RSLogix5000 does not support this instruction.
Instruction When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
ERO Error on Output PLC-5 na Converts, but RSLogix5000 does not support this instruction.
Instruction When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
ESI End of SFC PLC-5 na Ignores as part of SFC section.
Simultaneous
Branch
FAL File Arithmetic PLC-5 Control
Length
Position
Mode
Destination Uses the .POS value for indexing, not S:24.
Expression Uses the .POS value for indexing, not S:24. Check converted
expression for correct precedence order.

1756-6.8.5 - April 1999


4-8 Converting PLC-5 Instructions

Instruction: Name: Processor: Parameter: Considerations, if any:


FBC File Bit Compare PLC-5 Source Does not convert S:24 for indexing. Follow the DDT instruction
with MOV and FAL instruction on parallel branches to ensure the
correct bits are being operated on.
Reference Does not convert S:24 for indexing.
Result Does not convert S:24 for indexing.
Compare Control
Length
Position
Result Control
Length
Position
FFL FIFO Load PLC-5 Source
SLC 500
FIFO Does not convert S:24 for indexing.
Control File
Length
Position
FFU FIFO Unload PLC-5 FIFO Does not convert S:24 for indexing.
SLC 500
Destination
Control File
Length
Position
FLL File Fill PLC-5 Source
SLC 500
Destination
Length Does not convert S:24 for indexing.
FOR For Loop PLC-5 Label Does not convert the label number. You must modify the
converted FOR instruction.
See page 4-16.
Index
Initial Value
Terminal Value
Step Size
FRD From BCD PLC-5 Source
SLC 500
Destination
FSC File Search and PLC-5 Control
Compare
Length
Position
Mode
Expression Uses the .POS value for indexing, not S:24. Check converted
expression for correct precedence order.

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-9

Instruction: Name: Processor: Parameter: Considerations, if any:


GEQ Greater Than or PLC-5 Source A
Equal to SLC 500
Source B
GRT Greater Than PLC-5 Source A
SLC 500
Source B
HSC High Speed SLC 500 Counter Converts, but RSLogix5000 does not support this instruction.
Counter When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Preset
HSD HSC Interrupt SLC 500 Type Converts, but RSLogix5000 does not support this instruction.
Disable When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Counter
Preset
Accum
HSE HSC Interrupt SLC 500 Counter Converts, but RSLogix5000 does not support this instruction.
Enable When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
HSL HSC Load SLC 500 Counter Converts, but RSLogix5000 does not support this instruction.
When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Source
Length
IDI Immediate Data PLC-5 Data File Offset There is no Logix5550 equivalent. Logs a message to the log file
Input and generate a PCE instruction.
Length
Destination
IDO Immediate Data PLC-5 Data File Offset There is no Logix5550 equivalent. Logs a message to the log file
Output and generate a PCE instruction.
Length
Destination
IID I/O Interrupt SLC 500 Slots There is no Logix5550 equivalent. Logs a message to the log file
Disable and generate a PCE instruction.
IIE I/O Interrupt SLC 500 Slots There is no Logix5550 equivalent. Logs a message to the log file
Enable and generate a PCE instruction.
IIM Immediate Input SLC 500 Slot There is no Logix5550 equivalent. Logs a message to the log file
with Mask and generate a PCE instruction.
Mask
Length
IIN Immediate Input PLC-5 RRG
INT I/O Interrupt SLC 500 na There is no Logix5550 equivalent. Logs a message to the log file
and generate a PCE instruction.
IOT Immediate PLC-5 RRG
Output
JMP Jump PLC-5 Label Converts label “n” to “label_n” because a Logix5550 label
SLC 500 cannot be a number.

1756-6.8.5 - April 1999


4-10 Converting PLC-5 Instructions

Instruction: Name: Processor: Parameter: Considerations, if any:


JSR Jump to PLC-5 Ladder Program Converts to a routine name.
Subroutine SLC 500
Input Parameters
Return
Parameters
LAB Label PLC-5 na Ignores as part of SFC section.
LBL LBL PLC-5 Label Converts label “n” to “label_n” because a Logix5550 label
SLC 500 cannot be a number.
You must modify the converted FOR instruction.
See page 4-16.
LEQ Less Than or PLC-5 Source A
Equal to SLC 500
Source B
LES Less Than PLC-5 Source A
SLC 500
Source B
LFL LIFO Load PLC-5 Source
SLC 500
LIFO Does not convert S:24 for indexing.
Control File
Length
Position
LFU LIFO Unload PLC-5 LIFO Does not convert S:24 for indexing.
SLC 500
Destination
Control File
Length
Position
LIM Limit PLC-5 Low Limit
SLC 500
Test
High Limit
LN Natural Log PLC-5 Source
SLC 500
Destination
LOG Log to the Base PLC-5 Source
10 SLC 500
Destination
MCR Master Control PLC-5 na
Relay SLC 500
MEQ Mask Compare PLC-5 Source Operand
Equal to SLC 500
Source Mask
Compare
Operand
MOD Modulo Divide PLC-5 na There is no Logix5550 equivalent. Logs a message to the log file
SLC 500 and generate a PCE instruction.
MOV Move PLC-5 Source
SLC 500
Destination

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-11

Instruction: Name: Processor: Parameter: Considerations, if any:


MSG Message PLC-5 Type Logs message and generates a PCE instruction. Add RES and
SLC 500 FAL instructions to make adjustments for the 16-bit to 32-bit
conversion.
You must configure MSG communication parameters.
MUL Multiply PLC-5 Source A
SLC 500
Source B
Destination
MVM Move with Mask PLC-5 Source Operand
SLC 500
Source Mask
Destination
NEG Negate PLC-5 Source
SLC 500
Destination
NEQ Not Equal to PLC-5 Source A
SLC 500
Source B
NOP No Operation PLC-5 na
NOT Logical NOT PLC-5 Source
SLC 500
Destination
NSE SFC Next PLC-5 na Ignores as part of SFC section.
Selection Branch
NSI SFC Next PLC-5 na Ignores as part of SFC section.
Simultaneous
Branch
NXB Next Branch PLC-5 na Converts to a comma (,).
SLC 500
NXT Next PLC-5 Label Does not convert the label number. You must modify the
converted FOR instruction.
See page 4-16.
ONS One Shot PLC-5 Source Bit
OR Logical OR PLC-5 Source A
SLC 500
Source B
Destination
OSF One Shot Falling PLC-5 Storage Bit
Output Bit Combines output bit and output word.
Output Word
OSR One Shot Rising PLC-5 Storage Bit If SLC 500 instruction, converts to an ONS instruction.
SLC 500
Output Bit Combines output bit and output word.
Output Word
OTE Output Energize PLC-5 Destination Bit
SLC 500
OTL Output Latch PLC-5 Destination Bit
SLC 500

1756-6.8.5 - April 1999


4-12 Converting PLC-5 Instructions

Instruction: Name: Processor: Parameter: Considerations, if any:


OTU Output Unlatch PLC-5 Destination Bit
SLC 500
PID PID PLC-5 Control Block Verify the converted PID configuration parameters.
SLC 500
PV Value
Tieback Value
CV Value
RAC HSC Reset SLC 500 Counter Converts, but RSLogix5000 does not support this instruction.
Accumulator When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Source
RAD Degrees to PLC-5 Source
Radians SLC 500
Destination
REF SFC Reference PLC-5 na Ignores as part of SFC section.
REF I/O Refresh SLC 500 Channel 0 Converts, but RSLogix5000 does not support this instruction.
When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel 1
RES Reset PLC-5 File Reference
SLC 500
RET Return PLC-5 Return
SLC 500 Parameters
RPI Reset Pending SLC 500 Slots Converts, but RSLogix5000 does not support this instruction.
Interrupt When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
RTO Retentive Timer PLC-5 Timer
On SLC 500
Time Base Converts time base to 1 millisecond.
Preset Replaces with “?.” You must modify the converted RTO
instruction.
Accum Replaces with “?.” You must modify the converted RTO
instruction.
SBR Subroutine PLC-5 Input Parameters
SLC 500
SCL Scale SLC 500 Source Converts, but RSLogix5000 does not support this instruction.
When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Rate
Offset
Destination

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-13

Instruction: Name: Processor: Parameter: Considerations, if any:


SCP Scale with SLC 500 Input Converts, but RSLogix5000 does not support this instruction.
Parameters When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Input Minimum
Input Maximum
Scaled Minimum
Scaled Maximum
Scaled Output
SDS Smart Directed PLC-5 na There is no Logix5550 equivalent. Logs a message to the log file
Sequencer and generate a PCE instruction.
SEL SFC Selection PLC-5 na Ignores as part of SFC section.
Branch
SFR SFC Reset PLC-5 File Number There is no Logix5550 equivalent. Logs a message to the log file
and generate a PCE instruction.
Restart at Step
SIM SFC PLC-5 na Ignores as part of SFC section.
Simultaneous
Branch
SIN Sine PLC-5 Source
SLC 500
Destination
SOC SFC Start of PLC-5 na Ignores as part of SFC section.
Compression
SOP SFC Start of PLC-5 na Ignores as part of SFC section.
Program
SOR Start of Rung PLC-5 na Starts output on a new line.
SLC 500
SQI Sequencer Input PLC-5 File
SLC 500
Mask
Source
Control File Does not convert S:24 for indexing.
Length
Position
SQL Sequencer Load PLC-5 File
SLC 500
Source
Control File Does not convert S:24 for indexing.
Length
Position

1756-6.8.5 - April 1999


4-14 Converting PLC-5 Instructions

Instruction: Name: Processor: Parameter: Considerations, if any:


SQO Sequencer PLC-5 File Does not convert S:24 for indexing.
Output SLC 500
Destination Mask
Destination
Control File
Length
Position
SQR Square Root PLC-5 Source
SLC 500
Destination
SRT Sort PLC-5 Sort File Does not convert S:24 for indexing.
Control File Inserts 0 for dimension to vary.
Length
Position
STD Standard PLC-5 File
Deviation
Destination Inserts 0 for dimension to vary.
Control File
Length
Position
STD Selectable Timed SLC 500 na There is no Logix5550 equivalent. Logs a message to the log file
Interrupt Disable and generate a PCE instruction.
STE Selectable Timed SLC 500 na There is no Logix5550 equivalent. Logs a message to the log file
Interrupt Enable and generate a PCE instruction.
STP SFC Step PLC-5 na Ignored as part of SFC section.
STS Selectable Timed SLC 500 File There is no Logix5550 equivalent. Logs a message to the log file
Interrupt Start and generate a PCE instruction.
Time
SUB Subtract PLC-5 Source A
SLC 500
Source B
Destination
SUS Suspend SLC 500 Suspend ID Converts, but RSLogix5000 does not support this instruction.
When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
SVC Service SLC 500 Channel 0 Converts, but RSLogix5000 does not support this instruction.
Communications When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Channel 1
SWP Swap SLC 500 Source Converts, but RSLogix5000 does not support this instruction.
When you import the converted file, it appears as a UNK
instruction and you must rework the logic.
Length
TAN Tangent PLC-5 Source
SLC 500
Destination

1756-6.8.5 - April 1999


Converting PLC-5 Instructions 4-15

Instruction: Name: Processor: Parameter: Considerations, if any:


TND Temporary End PLC-5 na
SLC 500
TOD To BCD PLC-5 Source
SLC 500
Destination
TOF Timer Off Delay PLC-5 Timer
SLC 500
Time Base Converts time base to 1 millisecond.
Preset Replaces with “?.” You must modify the converted RTO
instruction.
Accum Replaces with “?.” You must modify the converted RTO
instruction.
TON Timer On Delay PLC-5 Timer
SLC 500
Time Base Converts time base to 1 millisecond.
Preset Replaces with “?.” You must modify the converted RTO
instruction.
Accum Replaces with “?.” You must modify the converted RTO
instruction.
TRC SFC Transition PLC-5 na Ignores as part of SFC section.
UID User Interrupt PLC-5 na
Disable
UIE User Interrupt PLC-5 na
Enable
XIC Examine On PLC-5 Source Bit
SLC 500
XIO Examine Off PLC-5 Source Bit
SLC 500
XOR Exclusive OR PLC-5 Source A
SLC 500
Source B
Destination
XPY X to the Power of PLC-5 Source A
Y SLC 500
Source B
Destination

1756-6.8.5 - April 1999


4-16 Converting PLC-5 Instructions

Converting CAR instructions

7KHFRQYHUVLRQWRROGRHVQRWFRQYHUW&$5LQVWUXFWLRQV$3&(LQVWUXFWLRQ
LVLQVHUWHGLQWKHRXWSXWLPSRUWH[SRUWILOHIRUHDFK&$5LQVWUXFWLRQ
HQFRXQWHUHG7KH&$5LQVWUXFWLRQVLQFOXGH$*$ $*$IORZ 6'6 VPDUW
GLUHFWHGVHTXHQFHU DQG')$ GLDJQRVWLFIDXOWDQQXQFLDWRU LQVWUXFWLRQV

Converting FOR/NXT/BRK instructions

7KHVWUXFWXUHRI)251;7%5.VWDWHPHQWVKDVFKDQJHGLQWKH/RJL[
DUFKLWHFWXUH,QWKH3/&SURFHVVRUWKH)25DQG1;7LQVWUXFWLRQ
HQFORVHGDVHFWLRQRIFRGHWKDWZDVWREHLWHUDWHGPXOWLSOHWLPHVZKLOHWKH
%5.LQVWUXFWLRQDOORZHGDZD\WREUHDNRXWRIWKHUHSHDWLQJFRGH,QWKH
56/RJL[DUFKLWHFWXUHWKH)25LQVWUXFWLRQFDOOVDJLYHQURXWLQHDVSHFLILF
QXPEHURIWLPHVVRD1;7LQVWUXFWLRQLVQRWQHHGHG7KH%5.LQVWUXFWLRQ
ZRUNVLQDVLPLODUIDVKLRQDVLQWKH3/&SURFHVVRU

%HFDXVHWKLVDUFKLWHFWXUHFKDQJHLVVLJQLILFDQW\RXZLOOSUREDEO\KDYHWR
FRQVLGHUUHVWUXFWXULQJ\RXUORJLF

1756-6.8.5 - April 1999


Appendix A

Conversion Messages

Introduction 7KHFRQYHUVLRQSURFHVVJHQHUDWHVDORJILOHWKDWSURYLGHVLQIRUPDWLRQDVWR
KRZWKHFRQYHUVLRQSURJUHVVHG7KHFRQYHUVLRQSURFHVVJHQHUDWHV

Conversion message: See page:


status message A-1
information message A-2
question message A-3

Status Messages 7KHVWDWXVPHVVDJHVUHFRUGPDMRUHYHQWVGXULQJWKHFRQYHUVLRQSURFHVV


6WDWXVPHVVDJHVDUHDOZD\VZULWWHQWRWKHORJILOHUHJDUGOHVVRIWKH
ORJJLQJ PRGH

6WDWXVPHVVDJHVXVHWKLVIRUPDW

67$7FRGH!WH[W!

:KHUH

Parameter: Description:
FRGH identifies the status message
WH[W describes the event

Code: Text: When logged:


200 Input files <file_name>. Before any conversion activity has taken place.
201 Output file <file_name>. Before any conversion activity has taken place.
202 Conversion started <date and time>. Before any conversion activity has taken place.
203 Conversion completed <date and time>. When all conversion activity is complete.
204 Unsupported file; terminating. Before any conversion activity has taken place.
205 Edit control instruction encountered; terminating. When an SDZ, SIZ, or SRZ instruction is encountered.
206 Failed to open <file_name>. At the time that the legacy .TXT file is opened.
207 Failed to read file <file_name>. At the time that the legacy .TXT file is read.
208 Failed to write to file <file_name>. At the time that the Logix5550 import/export file is created.
299 <general_status>. Any other status messages not covered in the above list.

1756-6.8.5 - April 1999


A-2 Conversion Messages

Information Messages 7KHLQIRUPDWLRQPHVVDJHVUHFRUGGHWDLOVRIWKHFRQYHUVLRQSURFHVV7KHVH


PHVVDJHVDUHRQO\ZULWWHQWRWKHORJILOHLI\RXVHOHFWWKHYHUERVH
ORJJLQJ PRGH

,QIRUPDWLRQPHVVDJHVXVHWKLVIRUPDW

,1)2FRGH!>LQSXWBOLQH!RXWSXWBOLQH!@>SURJUDP!>URXWLQH!>UXQJ!@@@WH[W!

:KHUH

Parameter: Description:
FRGH identifies the information message
LQSXWBOLQH line number in the original, ASCII PLC-5 or SLC 500 file
RXWSXWBOLQH line number in the converted, ASCII Logix5550 file
SURJUDP program in the imported Logix5550 project
URXWLQH routine in the imported Logix5550 project
UXQJ rung number in the imported Logix5550 project
WH[W describes the message

Code: Text: When logged:


1 The IOA statement was ignored. Each time an IOA statement is skipped in the legacy .TXT file.
2 The IOC statement was ignored. Each time an IOC statement is skipped in the legacy .TXT file.
3 The IOS statement was ignored. Each time an IOS statement is skipped in the legacy .TXT file.
4 The FCI statement was ignored. Each time an FCI statement is skipped in the legacy .TXT file.
5 The FCN statement was ignored. Each time an FCN statement is skipped in the legacy
.TXT file.
6 The RACK statement was ignored. Each time a RACK statement in skipped in the legacy
.TXT file.
7 The SLOT statement was ignored. Each time a SLOT statement is skipped in the legacy
.TXT file.
8 The SEQUENTIAL FUNCTION CHART section was ignored. Each time a SFC section is skipped in the legacy .TXT file.
9 The STRUCTURED TEXT section was ignored. Each time a ST section is skipped in the legacy .TXT file.
10 The FORCE statement was ignored. Each time a FORCE statement is skipped in the legacy
.TXT file.
11 The INPUT FILTERS statement was ignored. Each time a INPUT FILTERS statement is skipped in the legacy
.TXT file.
12 The MULTI POINT statement was ignored. Each time a MULTI POINT statement is skipped in the legacy
.TXT file.
13 The PLC2 Compatibility statement was ignored. Each time a PLC2 statement is skipped in the legacy .TXT file.
14 THE PLC5 Compatibility statement was ignored. Each time a PLC5 statement is skipped in the legacy .TXT file.
15 The CHANNEL CONFIGURATION statement was ignored. Each time a CHANNEL CONFIGURATION statement is skipped
in the legacy .TXT file.

1756-6.8.5 - April 1999


Conversion Messages A-3

Code: Text: When logged:


16 The CONFIG statement was ignored. Each time a CONFIG statement is skipped in the legacy
.TXT file.
17 This DATA type is not supported; the data table was ignored. Each time a DATA statement for an unsupported file type (ST,
CT, or SC) is encountered.
18 The PROGRAM HEADER section was processed. Each time the START statement is processed.
19 The SLOT statement was processed. Each time the SLOT statement is processed.
20 The PROJECT section was processed. Each time the PROJECT statement is processed.
21 The DATA section was processed. Each time the DATA statement is processed.
22 The LADDER section was processed. Each time the LADDER statement is processed.
23 The Source and Destination file type of the COP instruction do Each time a COP instruction with differing Source and
not match. Destination types is encountered.
24 A RAC instruction was encountered. Each time an RAC instruction is encountered.
25 There are note sufficient initialization values in the data table. Each time a DATA statement is encountered with initialization
values that do no match the specified dimension.
26 The data table’s dimension was increased to accommodate Each time a DATA statement is encountered with initialization
the initialization values encountered. values that exceed the specified dimension.
27 An address comment that was associated with a file Each time an address comment associated with a file
was ignored. is encountered.
28 The BT or MG data type has insufficient information, and was Each time a BT or MG type that is missing necessary
therefore ignored. attributes is encountered.
29 The ASCII type message was ignored. Each time an ASCII type message is encountered.
30 The IO statement was ignored. Each time an IO statement is encountered in the legacy
.TXT file.
99 Conversion cancelled <date and time>. Each time the user cancels the conversion by pressing the
CANCEL button.

Question Messages 7KHTXHVWLRQPHVVDJHVKLJKOLJKWLWHPVWKDWPLJKWUHTXLUHIXUWKHUDWWHQWLRQ


IURPWKHXVHU4XHVWLRQPHVVDJHVDUHDOZD\VZULWWHQWRWKHORJILOH
UHJDUGOHVVRIWKHORJJLQJPRGH

4XHVWLRQPHVVDJHVXVHWKLVIRUPDW
48(6FRGH!>>ILOHBW\SH@LQSXWBOLQH!RXWSXWBOLQH!@>SURJUDP!>URXWLQH!>UXQJ!@@@WH[W!

:KHUH

Parameter: Description:
FRGH identifies the information message
LQSXWBOLQH line number in the original, ASCII PLC-5 or SLC 500 file
RXWSXWBOLQH line number in the converted, ASCII Logix5550 file
SURJUDP program in the imported Logix5550 project
URXWLQH routine in the imported Logix5550 project
UXQJ rung number in the imported Logix5550 project
WH[W describes the message

1756-6.8.5 - April 1999


A-4 Conversion Messages

Code: Text: When logged:


100 The address references an unsupported type. It was Each time an address reference of type STRING, ControlNet, or
not converted. SFC status is encountered.
101 The address references a counter’s Update Accum (.UA) bit Each time a reference to a counter’s .UA field is encountered.
field. It was not converted.
102 The address references a counter’s Overflow (.OV) or Each time a reference to a counter’s .OV or .UN field
Underflow (.UN) field. The conversion needs to is encountered.
be validated.
103 Warning: The S file reference is not equivalent to the Each time a reference to the S file is encountered.
status file.
104 The instruction is not supported. Each time an instruction not supported in RSLogix5000
is encountered.
105 The Selectable Timed Interrupt Disable (STD) instruction Each time an STD instruction is encountered.
needs to be validated.
106 The address references an indirect file number. It was Each time an address reference with an indirect file number
not converted. is encountered.
107 The sixth parameter of the converted FAL instruction might Each time an FAL instruction that has an expression
have an operator precedence error. is encountered.
108 The address reference might have an incorrect index. The Each time an index into an array can not be determined.
conversion needs to be validated.
109 The instruction has been converted, but it needs to Each time a BTR, BTW, or MSG instruction is converted.
be validated.
110 The address references a timer’s accumulator (.ACC) field. Each time a reference to a timer’s .ACC field is encountered.
The conversion needs to be validated.
111 The address references a timer’s preset (.PRE) field. The Each time a reference to a timer’s .PRE field is encountered.
conversion needs to be validated.

1756-6.8.5 - April 1999


Index

Numerics FRQYHUWLQJ
VHULHVSURJUDPPLQJVRIWZDUH $ILOHV
 DGGUHVVFRPPHQWV
%ILOHV
A EORFNWUDQVIHULQVWUXFWLRQV
$ILOHV %7ILOHV
$,VHULHVSURJUDPPLQJVRIWZDUH &ILOHV
DGGUHVVFRPPHQWV &$5LQVWUXFWLRQV
DGGUHVVHV FRPSOHWLQJ06*LQVWUXFWLRQV
FRQVWDQWYDOXHV 
LQGH[HG FRQILJXUHFRQWUROOHUDQGFKDVVLV
LQGLUHFW 
DOLDVHV FRQVLGHUDWLRQV
DGGUHVVFRPPHQWV FRQVWDQWYDOXHV
V\PEROV FRQWLQXRXVWDVNV
DUUD\V &7ILOHV
$6&,,ILOHV 'ILOHV
GDWD
B ',,V
%ILOHV H[SRUWLQJ3/&RU6/&
ELQDU\ILOHV SURJUDP
EORFNWUDQVIHUV )ILOHV
ILOHV ILOHV
LQVWUXFWLRQV )251;7%5.LQVWUXFWLRQV
%7ILOHV ,ILOHV
LPSRUWFRQYHUWHGILOH
C LQGH[HGDGGUHVVHV
&ILOHV LQGLUHFWDGGUHVVHV
&$5LQVWUXFWLRQV LQIRUPDWLRQPHVVDJHV$
FKDVVLV LQVWUXFWLRQV
FRPSOHWLQJ06*LQVWUXFWLRQV ORJILOHV
FRQILJXULQJFRQWUROOHUDQGFKDVVLV 00ILOHV
 PDSSLQJ,2
FRQVLGHUDWLRQV PHVVDJHV$
FRQVWDQWYDOXHV 0*ILOHV
FRQWLQXRXVWDVNV 06*LQVWUXFWLRQV
FRQWUROILOHV 1ILOHV
FRQWUROOHU 2ILOHV
&RQWURO1HWILOHV RSWLRQV
RYHUYLHZ
3&(LQVWUXFWLRQV
3'ILOHV
3,,V
3/&RU6/&SURJUDP
SURJUDPVWUXFWXUH
TXHVWLRQPHVVDJHV$

1756-6.8.5 - April 1999


I-2

5ILOHV ILOHW\SHV
UHVXOWV $ $6&,, 
6ILOHV % ELQDU\ 
67ILOHV %7 EORFNWUDQVIHU 
VWDWXVPHVVDJHV$ & FRXQWHU 
67,V &7 &RQWURO1HW 
V\PEROV ' GHFLPDO 
7ILOHV ) IORDWLQJSRLQW 
81.LQVWUXFWLRQV , LQSXW 
YHULI\LQJ 00 VSHFLDOW\ 
FRXQWHUILOHV 0* PHVVDJH 
&7ILOHV 1 LQWHJHU 
2 RXWSXW 
D 3' 3,' 
'ILOHV 5 FRQWURO 
GDWD 6 VWDWXV 
GHFLPDOILOHV 67 VWULQJ 
GHOHWLQJ 7 WLPHU 
3&(LQVWUXFWLRQV IORDWLQJSRLQWILOHV
81.LQVWUXFWLRQV )251;7%5.LQVWUXFWLRQV
',,V
I
E ,ILOHV
H[HFXWLRQPRGHO LPSRUWLQJ
H[SRUWLQJ LQGH[HGDGGUHVVHV
3/&RU6/&SURJUDP LQGLUHFWDGGUHVVHV
XVLQJVRIWZDUH LQIRUPDWLRQPHVVDJHV$
XVLQJ$,VRIWZDUH LQSXWILOHV
XVLQJ56/RJL[VRIWZDUH LQSXWLQWHUUXSWV
6HH',,V3,,V
F LQVWUXFWLRQV
)ILOHV LQWHJHUILOHV
ILOHGDWD
ILOHIRUPDWV L
VRIWZDUH /.H[WHQVLRQ
$,VRIWZDUH ORJILOHV$
/.
3& M
563 00ILOHV
566 PDSSLQJ,2
7;7 PHVVDJHILOHV
0*ILOHV
06*LQVWUXFWLRQV

1756-6.8.5 - April 1999


I-3

N T
1ILOHV 7ILOHV
WDVNV
O WLPHUILOHV
2ILOHV WUDQVODWLQJ
RXWSXWILOHV 6HHFRQYHUWLQJ
7;7H[WHQVLRQ
P
3&H[WHQVLRQ U
3&(LQVWUXFWLRQV 81.LQVWUXFWLRQV
3'ILOHV
3,'ILOHV V
3,,V YHULI\LQJ
SURJUDPVWUXFWXUH
',,V
H[HFXWLRQPRGHO
RYHUYLHZ
3,,V
SURJUDPV
URXWLQHV
67,V
WDVN
SURJUDPV

Q
TXHVWLRQPHVVDJHV$

R
5ILOHV
UHVXOWV
ILOHVWUXFWXUH
ORJILOHV$
URXWLQHV
56/RJL[SURJUDPPLQJVRIWZDUH
563H[WHQVLRQ
566H[WHQVLRQ

S
6ILOHV
VHOHFWDEOHWLPHGLQWHUUXSWV
6HH67,V
67ILOHV
VWDWXVILOHV
VWDWXVPHVVDJHV$
67,V
VWULQJILOHV
V\PEROV

1756-6.8.5 - April 1999


Publication 1756-6.8.5 April 1999 PN 955138-41
Copyright 1999 of Rockwell International Corporation. Printed in the U.S.A.

S-ar putea să vă placă și