PNSlave
(FB)
FUNCTION_BLOCK PNSlave
- InOut:
Scope
Name
Type
Comment
Output
xRunning
BOOL
PNIOStatus = 0
xBusy
BOOL
PNIOStatus = 1
xError
BOOL
PNIOStatus > 1
PNIOStatus
UINT
returns value of 0xann0:1 PnIoBoxState.pniostate
0 = No error 1 = ProfinetDevice state machine is in boot mode 2 = Device not found 3 = The stationname is not unique 4 = IP could not set 5 = IP conflict 6 = DCP set was not successful 7 = Watchdog error 8 = Datahold error 9 = RTC3: Sync signal could not started 10 = Profinet controller has a link error 11 = The aliasname is not unique 12 = The automatic name assignement isn’t possible - wrong device type 13 = IOC-AR is established but no application ready 14 = IOC-AR is established but module difference 15 = At least one InputCR is invalid, provider in stop or problemindicator is set 16 = At least one OutputCR is invalid, provider in stop or problemindicator is set 31 = only for EtherCAT gateways: WC-State of cyclic EtherCAT frame is 1