
The Function Block COORD_DISTANCE calculates the distance between two coordinates.
The input defines the latitude 1 for calculating the distance. This is passed as a decimal.
The input defines the longitude 1 for calculating the distance. This is passed as a decimal.
If this input and the first input are not defined or NULL, the coordinate is taken from the project.
The input defines the latitude 2 for calculating the distance. This is passed as a decimal.
The input defines the longitude 2 for calculating the distance. This is passed as a decimal.
If this input and the third input are not defined or NULL, the coordinate is taken from the project.
The average equatorial radius of the Earth in meters. This amounts to 6378137. If the input is not defined or NULL, the value mentioned above is assumed.
The calculated distance in meters. Unless the radius input has been defined differently. The output is only recalculated when an input changes.