ect 464
Download
Skip this Video
Download Presentation
ECT 464

Loading in 2 Seconds...

play fullscreen
1 / 17

ECT 464 - PowerPoint PPT Presentation


  • 91 Views
  • Uploaded on

ECT 464. Lecture 4b Special Functions. Special Functions. One Shot (ONS) (OSR) SLC500 triggers a one time event activates on false to true transition rung must go false again to reset allowed to use one OSR per output in a rung do not place input conditions after the OSR

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'ECT 464' - tale


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
ect 464

ECT 464

Lecture 4b

Special Functions

special functions
Special Functions
  • One Shot (ONS) (OSR) SLC500
    • triggers a one time event
    • activates on false to true transition
    • rung must go false again to reset
    • allowed to use one OSR per output in a rung
    • do not place input conditions after the OSR
    • uses a bit location to store last state
special functions1
Special Functions
  • One Shot Rising (OSR)
    • triggers a one time event
    • activates on false to true transition
    • rung must go false again to reset
    • allowed to use one OSR per output in a rung
    • do not place input conditions after the OSR
    • uses a bit location to store last state
    • Activates output bit
special functions2
Special Functions
  • One Shot Falling (OSF)
    • triggers a one time event
    • activates on true to false transition
    • rung must go true again to reset
    • allowed to use one OSF per output in a rung
    • do not place input conditions after the OSF
    • uses a bit location to store last state
    • Activates output bit
special functions3
Special Functions
  • Label (LBL)
    • Target of jump instruction
    • Must be first instruction of rung
    • 256 labels in each subroutine (SLC)
    • 1000 labels in each subroutine (M1000)
special functions4
Special Functions
  • Master Control Reset (MCR)
    • Acts on rungs between start and end fence
    • When off, ignores inputs, and de-energizes all outputs in the zone
    • When on, inputs and outputs treated normally
    • Latches, retentive timers, and counters remain in their last state
    • Must end zone with unconditional MCR
    • Cannot nest MCR’s
    • Always place MCR as last instruction on rung
special functions5
Special Functions
  • Jump (JMP)
    • When true, skips to the rung with the LBL instruction and continues executing
    • When false, doesn’t do anything
    • Can jump forward and backward
    • Can jump to the same label from several JMP instructions
    • Do not jump into a MCR zone
    • Not between program files
special functions6
Special Functions
  • Temporary End (TND)
    • Stops processor from scanning the rest of the rungs
    • Used to debug a program
    • Used to stop the execution of part of a main program or subroutine
special functions7
Special Functions
  • Suspend (SUS)
    • Sends PLC into idle mode
    • All outputs de-energized
    • Used with Suspend ID number
special functions8
Special Functions
  • Subroutine (SBR)
    • Marks the beginning of a file
    • Optional use
special functions9
Special Functions
  • Jump to Subroutine (JSR)
    • Used to execute a subroutine and then return
    • Saves memory
    • Nest 8 levels deep
    • File number 3-255 (SLC or M1500)
    • File number 4-15 (M1000)
special functions10
Special Functions
  • Return (RET)
    • Marks the end of a subroutine
    • Can be conditional (SLC)
    • Optional Use (END works as well)
    • Can return a value (SLC)
special functions11
Special Functions
  • End (END)
    • Marks the end of a file
special functions12
Special Functions
  • Immediate Input with Mask (IIM)
    • Update data prior to normal scan
    • Mask of 1 passes
    • Specify input word
    • Embedded I/O only
special functions13
Special Functions
  • Immediate Output with Mask (IOM)
    • Update outputs prior to normal scan
    • Mask of 1 passes
    • Specify output word
    • Embedded I/O only
special functions14
Special Functions
  • I/O Refresh (REF)
    • Executes a new I/O scan in middle of execution
    • Can also do communications
next class
Next Class
  • I/O Scans and memory layout
  • PLC Modes
ad