You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old March 20th, 2003, 04:03 PM   #1
Allen Williams
Member
United States

Allen Williams is offline
 
Allen Williams's Avatar
 
Join Date: Mar 2003
Posts: 1
Omron Fatal Error after converting program from a C28H to CPM2A

Help! I'm not too familiar with Omron.
I would like to know if there is an easy way to locate where the problem is in the program?
I converted an existing working program from a Omron C28H plc to a new CPM2A plc.
I had to relocate some addressing because of different memory ranges to eliminate the errors I was getting in the Program Check feature in the syswin software, all of those errors are gone now. But after downloading the program, I have a memory error described as follows: (There is a non-existent bit or word address in the user program.)

How do I find the problem?

Thank you

Allen
  Reply With Quote
Old March 20th, 2003, 08:50 PM   #2
jrwb4gbm
Lifetime Supporting Member
United States

jrwb4gbm is offline
 
Join Date: Apr 2002
Location: NC
Posts: 2,245
If the program is fairly small, try splitting it in half and then downloading to the PLC. Keep splitting the program to narrow it down.
I know this is a crude way and that specific methods exist but I have to troubleshoot many different brands of PLC's and I'm not that proficient on Omron. Perhaps Jay Anthony at www.mrplc.com could help.
  Reply With Quote
Old March 21st, 2003, 12:14 AM   #3
mdonner
Member
Israel

mdonner is offline
 
mdonner's Avatar
 
Join Date: Dec 2002
Location: Israel
Posts: 14
Syswin error should include reference to line number, which may help debuging.
Different Omron PLC families has different addresses for control/system variables (such as sytem timer accessible by user program). You can get the address reference index for your program and check which one(s) are not in CPM2A address space.
My proficiency is limited to the CPM1 & 2 family and C200H family, so I do not have the C28 manual to compare.

Whish you luck and success debuging your program.
__________________
Moty
  Reply With Quote
Old March 21st, 2003, 12:27 AM   #4
BobB
Lifetime Supporting Member
Australia

BobB is offline
 
BobB's Avatar
 
Join Date: Jun 2002
Location: Sydney
Posts: 4,532
Talking

Short of checcking all the I/O numbers against the CPM2A address allocations, there is no simple way. If you e-mail me the programme I will have a look at it for you.
What version of Syswin are you using? Hopefully 3.4.
  Reply With Quote
Old March 21st, 2003, 07:09 PM   #5
Jay Anthony
Member
United States

Jay Anthony is offline
 
Jay Anthony's Avatar
 
Join Date: Apr 2002
Location: Dallas, TX
Posts: 645
The C28H internal memory map is identical to the C200H internal memory map. When the CPM2A internal memory map is compared to the C28H internal memory map, large gaps in the CPM2A map appear in the IR, AR,HR, LR and TC areas:

The IR area runs from 000 to 049 and from 200 to 255. The area from 050 to 199 does not exist.

The AR area runs from AR00 to AR23. The area from AR24 to AR27 does not exist.

The HR Area runs from HR00 to HR19. The area from HR20 to HR99 does not exist.

The LR area runs from LR00 to LR15. The area from LR16 to LR63 does not exist.

The TC Area runs from TC00 to TC255. The area from TC256 to TC511 does not exist.



Bob:
If you are checking his program, be sure to check for addresses in the above non-existent areas.
Attached Images
File Type: jpg cpm2a memory map.jpg (136.9 KB, 89 views)

Last edited by Jay Anthony; March 21st, 2003 at 07:12 PM.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Omron MINI LSS fatal Error AGreavette LIVE PLC Questions And Answers 14 December 2nd, 2015 12:29 PM
OMRON NT31C touch screen and CPM2A instructions BJR LIVE PLC Questions And Answers 6 January 30th, 2004 12:16 PM
Omron lift program topol_m LIVE PLC Questions And Answers 9 January 1st, 2004 08:12 AM
Omron Program For Indexing Conveyor rbbalaji LIVE PLC Questions And Answers 1 December 16th, 2003 09:39 AM
Omron Program Software lenny LIVE PLC Questions And Answers 9 February 7th, 2003 08:22 PM


All times are GMT -4. The time now is 09:00 AM.


.