High-Speed I/O Table-Driven Outputs Overview

Slide Note
Embed
Share

Explore the capabilities of high-speed I/O table-driven outputs as showcased in the BX10, BX18, and BX36 devices. Learn about the discrete and analog input/output configurations, Ethernet ports, and high-speed features available in these devices. Additionally, understand how to set up and manage outputs through TDO functionalities like TDOPRESET and TDODECFG, allowing for precise control and customization of output actions based on specific count values. Discover the flexibility and efficiency that table-driven outputs bring to your control systems.


Uploaded on Sep 20, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. High-Speed I/O (Table-Driven Outputs)

  2. BX10 6 6 discrete IN (all high 4 4 discrete OUT (2 high No analog IN No analog OUT No Ethernet port BX10E 6 6 discrete IN (all high 4 4 discrete OUT (2 high 1 analog IN 1 analog OUT Ethernet port all high- -speed 2 high- -speed speed) speed) all high- -speed 2 high- -speed speed) speed)

  3. BX18 10 8 8 discrete OUT (4 high No analog IN No analog OUT No Ethernet port BX18E 10 8 8 discrete OUT (4 high 1 analog IN 1 analog OUT Ethernet port 10 discrete IN (all high all high- -speed 4 high- -speed speed) speed) 10 discrete IN (all high all high- -speed 4 high- -speed speed) speed)

  4. BX36 20 16 No analog IN No analog OUT No Ethernet port BX36E 20 16 4 analog IN 2 analog OUT Ethernet port 20 discrete IN (10 16 discrete OUT (8 high 10 high 8 high- -speed high- -speed speed) speed) 20 discrete IN (10 16 discrete OUT (8 high 10 high 8 high- -speed high- -speed speed) speed)

  5. TDO = T Table D Driven O Outputs Select Device Name & Output TDO trigger high-speed outputs in response to: High-speed Counters High-speed Timers Pulse Outputs Use instructions to setup and manage: TDOPRESET TDOPLS Switch TDODECFG TDOPRESET Load Preset Table TDOPLS Load Programmable Limit TDODECFG Deconfigure

  6. TDOPRESET Takes control of a TDO and loads a table of actions to be performed at specific count values Once table is loaded, instruction has exclusive control of TDO TDODECFG relinquish control of the TDO Table can be located in the instruction itself or in the PLC memory If in the PLC memory, there is a configurator to aid in creating tables there Each Preset Table can have up to 64 steps Steps can use constants or variables (read when instruction is 1st enabled) Reset the TDO s structure member, . .EnableOutput the table from writing its state data to the TDO TDOPRESET Load Preset Table for Table Driven Output TDODECFG instruction must be used to cause instruction to EnableOutput, to OFF to stop

  7. Conceptual Model of TDO control of a real-world output Y0 (in this example) is the real- world output being controlled To take control away from the table, use a TDODECFG different table can be used TDOPRESET (TDOPLS) Step1 Step2 Step3 Step4 TDODECFG, then a The .OutputState bit always shows what the table wants to do The .EnableOutput bit is automatically ON when the input leg is triggered, but can be manually turned OFF to interrupt table control Input leg triggers TDOPRESET (or TDOPLS) to take exclusive control of the real-world output

  8. TDOPRESET Driven Output (details) Select the TDO Configure if necessary Select Master Register High-speed Ctr/Tmr 1-3 Accumulator Pulse Output 1-3 Position (@Axis1-3) Configure if necessary Initialize . .OffsetInputVal the Master Register can be offset by a fixed amount before the comparison in the Step is performed by entering that offset value here TDOPRESET Load Preset Table for Table OffsetInputVal current count value from

  9. TDOPRESET Output (continued) Source Register Scaling Raw Pulse Counts (no scaling) Use Source Register Scaling table values use the scaling of the Master Register Load Raw Preset Table from Data Block tells instruction the table exists in the PLC (must be online) & therefore not in the instruction itself Table Start Address must be signed double-word locations Number of Preset Steps Table Data Block Range shows the range used <PLC TDO Preset Table Editor > - pulls up a dialog to help create the table in PLC memory TDOPRESET Load Preset Table for Table Driven

  10. TDOPRESET Driven Output (continued) Some Preset Functions require a Function Parameter: Pulse ON ( Sec) Pulse OFF ( Sec) Data can be imported from a .CSV file TDOPRESET Load Preset Table for Table

  11. TDOPLS Table for Table Driven Output Pairs of values are configured in a table that define a range of counts where the TDO is either ON or OFF (depending on the Default Output State) Configuring the instruction is nearly identical to the TDOPRESET Defining the Default Output State (OFF/ON) Graph showing entries of PLS table TDOPLS Load Programmable Limit Switch TDOPRESET instruction with the exception of:

  12. TDODECFG Unloads the Preset Table or the PLS Table from a TDO and causes it to relinquish control TDODECFG Deconfigure Table Drive Output

  13. Structure Members of TDO: . .EnableOutput or TDOPLS is executed; manually reset to OFF to prevent a TDOPRESET TDOPLS TDODECFG . .ResetLevel . .ResetEdge Step0; instruction resets OFF to indicate the reset happened . .OutputState table is wanting to do to the TDO; will happen if . .EnableOutput is ON; will not if it is OFF . .StepNumber TDOPRESET . .InputValOffset from the Master Register (of TDOPRESET adjusted by a fixed amount before the comparison in the Step is performed by entering that offset value here EnableOutput (bit; R/W TDOPLS is executed; automatically reset OFF when TDODECFG TDOPLS from writing to the TDO without having to execute a TDODECFG ResetLevel (bit; R/W ResetEdge (bit; R/W R/W) automatically set ON when TDOPRESET TDOPRESET TDODECFG TDOPRESET or R/W) set ON to hold the TDOPRESET R/W) rising edge resets the TDOPRESET TDOPRESET to Step0 TDOPRESET to OutputState (bit; RO RO) indicates what the TDOPRESET TDOPRESET or TDOPLS EnableOutput TDOPLS StepNumber (signed byte; RO TDOPRESET or TDOPLS InputValOffset (signed DWord; R/W RO) current active Step of the TDOPLS table R/W) the current count value TDOPRESET or TDOPLS TDOPLS) can be

Related


More Related Content