Click or drag to resize

AddressAreaOverlaps(Int64, Int64, Int64, Int64) Method

Determines whether these two addressable areas overlap at any point.

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

Parameters

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

Return Value

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