Isochronous Mode Application class specification

Một phần của tài liệu Bsi bs en 61158 5 10 2014 (Trang 403 - 407)

An Isochronous Mode Application process object is described by the following template:

ASE: Isochronous Mode Application ASE CLASS: Isochronous Mode Application CLASS ID: not used

PARENT CLASS: TOP ATTRIBUTES:

1 (m) Key Attribute: Implicit

2 (m) Attribute: List of Modules

2.1 (m) Attribute: Slot Number 2.2 (m) Attribute: List of Submodules 2.2.1 (m) Attribute: Subslot Number 2.2.2 (m) Attribute: IsoM Data

2.2.2.1 (m) Attribute: Time Data Cycle 2.2.2.2 (m) Attribute: Time IO Input 2.2.2.3 (m) Attribute: Time IO Output 2.2.2.4 (m) Attribute: Time IO Input Valid 2.2.2.5 (m) Attribute: Time IO Output Valid

2.2.2.6 (m) Attribute: Controller Application Cycle Factor 2.2.3 (m) Attribute: Device Parameter

2.2.3.1 (m) Attribute: Time Data Cycle Base 2.2.3.2 (m) Attribute: Time IO Base

2.2.3.3 (m) Attribute: Time Data Cycle Min 2.2.3.4 (m) Attribute: Time Data Cycle Max 2.2.3.5 (m) Attribute: Time IO Input Min 2.2.3.6 (m) Attribute: Time IO Output Min SERVICES:

1 (m) OpsService: Write Isochronous Mode Data 2 (m) OpsService: Read Isochronous Mode Data 3 (m) OpsService: Local SYNCH Event

7.3.7.2.2 Attributes Implicit

The key attribute Implicit indicates that the Isochronous Mode Application process object is implicitly addressed by the service.

List of Modules

This attribute list contains the following attributes:

Slot Number

This attribute defines to which module the Isochronous Mode Application attribute belongs.

Attribute type: Unsigned16 Allowed values: 0 to 0x7FFF List of Submodules

This attribute list contains the following attributes:

Subslot Number

This attribute defines to which subslot the Isochronous Mode Application attribute belongs.

Attribute type: Unsigned16 Allowed values: 0 to 0x7FFF Isochronous Mode Data

This attribute consists of the following attributes:

Time Data Cycle (T_DC)

This attribute indicates the time factor for the data cycle. This time includes all parts of the isochronous data cycle to convey inputs and outputs.

The time of the data cycle is calculated by T_DC * T_DC_BASE * 31,25 às.

Time base: T_DC_BASE * 31,25 às

Attribute type: Unsigned16 Allowed values: 1 to 1 024 Time IO Input (T_IO_Input)

This attribute indicates the time factor to fetch the inputs for the IO device. The time base is value of T_IO_Base multiplied with 1 ns.

The time (T_IO_Input) is related to the start of T_DC and describes a time before the start of T_DC.

T_IO_Input has a step size of T_IO_Base; i.e. T_IO_Input = n * T_IO_BASE.

For T_IO_Input the following relation shall be applied:

(T_IO_InputValid+T_IO_InputMin) ≤ T_IO_Input ≤ T_DC Time base: 1 ns

Attribute type: Unsigned32 Allowed values: 1 to 32 000 000 Time IO Output (T_IO_Output)

This attribute indicates the time factor to set the outputs for the IO device. The time base is value of T_IO_Base multiplied with 1 ns.

The time (T_IO_Output) is related to the start of T_DC and describes a time after the start of T_DC.

T_IO_Output has a step size of T_IO_Base; i.e. T_IO_Output = n * T_IO_BASE.

For T_IO_Output the following relation shall be applied:

(T_IO_OutputValid + T_IO_OutputMin) ≤ T_IO_Output ≤ T_DC Time base: 1 ns

Attribute type: Unsigned32 Allowed values: 1 to 32 000 000

Time IO Input Valid (T_IO_InputValid)

This attribute indicates the point of time the new input data shall be available to convey.

This point of time is related to the start of T_DC and describes a time before the start of T_DC.

T_IO_InputValid has a step size of T_IO_Base; i.e. T_IO_InputValid = n * T_IO_BASE.

Time base: 1 ns

Attribute type: Unsigned32 Allowed values: 1 to 32 000 000

Time IO Output Valid (T_IO_OutputValid)

This attribute indicates the point of time the new output data are available to process.

This point of time is related to the start of T_DC and describes a time after the start of T_DC.

T_IO_OutputValid has a step size of T_IO_Base; i.e. T_IO_OutputValid = n * T_IO_BASE.

Time base: 1 ns

Attribute type: Unsigned32 Allowed values: 1 to 32 000 000

Controller Application Cycle Factor (CACF)

This attribute indicates the IO Controller Application cycle time as a factor in multiples of T_DC. It determines the time the application of the IO Controller needs to process an isochronous application task completely. From isochronous point of view there is exactly one user task for each AR controlling the isochronous part of the application.

The isochronous application task of the IO controller is started with a local time offset (the so called T_CA_START) from the cycle begin, where global cycle counter modulo (T_DC * CACF) == 0.

Time base: T_DC

Attribute type: Unsigned16 Allowed values: 1 to 1024 Device Parameter

This attribute consists of the following attributes.

Time Data Cycle Base (T_DC_Base)

This attribute determines the granularity for data cycle adjustment.

This field is part of the GSD.

Time base: 31,25 às Attribute type: Unsigned16 Allowed values: 1 to 1 024 Time IO Base (T_IO_Base)

This attribute determines the granularity for input and output delay time adjustment.

The time for T_IO_Base is calculated by T_IO_Base * 1 ns.

This field is part of the GSD.

Time base: 1 ns

Attribute type: Unsigned32 Allowed values: 1 to 32 000 000 Time Data Cycle Min (T_DC_Min)

This attribute determines the smallest possible data cycle.

The time for T_DC_Min is calculated by T_DC_Min * T_DC_Base * 31,25 às.

This field is part of the GSD.

Time base: T_DC_Base * 31,25 às Attribute type: Unsigned16

Allowed values: 1 to 1 024

Time Data Cycle Max (T_DC_Max)

This attribute determines the longest possible data cycle.

The time for T_DC_Max is calculated by T_DC_Max * T_DC_Base * 31,25 às.

This field is part of the GSD.

Time base: T_DC_Base * 31,25 às Attribute type: Unsigned16

Allowed values: 1 to 1 024

Time IO Input Min (T_IO_InputMin)

This attribute contains the factor for the smallest possible input refresh delay time.

It may be the smallest possible time to copy or preprocess the input data.

This point of time is related to the start of T_DC and describes a time before the start of T_DC.

The time for T_IO_InputMin is calculated by T_IO_InputMin * T_IO_Base * 1 ns.

This field is part of the GSD.

Time base: T_IO_Base * 1 ns Attribute type: Unsigned32 Allowed values: 1 to 32 000 000

Time IO Output Min (T_IO_OutputMin)

This attribute contains the factor for the smallest possible output refresh delay time. It may be the smallest possible time to copy or preprocess the output data.

This point of time is related to the start of T_DC and describes a time after the start of T_DC.

The time for T_IO_OutputMin is calculated by T_IO_OutputMin * T_IO_Base * 1 ns.

This field is part of the GSD.

Time base: T_IO_Base * 1 ns Attribute type: Unsigned32 Allowed values: 1 to 32 000 000

Một phần của tài liệu Bsi bs en 61158 5 10 2014 (Trang 403 - 407)

Tải bản đầy đủ (PDF)

(620 trang)