Page 1
programmable controller FpS/Fp2 Fieldbus Slave Units technical manual...
Page 2
This manual and everything described in it are copyrighted. You may not copy this manual, in whole or part, without written consent of Panasonic Electric Works Europe AG (PEWEU). PEWEU pursues a policy of continuous improvement of the design and performance of its products.
Page 3
Important symbols One or more of the following symbols may be used in this documentation: DANGER! The warning triangle indicates especially important safety instructions. If they are not adhered to, the results could be fatal or critical injury. Indicates that you should proceed with caution. Failure to do so may result in injury or significant damage to instruments or their contents, e.g.
Table of Contents Table of Contents 1. Features and Restrictions ............ 7 Fieldbus Slave Units ................8 Expansion Restrictions and Current Limitations ........9 1.2.1 Expansion Restrictions for the FP2-FNS Unit ..........9 Expansion Restrictions for the FPΣ FNS Unit ..........9 1.2.2 1.2.3 Limitations on Current Consumption ............
Page 5
Table of Contents 3.2.5 FP-FNS Block BACnet/IP General Specifications........28 3.2.6 FP-FNS Block BACnet MS/TP General Specifications ......29 FP-FNS Block Communication Specifications ........30 4. Installation and Wiring ............31 Fastening the FP-FNS Block ..............32 Removing the FP-FNS Block ..............34 Installation of the FP2/FPΣ...
Page 6
Table of Contents 5.6.1 FNS_DeviceNet Function Block ............... 58 Programming Example, FP-FNS Block CANopen ........60 5.7.1 FNS_CANopen Function Block ..............63 Programming Example, FP-FNS Block Profinet IO ........ 65 5.8.1 FNS_ProfinetIO Function Block ............... 68 Programming Example, FP-FNS Block BACnetIP ........70 5.9.1 FNS_BACnetIP Function Block ..............
You can still order the FNS units and FP-FNS blocks separately. Please contact your local sales office. You can download convenient function blocks for Control FPWIN Pro to help you program the FP-FNS blocks free of charge from the Panasonic Electric Works Europe AG Web site: http://www.panasonic-electric-works.com. FP2 Fieldbus Slave Units...
Expansion Restrictions and Current Limitations 1.2 Expansion Restrictions and Current Limitations 1.2.1 Expansion Restrictions for the FP2-FNS Unit The number of FP2-FNS units is restricted by the size of the FP2 backplane. 1.2.2 Expansion Restrictions for the FPΣ FNS Unit The FP-FNS units are connected to the left side of the control unit via the FP...
Parts and Functions 2.1 Fieldbus Slave Units FP2 and FPΣ Fieldbus Slave Units (see page 8) are preassembled to include: an FP2 FNS unit (see page 13) or an FPΣ FNS unit (see page 14) and the corresponding FP-FNS block (see page 15).
Parts and Functions 2.3 FPΣ FNS Unit Installation position for FP-FNS block FP expansion connector Used to connect the unit to the control unit or other expansion units. DIN standard rail attachment DIN rail attachment lever Expansion hook Used to secure an expansion unit. The hook is also used for installation on the flat type mounting plate (part no.
FP-FNS Blocks 2.4 FP-FNS Blocks Various FP-FNS blocks are available to meet your networking needs. 2.4.1 FP-FNS Block PROFIBUS DP This FP-FNS block connects the unit to a PROFIBUS network. Front view Item Operation mode Status PROFIBUS connector (DB9F) Operation Mode State Indication Comments...
Parts and Functions PROFIBUS connector, DB9F, 9-pin Sub-D female Signal Description B Line Positive RxD/TxD, RS485 level Request to send Bus ground (isolated) +5V bus output (see note) +5V termination power (isolated) A Line Negative RxD/TxD, RS485 level FP: Internally connected to the function earth connector of the Housing Cable shield FNS unit.
FP-FNS Blocks Module Status During start-up, an LED test is performed according to the DeviceNet standard. State Indication No power or not initialized Green Operating in normal condition Flashing green (1Hz) Missing or incomplete configuration, device needs to be configured Unrecoverable fault(s) Flashing red (1Hz) Recoverable fault(s)
Page 19
Parts and Functions State Indication Blinking green (2.5Hz) Device is in "pre-operational" state Green "Operational" state Fatal event encountered. Bus interface is in physically passive state. ERROR State Indication No power or device is in working condition Single flash red A bus error counter has reached warning limit Flickering red (10Hz) LSS (Layer Setting Service) in progress...
FP-FNS Blocks 2.4.4 FP-FNS Block PROFINET IO This FP-FNS block connects the unit to a PROFINET IO network. Front view Item Network status LED Module status LED Ethernet port 1 Ethernet port 2 Link/Activity LED (port 1) Link/Activity LED (port 2) Network Status During start-up, a test sequence is performed on this LED.
Parts and Functions State Indication Comments Exception error FP-FNS state = 'EXCEPTION' Red, 1 flash Configuration Error Expected configuration by controller differs from real configuration. Red, 2 flashes IP Address Error IP address not set Red, 3 flashes* Station Name Error Station Name not set Red, 4 flashes* Internal Error...
Page 22
FP-FNS Blocks Network Status During start-up, a test sequence is performed on this LED. State Indication Comments Offline No power, or no IP address On-line, one or more BACnet messages have arrived Green Online (RUN) Module has active COV subscriptions ...
Parts and Functions Ethernet interface, RJ45 The Ethernet interface supports autonegotiation and Auto MDI-X, with 10/100Mbit, full or half duplex operation. 2.4.6 FP-FNS Block BACnet MS/TP This FP-FNS block connects the unit to a BACnetMS/TP network. Front view Item Network status LED Module status LED BACnet MS/TP connector Network Status...
Page 24
FP-FNS Blocks BACnet MS/TP Connector Signal Description Common Signal common Data- Negative RS485 RxD/TxD Shield Cable shield Data+ Positive RS485 RxD/TxD (Not used) (Not used)
Specifications 3.1 FNS Unit General Specifications Item Description Operating temperature 0 to +55°C/32 to +131°F Storage temperature -20 to +70°C/-4 to +158°F Operating humidity 30 to 85% RH (non-condensing) Storage humidity 30 to 85% RH (non-condensing) Vibration resistance 10 to 55Hz, 1 cycle/min: double amplitude of 0.75mm/0.030in., 10 min. on 3 axes Shock resistance Shock of 98m/s or more, 4 times on 3 axes...
FP-FNS Block General Specifications 3.2 FP-FNS Block General Specifications 3.2.1 FP-FNS Block PROFIBUS DP General Specifications Item Description Operating temperature 0 to +55°C/32 to +131°F Storage temperature -20 to +70°C/-4 to +158°F Operating humidity 30 to 85% RH (non-condensing) Storage humidity 30 to 85% RH (non-condensing) Vibration resistance 10 to 55Hz, 1 cycle/min: double amplitude of 0.75mm/0.030in., 10 min.
Specifications 3.2.3 FP-FNS Block CANopen General Specifications Item Description Operating temperature 0 to +55°C/32 to +131°F Storage temperature -20 to +70°C/-4 to +158°F Operating humidity 30 to 85% RH (non-condensing) Storage humidity 30 to 85% RH (non-condensing) Vibration resistance 10 to 55Hz, 1 cycle/min: double amplitude of 0.75mm/0.030in., 10 min. on 3 axes Shock resistance Shock of 98m/s or more, 4 times on 3 axes...
FP-FNS Block General Specifications Item Description Shock resistance Shock of 98m/s or more, 4 times on 3 axes Immunity EN61000-4-2, EN61000-4-3, EN61000-4-4, EN61000-4-5, EN61000-4-6 Operation condition Free from corrosive gases and excessive dust Insulation resistance Min. 100M (measured with a 500V DC megger) Breakdown voltage 500V AC, 1 min.
Installation and Wiring 4.1 Fastening the FP-FNS Block Pins may bend! To ensure that the pins in the FP-FNS do not bend or break, which will ruin the FP-FNS unit, read the following installation instructions carefully and follow them precisely. Make sure you are not electrostatically charged before you touch the FP-FNS block: the discharge of static electricity can damage parts and equipment.
Page 34
Fastening the FP-FNS Block 3. While flush with the unit's surface, tighten the mounting screws. Make sure the mounting mechanics fit into the fastening support holes of the PCB. When tightening the FP-FNS block, use a TORX driver with a blade size of T9. The recommended tightening torque is 0.25Nm.
Installation and Wiring 4.2 Removing the FP-FNS Block 1. Loosen the mounting screws. 2. Pull the FP-FNS block out of the installation port of the FNS unit.
Installation of the FP2/FPΣ Unit 4.3 Installation of the FP2/FPΣ Unit Warning! Read the following notes carefully before installing the unit! Failure to follow these instructions could lead to fire or damage the equipment. Installation environment Be sure to install the unit in locations designed for electrical equipment, e.g. in a closed metal cabinet such as a switch cabinet.
Page 37
Installation and Wiring Measures regarding heat discharge Always install the CPU orientated with the TOOL port facing outward on the bottom in order to prevent the generation of heat. Do NOT install the CPU as shown below. Do not install the unit above devices which generate heat such as heaters, transformers or large scale resistors.
Page 38
Installation of the FP2/FPΣ Unit Installation space Leave at least 50mm of space between the wiring ducts of the unit and other devices to allow heat radiation and unit replacement. Maintain a minimum of 100mm between devices to avoid adverse effects from noise and heat when installing a device or panel door to the front of the unit.
Page 39
Installation and Wiring For the FP2/FP2SH, keep the first 170mm from the PLC front surface clear of objects to allow the connecting of programming tools. For the FP, the distance should be at least 130mm.
Mounting Methods 4.4 Mounting Methods FP-FNS Unit You can attach up to 4 expansion units, including the FP-FNS unit, to the left side of the FP CPU. You can mount all units on a DIN rail. For more information, please refer to the FP User's Manual. FP2-FNS Unit Install the FP2-FNS unit on the FP2 backplane.
Installation and Wiring 4.5 Cable Selection Select a cable suitable for the network used. PROFIBUS Use a standard PROFIBUS cable and a standard 9-pin Sub-D PROFIBUS connector. CANopen Use a standard CANopen cable and a standard 9-pin Sub-D CANopen connector. DeviceNet Use a standard DeviceNet cable.
Wiring of the FP-FNS Blocks 4.6 Wiring of the FP-FNS Blocks 4.6.1 FP-FNS Block PROFIBUS DP Wiring Use a standard PROFIBUS cable and standard 9-pin Sub-D male PROFIBUS connectors. We recommend using a straight (0°) bus interface connector (e.g. PR 103-658). When a horizontal (90°) bus interface connector is used, the cables will be directed toward the top of the unit, which may cause difficulties when installing other devices in a control cabinet.
Page 43
Installation and Wiring 2. Wrap the end of the cable with 38mm (1.5in.) of shrink wrap, covering part of the exposed conductors and part of the trunk line insulation. 3. Strip 8.1mm (0.32in.) of the insulation from the end of each of the insulated conductors.
Wiring of the FP-FNS Blocks After wiring, make sure stress is not applied to the wire. In the terminal block socket, make sure to clamp the wire in place by turning the tightening screw clockwise. 4.6.3 FP-FNS Block CANopen Wiring Use a standard CANopen cable and standard 9-pin Sub-D female CANopen connectors.
Installation and Wiring 4.6.6 FP-FNS Block BACnet MS/TP Wiring Open style connector/suitable wire BACnet MS/TP has a standard open style connector. If additional connectors are needed, use the standard 5-pin, open style connectors manufactured by Phoenix Contact. No. of contacts Phoenix Contact product ID Model no.
Wiring of the FPΣ-FNS Unit 4.7 Wiring of the FPΣ-FNS Unit The FP-FNS unit has a spring-cage connection type (2-pin) or screw (3-pin) terminal block on its lower side to connect to function earth. As the pins are internally bridged, one of the pins should be connected to function earth for proper EMC behaviour.
Page 47
Installation and Wiring After wiring, make sure stress is not applied to the wire. 1. Remove a portion of the wire’s insulation. 2. Press the orange opening lever of the connector using a tool such as a flat-blade screwdriver. 3.
The functions and function blocks used in these programming examples depend on the FP-FNS block used. They can be used for either the FP2-FNS or FP-FNS unit. You can download the function blocks contained in the FNS library free of charge from the Panasonic Electric Works Europe AG Web site.
FNS_InitConfigDataTable Function 5.2 FNS_InitConfigDataTable Function The FNS_InitConfigDataTable function creates a ConfigDataTable from the variable ProcessDataTable. This ConfigDataTable is necessary to configure the FP-FNS block. Make sure that the size of the variable ConfigDataTable corresponds to the structure of the ProcessDataTable, e.g. if the ProcessDataTable consists of three entries, then the ConfigDataTable variable should be an "Array[0..2] of WORD", whose size matches the number of entries.
Programming Examples for FPWIN Pro 5.3 FNS_InitConfigNameTable Function This function creates an array, e.g. configNames1, containing all the names and their addresses of the identifiers declared in the DUT ProcessDataTable. Make sure that the size of the variable ConfigNameTable corresponds to the structure of the ProcessDataTable, e.g.
GetPointer Function 5.4 GetPointer Function The GetPointer function outputs the size, area and offset of the input variable and writes it to the output variable of the type POINTER. Connect the output of this function directly to the respective input of the function block. For more information about the GetPointer function, please refer to the FPWIN Pro online help.
Programming Examples for FPWIN Pro 5.5 Programming Example, FP-FNS Block ProfibusDP After you install the FNS Library, you can start programming. 1. Create the Data Unit Types (DUTs) for inputs and outputs. 2. Create input and output variables of the type of DUT generated in the previous step in the global variable list.
Page 54
Programming Example, FP-FNS Block ProfibusDP Input process data represents data that will be sent to the master. Thus, from the slave's point-of-view, it has to be regarded as output data. Output process data represents data received from the master. Thus, from the slave's point-of-view, it has to be regarded as input data.
Programming Examples for FPWIN Pro Ladder Diagram Body In the ladder diagram body you can see an instance of the FNS_ProfibusDP function block called ProfibusDP, and how the inputs, outputs and configuration data have to be supplied to the function block. 5.5.1 FNS_ProfibusDP Function Block The FNS_ProfibusDP function block configures the FP-FNS block ProfibusDP.
Page 56
Programming Example, FP-FNS Block ProfibusDP Inputs Input Data Type Function bReset BOOL Reset pin; network block will be reset while bReset is set iSlotNo Installation position of the FNS unit iSlaveAddress PROFIBUS slave address. Values from 0 to 125. pInputs POINTER Pointer to the input's process data table pInConfig...
Programming Examples for FPWIN Pro 5.6 Programming Example, FP-FNS Block DeviceNet After you install the FNS Library, you can start programming. 1. Create the Data Unit Types (DUTs) for inputs and outputs. 2. Create input and output variables of the type of DUT generated in the previous step in the global variable list.
Page 58
Programming Example, FP-FNS Block DeviceNet Produced data represents data that will be sent to the master. Thus, from the slave's point-of-view, it has to be regarded as output data. Consumed data represents data received from the master. Thus, from the slave's point-of-view, it has to be regarded as input data.
Programming Examples for FPWIN Pro Ladder Diagram Body In the ladder diagram body you can see an instance of the FNS_DeviceNet function block called DeviceNet, and how the inputs, outputs and configuration data have to be supplied to the function block. 5.6.1 FNS_DeviceNet Function Block The FNS_DeviceNet function block configures the FP-FNS block DeviceNet.
Page 60
Programming Example, FP-FNS Block DeviceNet PLC types: available for FP2/FP2SH and FP. Variables of this function block have to be of one of the following data types: Inputs Input Data Type Function bReset BOOL Reset pin; network block will be reset while bReset is set iSlotNo Installation position of the FNS unit iMacID...
.eds file. Only the data types that are supported in each .eds file can be used. The .eds files from Panasonic Electric Works Europe AG only support one data type for all 32 RPDOs and 32 TPDOs, so please choose the .eds file that best suits your needs. The following .eds files are available at the moment:...
Page 62
Programming Example, FP-FNS Block CANopen FNS_32PDO_INTEGER.EDS, supports the data type integer16 (INT) only FNS_32PDO_64UNSIGNED.EDS, supports the data type unsigned64 only FNSCO4_64IO.EDS, only four RPDOs and four TPDOs are supported If a mixture of data types is used, you can either handle the data in your application program or use the file "FNSCO4_64IO.EDS".
Page 63
Programming Examples for FPWIN Pro Receive PDO represents data received from the master. Thus, from the slave's point-of-view, it has to be regarded as input data. Global Variable List To use the DUTs for further programming and to pass on the process data to an application program declare the following global variable with the type of DUT that was created in the previous step.
Programming Example, FP-FNS Block CANopen Ladder Diagram Body In the ladder diagram body you can see an instance of the FNS_CANopen function block called CANopen, and how the inputs, outputs and configuration data have to be supplied to the function block. 5.7.1 FNS_CANopen Function Block The FNS_CANopen function block configures the FP-FNS block CANopen.
Page 65
Programming Examples for FPWIN Pro Inputs Input Data Type Function bReset BOOL Reset pin; network block will be reset while bReset is set. iSlotNo Installation position of the FNS unit iDeviceAddress CANopen address; values from 1 to 127. pInputs POINTER Pointer to the input's process data table pInConfig POINTER...
Programming Example, FP-FNS Block Profinet IO 5.8 Programming Example, FP-FNS Block Profinet IO After you install the FNS Library, you can start programming. 1. Create the Data Unit Types (DUTs) for inputs and outputs. 2. Create input and output variables of the type of DUT generated in the previous step in the global variable list.
Page 67
Programming Examples for FPWIN Pro One sub-module per module Each slot can carry up to 4 words (64 bits) of data. The FNS_ProfinetIO function block supports up to 64 slots for input and/or output process data. Only the data types that are supported in the GSDML-file (.xml) can be used.
Page 68
Programming Example, FP-FNS Block Profinet IO POU Header In the POU header, all variables that are required for the program are declared. The size of the variables InputsCfg and OutputsCfg must correspond to the number of entries in the DUTs Input and Output.
Programming Examples for FPWIN Pro In the ladder diagram body you can see an instance of the FNS_ProfinetIO function block called Profinet, and how the inputs, outputs and configuration data have to be supplied to the function block. 5.8.1 FNS_ProfinetIO Function Block The FNS_ProfinetIO function block configures the FP-FNS block ProfinetIO.
Page 70
Programming Example, FP-FNS Block Profinet IO Outputs Output Data Type Function sName STRING[16] Name of installed FP-FNS block sBusType STRING[20] Network type of installed FP-FNS block bOnline BOOL Flag for online status bError BOOL Error flag wErrorCode WORD Error code if error flag is set List of error codes for FP-FNS block CANopen Errorcode Indication...
Programming Examples for FPWIN Pro 5.9 Programming Example, FP-FNS Block BACnetIP After you install the FNS Library, you can start programming. 1. Create the Data Unit Type (DUT) for analog values. 2. Create the Data Unit Type (DUT) for binary values. 3.
Page 72
Programming Example, FP-FNS Block BACnetIP In the following picture you can see how the different variables for multistate values can be defined. Input process data represents data that will be sent to the controller. Thus, from the device's point-of-view, it has to be regarded as output data. Global Variable List To use the DUTs for further programming and to pass on the process data to an application program, declare the following global variable with the type of DUT that was created in the...
Page 73
Programming Examples for FPWIN Pro POU Header In the POU header, all variables that are required for the program are declared. The size of the variable AnalogValues and AnalogValuesCfg must correspond to the number of entries in the DUTs Input and Output.
Page 74
Programming Example, FP-FNS Block BACnetIP Ladder Diagram Body In the ladder diagram body you can see an instance of the FNS_BACnetIP function block called BACnet_IP, and how the inputs, outputs and configuration data have to be supplied to the function block.
Programming Examples for FPWIN Pro 5.9.1 FNS_BACnetIP Function Block The FNS_BACnetIP function block configures the FP-FNS block BACnetIP. It has to be supplied with information about the configuration, the input size and network-specific data. If inputs are not used, just leave the corresponding pins unconnected. PLC types: available for FP.
Page 76
Programming Example, FP-FNS Block BACnetIP Input Data Type Function iWatchdogTime_ms Watchdog timeout value for the unit in ms. Valid values from 1 to 32767. 0: default of 700ms. ModuleConfig DUT BACnetIP_DeviceInit Data unit type to configure the module. Outputs Output Data Type Function sName...
Page 77
Programming Examples for FPWIN Pro Error code Indication 16#0090 Error in adi mapping AnalogValue 16#0091 Error in adi mapping BinaryValue 16#0092 Error in adi mapping MultistateValue...
Programming Example, FP-FNS Block BACnet MS/TP 5.10 Programming Example, FP-FNS Block BACnet MS/TP After you install the FNS Library, you can start programming. 1. Create the Data Unit Type (DUT) for analog values. 2. Create the Data Unit Type (DUT) for binary values. 3.
Page 79
Programming Examples for FPWIN Pro In the following picture you can see how the different variables for multistate values can be defined. Input process data represents data that will be sent to the controller. Thus, from the device's point-of-view, it has to be regarded as output data. Global Variable List To use the DUTs for further programming and to pass on the process data to an application program declare the following global variable with the type of DUT that was created in the...
Page 80
Programming Example, FP-FNS Block BACnet MS/TP POU Header In the POU header, all variables that are required for the program are declared. The size of the variables AnalogValuesCfg and AnalogValuesCfg must correspond to the number of entries in the DUTs Input and Output.
Programming Examples for FPWIN Pro Ladder Diagram Body In the ladder diagram body you can see an instance of the FNS_BACnetMSTP function block called BACnet_MSTP, and how the inputs, outputs and configuration data have to be supplied to the function block. 5.10.1 FNS_BACnetMSTP Function Block The FNS_BACnetMSTP function block configures the FP-FNS block BACnet MS/TP.
Page 82
Programming Example, FP-FNS Block BACnet MS/TP If inputs are not used, just leave the corresponding pins unconnected. PLC types: available for FP. Variables of this function block have to be of one of the following data types: Inputs Input Data Type Function iSlotNo Installation position of the FNS unit...
Page 83
Programming Examples for FPWIN Pro List of error codes for FP-FNS block BACnet Error code Indication 16#0000 No error 16#0005 FP-FNS block is not installed correctly 16#0007 FP-FNS block has incorrect provider ID 16#0008 Wrong FP-FNS block installed 16#000A Exception state entered; application watchdog timeout; unit needs resetting 16#0056 Process data area is too large (max.
Dimensions with FNS Blocks and Cables 6.4 Dimensions with FNS Blocks and Cables FP-FNS Block PROFIBUS DP or CANopen, example...
Page 89
Outline Dimensions FP-FNS Block DeviceNet, PROFINET IO or BACnet MS/TP For these modules, how far the cable protrudes from the FNS unit face depends on the cable and connector you choose and how you connect it.
FNS_DeviceNet ......... 58 Index Expansion hook ........14 Expansion Restrictions and Current Limitations ..........9 Accessory connector ......45 Expansion Restrictions for the FP2-FNS Unit ............9 Ambient humidity ........26 Expansion Restrictions for the FPΣ FNS Ambient temperature ......26 Unit ............
Page 92
Index Vibration resistance ........ 26 Weight ............. 26 Wire color ..........41 Wire identity ..........41 Wiring FNS blocks ........41 Wiring method ......... 41 Wiring of the FP-FNS Blocks ....41 Wiring of the FPΣ-FNS Unit ....45...
Page 93
Record of Changes Manual No. Date Description of changes ACGM0160V10END March 2007 First edition Product nos. for FNS units and blocks removed (part nos. ACGM0160V11END May 2007 and product nos. have been harmonized) Addition of CANopen function block for Control FPWIN Pro ...
Page 94
Jungmansgatan 12, 21119 Malmö, Tel. +46 40697-7000, Fax +46 40697-7099, www.panasonic-fire-security.com f Poland Panasonic Electric Works Polska sp. z o.o. Al. Krakowska 4/6, 02-284 Warszawa, Tel. +48 (0) 22 338-11-33, Fax +48 (0) 22 338-12-00, www.panasonic-electric- works.pl f Portugal Panasonic Electric Works España S.A.