Parameter
|
Type
|
Comment
|
---|---|---|
ENABLE
|
BOOL
|
Set to 1 to enable the operation.
|
ABORT
|
BOOL
|
Set to 1 to abort the currently active operation.
|
ADDR
|
ANY_ARRAY_INT
|
This array contains the address of the entity for which you want to change the security state (the result of the ADDMX or ADDM function). For example:
NOTE:
|
ETH_SCE
|
WORD
|
For each protocol, use these binary values to control the protocol:
These bits are used for the different protocols:
|
Parameter
|
Type
|
Comment
|
---|---|---|
DONE
|
BOOL
|
Operation completed indication. Set to 1 when the execution of the operation is completed successfully.
|
ACTIVE
|
BOOL
|
Operation in progress indication. Set to 1 when the execution of the operation is in progress.
|
ERROR
|
BOOL
|
Set to 1 if an error is detected by the function block.
|
STATUS
|
WORD
|
Code providing the detected error identification.
|
ETH_SCE_STATUS
|
WORD
|
For each protocol, these values contain the response to any attempt to enable or disable the FTP, TFTP, HTTP, or DHCP / BOOTP protocols:
Reasons for not executing the command can be:
These bits are used for the different protocols:
|
Step
|
Action
|
---|---|
1
|
Set the bits of the services you want to activate in ETH_SCE.
|
2
|
Set ENABLE input to activate the EFB.
|
3
|
Reset ENABLE input as soon as the ACTIVE output is reset by the EFB.
|
4
|
Check STATUS output value:
|