Input Description¶
EN
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BOOL | FALSE | TRUE/FALSE | - |
The input EN has to be driven in edge triggered mode.
The execution of the Function Block is started with a positive edge on the input EN.
In the first call it evaluates its inputs and creates a local copy of them. Afterwards it starts its internal algorithm. It may take several PLC task cycles until it is executed.
Once the execution is completed DONE and its other outputs are set. To start the Function Block again a new positive edge on the input EN has to be applied.
SLOT
Data_Type | Default_Value | Range | Unit |
---|---|---|---|
BYTE | 0 | 0 … 4 (6) | - |
At input SLOT, the Communication Module slot is specified which should be used by the Function Block.
The internal Communication Module always has the index 0. All external Communication Modules are serially numbered from right to left, starting with 1.
IP_ADR DWORD \ (IPaddress)
At input IP_ADR, the IP address which should be set at the CPU / Communication Module is specified. Each byte in IP_ADR represents one octet of the address.
Example:
IP address 192.15.24.2,
IP_ADR (hex) 16#C00F1802,
IP_ADR (dec) 3222214658
NETMASK DWORD \ (Netmask)
At input NETMASK, the subnet mask which should be set at the CPU / Communication Module is specified. Each byte in NETMASK represents one octet of the address.
Example:
Netmask 255.255.255.0,
NETMASK (hex) 16#FFFFFF00,
NETMASK (dec) 4294967040
GATEWAY DWORD \ (Gateway)
At input GATEWAY, the default gateway which should be set at the CPU / Communication Module is specified. Each byte in GATEWAY represents one octet of the address.
Example:
IP address 192.168.0.1,
IP_ADR (hex) 16#C0A80001,
IP_ADR (dec) 3232235521
BOOTP BOOL \ (BootP)
A TRUE signal at input BOOTP activates the BOOTP service for the CPU / Communication Module.
DHCP BOOL \ (DHCP)
A TRUE signal at input DHCP activates the DHCP service for the CPU / Communication Module.
REBOOT BOOL \ (reboot)
A TRUE signal at input REBOOT restarts the CPU / Communication Module after changing the IP settings.