ScannerState
(ENUM)
TYPE ScannerState :
- Attributes:
qualified_only
- InOut:
Name
Comment
INITIALIZING
Setting up CIP objects. Go on with IP_CONFIG.
DISABLED
Disabled in device tree.
IP_CONFIG
Make ip configuration to ethernet interface and waiting for it to go on state IoDrvEthernet->EthernetState->RUNNING. Go on with UDP_CONFIG if ok. If error eState is ScannerState.ERROR and Error.TCPIP_CONFIG_ERROR.
UDP_CONFIG
Open UDP default port 2222 socket for IO communication. If ok go on with UDP_CONFIG, else ScannerState.BUS_ERROR.
ENCAPSULATION_CONFIG
ADAPTER_CONFIG
Empty state. Go on with OPEN_CONNECTIONS.
OPEN_CONNECTIONS
Setting CIP identity status to configured and go on with state RUNNING.
RUNNING
Open connections to adapters and handle IO communication and explicit messages (different tasks)
DIAGNOSTIC_AVAILABLE
Same as running with diagnostic message for configurator/editor.
BUS_ERROR
UDP or TCP ports could not be opened. If network interface is going on state IoDrvEthernet->EthernetState->RUNNING scanner jumps to state INITIALIZING.
RESET
If xReset on CIP identity object is received this state is getting aktiv.
ERROR
If network interface is going on state IoDrvEthernet->EthernetState->RUNNING scanner jumps to state INITIALIZING.