only one time execution

MAHER

Member
Join Date
Jul 2007
Location
CAIRO
Posts
82
hi all
i have application which i need on it this condition:

when shutdown the power about the plc and reconnect it again i want to execute some of instruction only one time (as make a homing for the servo motor in the begining of starting ).
what should i use from ob to achieve my aim?

best regards

MAHER
 
What type of PLC are you using? If it's an S7 300/400 you can add OB100 to the program. It will be executed once at startup; so enter all initializing routines in OB100.
 
hi sir
the type of the plc is s7 315-2dp, i will try to use this ob100
but , can i use plcsim to check this ob100 ( the instruction which on ob100 can i test it by using plcsim or not ?)

thanks for fast replying
best regards

maher
 

Similar Topics

Hi All, So I have a main routine with an instruction that's executed by XIC "Run" I have a JSR located on a rung below it. In the logic for that...
Replies
6
Views
239
Good morning. I'm doing a rehab and I need to recycle some part of the old code that won't change and that I need. This is a calculation that...
Replies
22
Views
1,472
Hi, We have a machine with 9 servo motors and Kinetix 5100 drives. The controller is L33ER and there is no motion control in the project. The...
Replies
8
Views
1,253
Another daft question coming up... In the picture, suppose "Data_block_1.Calculate Diff" is TRUE. What's the order of execution of the...
Replies
3
Views
720
Back
Top Bottom