1 / 13

BRX Technical Training

BRX Technical Training. High-Speed I/O (Table-Driven Outputs). High-Speed I/O. BX10 6 discrete IN ( all high-speed ) 4 discrete OUT ( 2 high-speed ) No analog IN No analog OUT No Ethernet port BX10E 6 discrete IN ( all high-speed ) 4 discrete OUT ( 2 high-speed ) 1 analog IN

lowell
Download Presentation

BRX Technical Training

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. High-Speed I/O • BX10 • 6 discrete IN (all high-speed) • 4 discrete OUT (2 high-speed) • No analog IN • No analog OUT • No Ethernet port • BX10E • 6 discrete IN (all high-speed) • 4 discrete OUT (2 high-speed) • 1 analog IN • 1 analog OUT • Ethernet port

  3. High-Speed I/O • BX18 • 10 discrete IN (all high-speed) • 8 discrete OUT (4 high-speed) • No analog IN • No analog OUT • No Ethernet port • BX18E • 10 discrete IN (all high-speed) • 8 discrete OUT (4 high-speed) • 1 analog IN • 1 analog OUT • Ethernet port

  4. High-Speed I/O • BX36 • 20 discrete IN (10 high-speed) • 16 discrete OUT (8 high-speed) • No analog IN • No analog OUT • No Ethernet port • BX36E • 20 discrete IN (10 high-speed) • 16 discrete OUT (8 high-speed) • 4 analog IN • 2 analog OUT • Ethernet port

  5. High-Speed Outputs (Table-Driven Outputs) • TDO = Table Driven 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 “Load Preset Table” • TDOPLS “Load Programmable Limit Switch” • TDODECFG “Deconfigure”

  6. High-Speed Outputs (Table-Driven Outputs) • TDOPRESET “Load Preset Table for Table Driven Output” • 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 instruction must be used to cause instruction to 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, to OFF to stop the table from writing its state data to the TDO

  7. High-Speed Outputs (Table-Driven Outputs) 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, then a different table can be used TDOPRESET (TDOPLS) Step1 Step2 Step3 Step4 … 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. High-Speed Outputs (Table-Driven Outputs) • TDOPRESET “Load Preset Table for Table 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 – current count value from the Master Register can be offset by a fixed amount before the comparison in the Step is performed by entering that offset value here

  9. High-Speed Outputs (Table-Driven Outputs) • TDOPRESET “Load Preset Table for Table Driven Output” (continued) • Source Register Scaling • Raw Pulse Counts (noscaling) • Use Source Register Scaling – table values use the scaling of the MasterRegister • 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

  10. High-Speed Outputs (Table-Driven Outputs) • TDOPRESET “Load Preset Table for Table Driven Output” (continued) • Some Preset Functions require a FunctionParameter: • Pulse ON (µSec) • Pulse OFF (µSec) • Data can be imported from a .CSV file

  11. High-Speed Outputs (Table-Driven Outputs) • TDOPLS “Load Programmable Limit Switch 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 instruction with the exception of: • Defining the Default Output State (OFF/ON) • Graph showing entries of PLS table

  12. High-Speed Outputs (Table-Driven Outputs) • TDODECFG “Deconfigure Table Drive Output” • Unloads the Preset Table or the PLS Table from a TDO and causes it to relinquish control

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

More Related