Beckhoff_twincat 2_new

HalimB

Member
Join Date
May 2014
Location
BAYEUX
Posts
1
Hello everyone,

I'm a new member of PLCS and I'm a french trainee in a company located in France thus I apology if my english is not excellent..

This the first time I work with Twincat and I did some research in order to find some clues to help me to do a program that will enable the good working of my system.

Even if Twincat is basically like Codesys I never used this software so I'm trying to find some help wherever I find... o_O

My questions are :
-> I just figured out how PLC control is working and I think I know the basics.. Nevertheless I want to make a program that will enable a light flash (twinkle).
In fact, when the emergency cut-off system is activated, I have to disable some device and I have to flash a light. This light will flash until the emergency button and the gate are not activated.
How could I make this light flash during X time ?

-> I don't know how to integrate an integer in ladder program. Indeed, I have to command a supply. With the PLC and its AI/AO cards and LabVIEW, I have to give a setpoint voltage (0..10V) in labview that will be converted to the supply in a voltage (0..20000V)

I'm sorry if my questions are too easy for you but this is a new experience for me. Thank you for your attention ! :D
 
the hardest part is communication from labview to beckhoff plc.
integers are not standard ladder, however you can use function blocks and functions in ladder, the input is connected to a enable and the output can drive a coil.
the rest is done with variaqbles you have to declare them in the varlist on top.
if allowed to use FBD it is simpler.
as you are used to labview
a program can be written in CFC it is a lookalike to labview.
 
On the PLC side, Structured Text might be easier than Ladder Logic.

Even easier, go to Ackerman Automation's website. They make LabView drivers for EtherCAT. They started this for National Instruments' CompactRIO expansion chassis (uses EtherCAT), but works with Beckhoff terminals. You don't even need a PLC CPU for this, just the Beckhoff EK coupler and you can get those with built-in digital I/O.
 

Similar Topics

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
741
Hello, I was wondering if anyone know how to upload a PLC program to the Beckhoff TwinCAT 3 from a file? i.e. without having the development pc...
Replies
0
Views
668
Hi anyone got any tips and tricks?? I'm at a stage wherei need to tidy up my hmi project and give all objects sensible names, I did start this...
Replies
0
Views
928
Hello, I have a System running a beckhoff IPC with twincat 2 software on it, Also i have no original source code. Is it possible with the...
Replies
1
Views
1,249
Hi all, I've inherited someone else's program and can't for the life of me figure out his use of the # symbol in one of his structured text...
Replies
5
Views
1,880
Back
Top Bottom