Click or drag to resize

AddressAreaOverlaps Method (Int64, Int64, Int64, Int64)

Determines whether these two addressable areas overlap at any point.

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public static bool Overlaps(
	long fromBitsA,
	long toBitsA,
	long fromBitsB,
	long toBitsB
)

Parameters

fromBitsA
Type: SystemInt64
The start bit address of the first address to compare.
toBitsA
Type: SystemInt64
The number of bits in the first address to compare.
fromBitsB
Type: SystemInt64
The start bit address of the second address to compare.
toBitsB
Type: SystemInt64
The number of bits in the second address to compare.

Return Value

Type: Boolean
True if these two addressable areas overlap at any point.
See Also