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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


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

Get the book!

If you're really looking to learn about PLCs, you NEED our book...

"Your Personal PLC Tutor - A Guide to Understanding PLCs"

Easy to read and uses 'plain' language!
Get $$FREE$$ priority mail shipping too!!!
You WILL be glad you did!!

Click Here now to order

Reply
 
Thread Tools Display Modes
Old September 30th, 2003, 02:02 PM   #1
Ptilou
Member
Belgium

Ptilou is offline
 
Ptilou's Avatar
 
Join Date: Sep 2003
Posts: 2
Changing from Melsec A3H CPU to A3A CPU

hello all,

due to a crash of our old Melsec A3H CPU, I change it to a A3A CPU. I have convert my program to A3A with GX Developper. In the manual, they are compatible. When I run the program in the new cpu, disfonctionnements appears. It seems that A3A is too much fast for my program because in some case, we are doing set/reset on one bit in the same step or doing calculation by reading and charging the same word line after line and it doesn't execute all the instructions compare to the old cpu !!!
Has anybody had the same problem or is it something to do to make my program compatible to A3A ?

Thanks in advance
  Reply With Quote
Old September 30th, 2003, 06:46 PM   #2
Laurent
Member
Canada

Laurent is offline
 
Laurent's Avatar
 
Join Date: Jul 2002
Location: Montreal
Posts: 110
Hi Ptilou,

Differences in CPU and in GX compiler can both affect the way your initial program is computed.

From GX side : select one of your identified problems and compare IL codes for A3H and A3A. You can see the way your tags or data are translated from the "graph" layer to PLC codes, when converted from old to new CPU or not (you'll only read Mitsu functions and absolute addresses, even if you wrote IEC functions blocks or SFC i.e). You should see/understand why data you read/charge are not updated when you thought they were. Examine how single bits are used/written several times when they reflect intermediate variables. See if your software has "compiler options" where you can choose to refresh data each time it's called/loaded. See if you get "warnings" when compiling your program with data read/charged several times within one ladder or FBD network.

From PLC side : see in PLC configuration folders what kind of special register could affect the differences you met. If new and fast CPUs offer more adjustable functions, anyway they continue to scan their program the same way you experienced in the past - so what means "two much fast" ? (On the other hand, what pleasure if your japanese partner offers new products without new behaviors ? Imagine : they built some unpredictable internal monitor especially for you !). Download last versions of manuals and see if SET/RESET are executed the way you knew in all environments. Did you latch/unlatch bits through differential trailing/leading edges ? in what kind of programming environment (SFC step, ladder...) ? Did you latch variable tags or I/O in absolute address ? Keep in mind when answering that your PLC executes codes tranlated from graph to IL by the GX compiler !

Hope this helps.

The short answer is "YES", I met many cases like that. Detailed answers... could be very complex - but interesting - since GX initially was (is today ?) based on a Softing product, with an original platform common to several brands (i.e see SoftControl for OEM at http://www.softing.com). What says the Help/About section in GX ?

Laurent
  Reply With Quote
Old October 1st, 2003, 08:55 PM   #3
panic mode
Member
Canada

panic mode is offline
 
panic mode's Avatar
 
Join Date: May 2003
Location: Toronto, Canada
Posts: 1,945
Can you explain in more detail steps you did during conversion?
Are you sure you transfered data tables as well (not just logic)?
  Reply With Quote
Old October 2nd, 2003, 05:56 AM   #4
Ptilou
Member
Belgium

Ptilou is offline
 
Ptilou's Avatar
 
Join Date: Sep 2003
Posts: 2
Hi,

Thanks to Laurent for his fast reply.
Today, I receive a mail from Mitsubishi Japan. In fact, they write in mail that programmings are different between A3H and A3A (strange because A3A is sold for a compatible CPU for A3H) and also, speed counter module AD61 we have in our racks are not compatible with new CPU. They'll make themself modifications in my program because it seems that it's too much complicated to do by a newbie like me :-)
When I'll receive more information, I'll explain it in some words here

Have a good day

Ptilou
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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
changing summer/winter time whit s7 300 (CPU 314) TheLord LIVE PLC Questions And Answers 9 March 4th, 2005 03:08 AM
Help, need to reset Melsec CPU professor LIVE PLC Questions And Answers 10 August 11th, 2004 08:54 AM


All times are GMT -5. The time now is 06:25 PM.


.