logo Welcome, Guest. Please Login or Register.
January 16, 2019, 03:20:38 AM
Home Help Search Login Register
 News: You can search the forum for answers to your question in a previous discussion. Please click on the "Search" button above and enter the keyword to search. To get to the full discussion of a listed message, please click on the TITLE of the message listed in the search listing.

  Internet PLC Forum
  Technical support
(Moderator: support)
  FX PLC interrupt and simulation
? previous next ?
Pages: [1] Go Down Reply Notify of replies Send the topic Print
   Author  Topic: FX PLC interrupt and simulation  (Read 591 times)

Posts: 32

I'm a llama!

View Profile
FX PLC interrupt and simulation
« on: December 14, 2017, 02:32:35 PM »
Reply with quote

Two things:

1. Input as Interrupt: it lost the function as a standard input.
    In old FMD series, if one input is defined as interrupt input (INTRDEF), it still works like a standard input. Which is very convenient.
    In F/FX PLC, once you define an input as interrupt (INTRDEF), then PLC doesn't treat it as standard input anymore.
    In my application, I define Input#1 as interrupt, which detect a switch signal. The system need to response at the rising edge of switch, but also need to use it to turn ON a light to indicate the status of switch. It doesn't work any more.

Any idea?

2. In simulation, is there a way to simulate the interrupt input? Click on the PLC Input doesn't do anything.

Best regards,

Report to moderator   Logged
Global Moderator

Posts: 3082

View Profile WWW E-Mail
Re:FX PLC interrupt and simulation
« Reply #1 on: December 15, 2017, 09:25:24 PM »
Reply with quote

I think you were referring to the old T100MD (not FMD) that an input can be both an interrupt input as well as a regular input.

Unfortunately, there is some the peculiarity of the Fx and FMD MCU hardware such that the input can only be read if the pin is defined as a general purpose I/O (GPIO). When a pin has been defined as an interrupt input pin, the firmware has no way of reading the logic state of the pin unless the CPU switches it back to become a GPIO pin.  As such the PLC firmware is unable to report the logic state of the pin once it has been defined as an interrupt input.

The only way to get around this is to tie the interrupt input in parallel to a general purpose input so that you can still read the logic state of the input by reading it from the parallel input.
« Last Edit: December 15, 2017, 09:26:06 PM by support » Report to moderator   Logged

Email: support@triplc.com
Tel: 1-877-TRI-PLCS
Pages: [1] Go Up Reply Notify of replies Send the topic Print 
? previous next ?
Jump to: 

Login with username, password and session length

Powered by MySQL Powered by PHP Internet PLC Forum | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!