SIMATIC S7 MatLab Toolbox
|
Represents a network endpoint as an IP address, rack and slot number of a PLC device. More...
Public Member Functions | |
function | IPDeviceEndPoint (in address, in rack, in slot) |
Initializes a new instance of the IPDeviceEndPoint class with the specified address, rack number and slot number. More... | |
function get | Address (in this) |
Gets the IP address of the endpoint. | |
function set | Address (in this, in value) |
Sets the IP address of the endpoint. | |
function get | IsCustomRack (in this) |
Gets a value indicating whether a custom rack has been associated with this endpoint. | |
function get | IsCustomSlot (in this) |
Gets a value indicating whether a custom slot has been associated with this endpoint. | |
function get | Rack (in this) |
Gets the rack number of the endpoint. | |
function set | Rack (in this, in value) |
Sets the rack number of the endpoint. | |
function get | Slot (in this) |
Gets the slot number of the endpoint. | |
function set | Slot (in this, in value) |
Sets the slot number of the endpoint. | |
Public Attributes | |
Constant Property | DefaultRack = 0 |
Specifies the default value that is by default assigned to the Rack property. | |
Constant Property | DefaultSlot = 2 |
Specifies the default value that is by default assigned to the Slot property. | |
Constant Property | MaxRack = 65535 |
Specifies the maximum value that can be assigned to the Rack property. | |
Constant Property | MaxSlot = 65535 |
Specifies the maximum value that can be assigned to the Slot property. | |
Constant Property | MinRack = 0 |
Specifies the minimum value that can be assigned to the Rack property. | |
Constant Property | MinSlot = 0 |
Specifies the minimum value that can be assigned to the Slot property. | |
Property | Address |
Gets or sets the IP address of the endpoint. The IP address of the endpoint. More... | |
Property | Rack |
Gets or sets the rack number of the endpoint. A numeric value in the range MinRack to MaxRack indicating the rack number of the endpoint. More... | |
Property | Slot |
Gets or sets the slot number of the endpoint. A numeric value in the range MinSlot to MaxSlot indicating the slot number of the endpoint. More... | |
Property | IsCustomRack |
Gets a value indicating whether a custom rack has been associated with this endpoint. The value true, if there was a custom rack assigned to this endpoint; otherwise the value false. More... | |
Property | IsCustomSlot |
Gets a value indicating whether a custom slot has been associated with this endpoint. The value true, if there was a custom slot assigned to this endpoint; otherwise the value false. More... | |
Represents a network endpoint as an IP address, rack and slot number of a PLC device.
function IPDeviceEndPoint::IPDeviceEndPoint | ( | in | address, |
in | rack, | ||
in | slot | ||
) |
Initializes a new instance of the IPDeviceEndPoint class with the specified address, rack number and slot number.
address | The IP address of the endpoint. |
rack | The rack number associated with the address. |
slot | The slot number associated with the address. |
Errors
Property IPDeviceEndPoint::Address |
Gets or sets the IP address of the endpoint. The IP address of the endpoint.
Errors
Property IPDeviceEndPoint::IsCustomRack |
Gets a value indicating whether a custom rack has been associated with this endpoint. The value true, if there was a custom rack assigned to this endpoint; otherwise the value false.
Remarks
In case there is no custom rack number defined the PLC driver does decide on its own which rack is to be used by default to address the PLC device.
Property IPDeviceEndPoint::IsCustomSlot |
Gets a value indicating whether a custom slot has been associated with this endpoint. The value true, if there was a custom slot assigned to this endpoint; otherwise the value false.
Remarks
In case there is no custom slot number defined the PLC driver does decide on its own which slot is to be used by default to address the PLC device.
Property IPDeviceEndPoint::Rack |
Gets or sets the rack number of the endpoint. A numeric value in the range MinRack to MaxRack indicating the rack number of the endpoint.
Errors
Property IPDeviceEndPoint::Slot |
Gets or sets the slot number of the endpoint. A numeric value in the range MinSlot to MaxSlot indicating the slot number of the endpoint.
Errors