×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Beckoff TWINCAT 3 - PLCTAsk Hardware Interrupt task call(with certain delay)

Beckoff TWINCAT 3 - PLCTAsk Hardware Interrupt task call(with certain delay)

Beckoff TWINCAT 3 - PLCTAsk Hardware Interrupt task call(with certain delay)

(OP)
What's purpose of the FAST INPUT MODULE EL1202 | 2-channel digital input terminal 24 V DC, TON/TOFF 1 µs
If the maximum PLC Cycle is 50 µs and there is no option hardware interrupt.??https://www.eng-tips.com/threadminder.cfm?pid=791


I've been working more than 5 years with SIEMENS PLC-s. Last year we have started working with BECKOFF PLC-s. At the moment I got CX2030 PLC CPU with myself. I will try to describe following problem which I have to resolve with Beckoff PLCs.

I have to control 6 thyristors with PLC. Therefore I got CX2030 PLC, EL3783 card – for 3 phase Voltage/Current measurement, 3 PWM OUTPUT Modules(EL2502) and 3 High Speed Fast Input modules.

Once PLC realize from EL3783 card Voltage zerodetected(zerocrossing) , PWM output turn on its output(lets say DQ0.0) for the next 60° or 3.3ms.
Sending only one rising edge inside 60° is not enough for thyristor control. So my task is to send couple of rising edges(lets say 10 rising edges would be enough) to the thyristor inside 60° or 3.3ms.
The way I've been doing this for over a 3 years inside SIEMENS PLC is the following:

Once there is rising edge of the PWM output turn on its output(lets say Q0.0) , I wire it to the HIGH SPEED INPUT MODULE(lets say DI0.0).
DI0.0 CALLS OB(ORGANISATION BLOCK) by HARDWARE INTERRUPT(interrupt is triggered by receiving signal on DI0.0 from DQ0.0) with certain delay. Inside OB called from Hardware INTERRUPT I'm „cutting“ output DQ0.0.

No matter did you understand my Idea, in order to realize this from Beckoff PLC I need option HARDWARE INTERRUPT, that means to call PLCTask on certain Digital input. So far I have found option „cycle task call“. But for me it is neccessary to call Task once I register certain Digital Input rising edge. How to make this inside Twincat 3?


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close