Industry Online Support
Technical Forum
4/28/2010 4:20 PM | |
Posts: 34 Rating:
|
Dear friends ; Can anyone tell me the commands to initialize a DB and to reset the CPU ?? |
4/28/2010 4:52 PM | |
Joined: 9/27/2006 Last visit: 8/28/2024 Posts: 12280 Rating:
|
Hello A_Taher; Your question does not explain what you need to do, exactly, so here are some very general suggestions. -to reset the CPU, try Miami's post in the following thread: /tf/WW/en/Posts/35663 -to initialize a DB, the answer will depend on whether you want to place the same value in all the registers of your DB (use SFC 21 "FILL") or copy data from one reserve location (an initializing DB, for example: use SFC 20, "BLKMOV"). Hope this helps, Daniel Chartier |
4/29/2010 11:23 AM | |
Posts: 8946 Rating:
|
Hello my merry friend,
surely they can do that. Give me your email address and I send you a small example program. Also this link may be helpfull: http://en.wikipedia.org/wiki/Special:Search?search=initialisation&go=Go |
4/29/2010 11:32 AM | |
Posts: 34 Rating:
|
Ok...send on that .. extra_fantasy@hotmail.com....and what if i want to reset a plc from my program ?? |
4/29/2010 11:49 AM | |
Posts: 34 Rating:
|
Dear friend ; In addition to initializing a DB , I want to write a coomand that resets my CPU (Run stop Run) you can consider it warm start |
4/29/2010 1:09 PM | |
Posts: 8946 Rating:
|
OK, here you will find the SFC83 - Example: /tf/WW/en/Posts/42988#208015 Next thing: It is easy, to stop the PLC by using a SFC. Which SFC, you must find out by yourself this time! BUT: After stopping, the CPU will not do any code anymore. So, how to start it again? Bad luck. |
Follow us on