To create the application program for a router, line coupler or media coupler:·When creating a new application program, select the relevant mask version (x9xxh) ·Add Parameters, ParameterRefs and ParameterRefRefs as usual
To create the hardware and product:·Create the Hardware as described in Create Hardware and Product elements ·Set the "Is Coupler" flag at the Hardware element. ·Assign the application program as usual.
Restrictions ("old style")The following restrictions apply for router/coupler application programs except for "new style" 0912h/091Ah application programs (see below): ·The LoadProcedureStyle must be "DefaultProcedure" ·The ProgramType must be "ApplicationProgram" (not "PeiProgram") ·ComObjects are not supported ·User memory is not supported ·Property parameters are not supported ·Mask versions 091xh: oThere can be only one absolute segment with memory range 0100h to 01FFh oThe AddressTable must start at address 0116h ·Mask version 1900h: oThere can be only one absolute segment with memory range 5003h to 5110h (the filter table is from 4003h to 5002h)
Support for "new style" programming of line coupler 0912h and IP router 091AhETS 4.1 and higher can program line couplers with mask version 0912h or higher either the traditional way (with memory-mapped parameters and a 3.5 KB filter table) or in "new style" using property-mapped parameters and a 8 KB filter table. ETS 5 and higher supports this feature also for the IP Router 091Ah. The developer of an application program entry for 0912h/091Ah can select the style to use via the CouplerNewProgrammingStyle property in the Application Program Options. See also Line Coupler Load Procedure (new style) and IP Router Load Procedure (new style). The following restrictions apply for "new style" 0912h/091Ah application programs: ·The LoadProcedureStyle must be "MergedProcedure" ·The ProgramType must be "ApplicationProgram" (not "PeiProgram") ·ComObjects are not supported ·The standard coupler parameters must be accessed via properties
Support for Coupler 2.0Starting with ETS5, Coupler model 2.0 is supported. See also Coupler 2.0 Load Procedure. |