Cancel
Showing results for 
Search instead for 
Did you mean: 

Sensor controlling machine

Pioneer
Pioneer

I'm using for the first time Tecnomatix. I'm having some problems programing the sensors. 

The machine just start working if there's at least 10MU's waiting in the line. 

How I should do?

 

Thanks for the attention.

 

Best regards,

 

João Barbosa

3 REPLIES

Re: Sensor controlling machine

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi joaobarbosa,

at the entrance of the Line you add a sensor with the Method:

is

do

                if ?.numMU >= 10 then

                                ?.exitLocked := false;

                elseif ?.numMU <= 1 then

                                ?.exitLocked := true;

                end;

end;

 

? is the Line object.

The filling level of the Line can show by the Diagram, which is used as a Plotter.

 

Regards,

Peter

 

FillingLevel.jpg

Re: Sensor controlling machine

Pioneer
Pioneer

Dear Peter,

thanks for your answer. 

I want also to ask another thing. I want that when the exit of the machine is locked, the machine is paused. How I write it in the Method?

 

Thanks, 

Joao

Re: Sensor controlling machine

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Then the method that Peter gave you should be written as:

 

if ?.numMU >= 10 then
       ?.pause:=false;
       ?.exitLocked := false;
elseif ?.numMU <= 1 then
       ?.exitLocked := true;
       ?.pause:=true;
end;

I recommend you check in the help the step by step section to get a fast and easy introduction of most topics.

cortega@interlatin.com.mx
+52 (81) 10801310
InterLatin S de RL de CV