In this article we'll look at converting SLC-500 programs to MicroLogix, including how to address two common errors.
Step 1) Start by opening RSLogix 500. In this example we open the SLC-500 sample program, IC500DMO.RSS:
Step 2) Next, let's take a look at the I/O Configuration of the sample program. It shows a 1746-IA4, IA8, and OA8:
Step 3) Before we make any changes, let's save the existing SLC-500 program with a new name:
Step 4) Now we'll open Controller Properties by double-clicking on it:
Step 5) In controller properties we'll select a MicroLogix. In this case I choose a 1400:
Step 6) I'll then click on OK on the confirmation screen:
Step 7) After the program is changed, you may see errors that need to be addressed. The two most common errors are “missing I/O” and “OSR” instructions:
Step 8) The reason for the missing I/O is that in the conversion all of the old SLC-500 I/O modules were removed:
Step 9) The easy way to resolve the missing I/O issue would be to add those I/O modules back in as we'll do below. However, another solution would be to search and replace the old I/O addresses with the addresses of the embedded I/O:
Step 10) With the missing I/O replaced and the project verified again, we see all the the I/O error messages has been resolved. This leaves us with only “OSR” errors:
Step 11) The easiest way to resolve the OSR errors is to replace them with ONS instructions:
Step 12) To do so you can search and replace, or edit each line of code by double-clicking on the left side of the rung:
Step 13) Either way, the goal is to replace the OSR instructions with ONS instructions:
Step 14) Once done and re-verified, these errors will be eliminated from the error list:
If you'd like to watch a video of the above, check out Episode 24 of The Automation Minute Season 4 below:
If you have a comment or question you'd like to post, click on the “post a comment or question” link below.
And if you this article helpful and would like to support my work, you can pledge $1 a month at Patreon.com/Automation and in return receive $3 in free downloads of my sample code, videos, and articles 😉
Editor's note: If you work in the industrial automation field and would like to share your experiences with our audience, please contact us using this form: Contact Us. If we publish your article we'll send you a $30 Amazon gift card (or equivalent via PayPal) in appreciation for your efforts!
- P+F USi-Safety Rated Ultrasonic Sensor (P87) - January 19, 2022
- IFM CR1203 HMI Controller: Initial Setup & Adding Ethernet IO in CODESYS - January 6, 2022
- Happy New Year! - January 1, 2022