Skip to content

Latest commit

 

History

History
80 lines (40 loc) · 2.99 KB

File metadata and controls

80 lines (40 loc) · 2.99 KB

Axo_SR_1000

Keyence SR-1000 fixed barcode reader

Generated documentation for the Axo_SR_1000 component.

Declare component

[!code-pascal]

Declare initialization variables

Most of the initialization variables come from the I/O system. The example below is for demonstration purposes.

[!code-pascal]

Initialize & Run

[!code-pascal]

[!INCLUDE IntializeAndRun]

Use

[!code-pascal]

Source

View the library source at Axo_SR_1000.st.

Source

View the .NET twin source at AXOpen.Components.Keyence.Vision.

Axo_SR_1000 does not ship a dedicated Blazor view. It renders via the generic AxoComponent pattern using RenderableContentControl, which inspects the component type at runtime and selects the matching rendering based on the Presentation attribute.

Status display

[!code-html]

Command control

[!code-html]

Type-agnostic status view

[!code-html]

Type-agnostic command view

[!code-html]

Available Presentation values: Status-Display, Command-Control, Service-Control, Spot, Compact.

Source

View the Blazor package at AXOpen.Components.Keyence.Vision.blazor.

Device template

PROFINET hardware template at showcase/app/hwc/library_templates/Keyence_SR_1000/.

Device instantiation

[!code-yaml]

IO system wiring

[!code-yaml]