Professional Documents
Culture Documents
Axl RTD V1 00 001
Axl RTD V1 00 001
Function block
AXL_RTD_V1_00
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 2 of 11
Table of contents
1 Introduction .................................................................................................................. 3
1.1 General ................................................................................................................... 3
1.2 Block data ............................................................................................................... 3
1.3 Block call ................................................................................................................. 3
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 3 of 11
1 Introduction
1.1 General
The AXL_RTD block uses the process data from the input terminal blocks of the Axioline
product range for temperature recording to calculate standardized data values for further
processing by the control program.
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 4 of 11
2 Block description
2.1 General
This block provides support in the processing of signals from terminal blocks for temperature
recording in the Axioline product range. The analog input channels can be in the local bus of
a class AXC controller or in PROFINET stations after an AXL BK PN bus coupler.
To standardize the analog values, create a global variable for linking the block to the process
data of the analog terminal block and connect the variable using the iAnalogIn input. In
addition, when accessing an analog terminal block within a PROFINET IO station, the “PNIO
Data Valid” status of the bus coupler can be transferred to the block. This status enables the
block to also monitor the PROFINET connection and the validity of the incoming process
data.
As well as linking the global variables, various parameters are transferred to the block. For
the preparation of process data at the iResolution input, the block expects information about
the selected resolution. The configuration of the resolution of the analog channel can be
found in the “Bus Structure” of PC WORX in the “Device parameters” view for the terminal
block. The iSubstitute parameter can be used to determine how the block should deal with its
rValue output in the event that an abnormal operating state is detected.
Once the block has been configured and connected to the hardware, the real value is
available directly at the rValue output, which can be used in your calculations. Each block
call processes the current value of the global process data variables and transfers it to the
data value at the block output. If the block does not detect an error, the xValid output is set to
True. Invalid input parameters for the resolution of the substitute value behavior are indicated
by the value False and a corresponding diagnostic status at the xValid output. This is also
used to indicate that the bus coupler is not providing valid process data (possibly due to a
connection error) or that the terminal block is indicating an error. In the event of a hardware
error message, the wStatus output provides diagnostic information directly according to the
description in the terminal block data sheet.
In the event of an abnormal operating state such as a communication error or a sensor error,
the rValue output is typically set to the value REAL#0.0. To hold the last valid value, select
the value Integer#1 for the iSubstitute input.
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 5 of 11
Input parameters
Name Type Description
iAnalogIn REAL Process data value of the analog input.
iSubstitute INT Substitute value behavior for the rValue output in the event
of invalid block parameterization:
INT#0 – output value REAL#0.0 (default value)
INT#1 – last valid output value is held
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 6 of 11
Output parameters
Name Type Description
rValue INT Data value depending on the selected resolution.
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 7 of 11
2.4 Diagnostics
Status Meaning
0000hex No information available.
0C03hex The entry for the substitute value behavior (iSubstitute) is invalid.
0C20hex The process data of the PROFINET IO device is invalid (“PNIO Data Valid” status).
80xxhex For other sensor errors, refer to the data sheet for the analog terminal block used.
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 8 of 11
2.5 Startup
1. Create your bus configuration and specify the parameterization for the channels for
temperature recording. During parameterization, make sure that the data format is left
as “Inline”.
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 9 of 11
2. Instantiate the AXL_RTD block for each analog channel. The value at the iResolution
input must correspond to your parameterization of the resolution in the “Device
parameters” view.
To link the process data, create a global variable at the iAnalogIn input. A second
global variable can be created for the “PNIO Data Valid” status of a PROFINET bus
coupler as an option. Otherwise, set the xPnioDataValid input to True.
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 10 of 11
3. Now link the global variables to the process data of the analog terminal block and the
“PNIO Data Valid” status of the bus coupler (optional).
AXL_RTD_V1_00_001.docx 20131209
AXL_RTD_V1_00
Page 11 of 11
2.6 Note
This function block can be used for temperature recording terminal blocks which use the
distinctive values listed below in Inline data format according to their data sheets.
At the time of writing this documentation, these are terminal blocks AXL RTD 8
(Order No. 2688077) and AXL RTD 8-ME (Order No. 2688190). Please note that the use of
the AXL_RTD block could only be tested using these terminal blocks.
AXL_RTD_V1_00_001.docx 20131209