0 setup / configuration, 1 overview, 2 diampreset jsr instruction – Rockwell Automation 9329 Drive Application Software User Manual

Page 19

Advertising
background image

FM – Diameter Calculation

Drive Application Software – page 19 of 30

5.0 Setup / Configuration

5.1 Overview

All setup and configuration is done in the Main routine. The Diameter Calculation Function
Module is connected to the balance of the application software by placing application tag
names in the Jump to Sub-Routine (JSR) instructions. One JSR is used to call the
DiamPreset routine and a second JSR is used to call the DiamCalc routine.
When JSR instruction input parameters are configured with tags, which are intended to be
tuned by the user at commissioning, it is recommended that the (z prefix) naming convention
be used for tags of this type.

5.2 DiamPreset JSR Instruction

Note: If only a single diameter preset is required, the DiamPreset routine and JSR instruction
can be deleted. If the DiamPreset routine is deleted, the (DiamCalc – In15 & In16) inputs
[yDiamPresetCmmd] & [yDiamPresetVal_in] must be controlled by the user’s custom
programming. If the diameter is not properly preset, the machine section may not be able to
regulate product tension in the process.

5.2.1 Input Parameters

5.2.1.1

Preset1Cmmd – In 1, Preset2Cmmd – In 2, Preset3Cmmd – In 3

Enter application tags for the Preset Command input parameters (DiamPreset -
In1, In2, and In3). Enter '0' for unused Preset Command input parameters.

5.2.1.2

DiamPreset1Val_in – In 4, DiamPreset2Val_in – In 5,
DiamPreset3Val_in – In 6

Enter application tags for the Preset Value input parameters (DiamPreset - In4,
In5, and In6). If the application tag values are not in units of inches, add a rung to
the Main routine that will scale the tag values to inches. Enter '0.0' for unused
Preset Value input parameters.
Measured diameter can be used as a preset by configuring the tag used for the
DiamCalc JSR instruction Measured Diameter return parameter (DiamCalc –
Ret5) for one of the preset values.

5.2.1.3

PresetIncCmmd – In 7, PresetDecCmmd – In 8

Enter application tags for the Preset Increase/Decrease input parameters
(DiamPreset - In7, In8). Enter '0' if Diameter Increase/Decrease function is not
used.

5.2.1.4

PresetIncDecRate_inSec – In 9

Enter an application tag for the Preset Increase/Decrease Rate input parameter
(DiamPreset - In9). If the application tag value is not in units of inches per
second, add a rung to the Main routine that will scale the tag value to inches per
second. If the preset increase/decrease function is not used, enter '0.0' for the
Preset Increase/Decrease Rate input parameter.

5.2.2 Return Parameters

5.2.2.1

DiamPresetCmmd – Ret 1

Enter an application tag, for the Diameter Preset Command return parameter
(DiamPreset - Ret1. This tag should be used in the DiamCalc JSR instruction
input parameter (DiamCalc – In15).

5.2.2.2

DiamPresetVal_in – Ret 2

Enter an application tag, for Diameter Preset Value return parameter (DiamPreset
– Ret2). This tag should be used in the DiamCalc JSR instruction input parameter
(DiamCalc – In16).

Advertising