Twincat ouput in 2 objects HELP

GulhanG

Member
Join Date
Jun 2017
Location
Belgium
Posts
1
Hey,

so for thursday (today is tuesday) I need to finish this PLC program for an elevator for school, its complete but theres 1 problem ,
when u reset it the motor needs to go down so the motor and the brake need to be activated when reset is pressed.

so i added the outputs of the motor down and the brake to the reset system aswell as they are in my SFC for my main program because the brake and the motor do still have to work in my main program.
BUT WHENEVER IT SEEMS THE OUTPUTS DONT WORK IN MY MAIN PROGRAM IF I HAVE THEM IN THE RESET PROGRAM ASWELL, if i delete them for the reset program they do work
ANY INFO ON HOW I CAN USE 1 OUTPUT IN BOTH PROGRAMS?
LOOK PHOTOS

TY

11.PNG 12.jpg
 
make a separate POU for all outputs.
here for example the rem is done
if (normal AND remnormal) or (reset AND remreset) then rem is active.
same for motor
if reset and remreset and not beneden OR NOT reset AND normalmotoromlaag then motoromlaag
if NOT reset AND normalmotoromhoog then motoromhoog
just add another step.
 

Similar Topics

I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
217
Hi! I am trying to run the 'SimpleSample' (https://infosys.beckhoff.com/content/1033/TF5100_TC3_NC_I/Resources/3438746891/.zip ) to understand the...
Replies
2
Views
100
I am developing a library in twincat and one of the function uses IID_ITcVnAccess_TcVnPoint2_DINT and the definition of this type is defined in...
Replies
0
Views
70
Sorry if this has been asked before, and apologies if this seems like a trivial issue, but I am new to Beckhoff and have been banging my head...
Replies
2
Views
150
Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
995
Back
Top Bottom