Panasonic FPSIGMA Technical Manual page 65

Fieldbus slave units
Table of Contents

Advertisement

Programming Examples for FPWIN Pro
Inputs
Input
bReset
iSlotNo
iDeviceAddress
pInputs
pInConfig
pOutputs
pOutConfig
iWatchdogTime_ms
Outputs
Output
sName
sBusType
bOnline
bError
wErrorCode
List of error codes for FP-FNS block CANopen
Errorcode
16#0000
16#0002
16#0003
16#0004
16#0005
16#0007
16#0008
16#0009
16#000A
64
Data Type
Function
BOOL
Reset pin; network block will be reset while bReset is set.
INT
Installation position of the FNS unit
INT
CANopen address; values from 1 to 127.
POINTER
Pointer to the input's process data table
POINTER
Pointer to the input's configuration data table
POINTER
Pointer to the output's process data table
POINTER
Pointer to the output's configuration data table
INT
Watchdog timeout value for unit in ms. Valid values from 1 to
32767. 0: default of 700ms.
Data Type
STRING[16]
STRING[20]
BOOL
BOOL
WORD
Indication
No error
Process data area is too large (max. 32 PDOs, i.e. max. 128 words in each direction)
Reset request error
Bus off or cable disconnected, or no connection established between master and slave
(wrong device address or process data configuration)
FP-FNS block is not installed correctly
FP-FNS block has incorrect provider ID
Wrong FP-FNS block installed
Invalid device address
Exception state entered; application watchdog timeout; unit needs resetting
Function
Name of installed FP-FNS block
Network type of installed FP-FNS block
Flag for online status
Error flag
Error code if error flag is set

Advertisement

Table of Contents
loading

Table of Contents