Panasonic FP Serial Driver for JMobile This document contains the information needed to connect the panel to control devices using the Panasonic FP standard protocol over a serial communication link. Exor International S.p.A. Ptn0407 Ver. 1.02
Copyright 2011-2015 Exor International S.p.A. Verona, Italy Subject to change without notice The information contained in this document is provided for informational purposes only. While efforts were made to verify the accuracy of the information contained in this documentation, it is provided as is without warranty of any kind. Third-party brands and names are the property of their respective owners. www.exorint.net Panasonic FP Serial Driver for JMobile 2
Contents Panasonic FP Driver... 4 Protocol Editor Settings... 5 Tag Import... 7 Communication Status... 10 Panasonic FP Serial Driver for JMobile 3
Panasonic FP Driver The operator panels can be connected to a Panasonic FP PLC as the network master using this communication driver. This driver has been designed for connection to the programming port of the PLC. Please note that changes in the communication protocol specifications or PLC hardware may have occurred since this documentation was created. Some changes may eventually affect the functionality of this communication driver. Always test and verify the functionality of your application. To fully support changes in PLC hardware and communication protocols, communication drivers are continuously updated. Always ensure that the latest version of communication driver is used in your application. Document code ptn0407 Version 1.02 Panasonic FP Serial Driver for JMobile 4
Protocol Editor Settings Tech-note Add (+) a driver in the Protocol editor and select the protocol called Panasonic FP from the list of available protocols. The driver configuration dialog is shown in the following figure. Node ID PLC Models Comm Figure 1 Node number of the slave device The list allows selecting the PLC model you are going to connect to. The selection will influence the data range offset per each data type according to the specific PLC memory resources. Recalls the serial port configuration parameters as shown in the figure below. Port Figure 2 Serial port selection. COM1 is the PLC port. COM2 is PC/Printer port on panels with two serial ports or refers to the optional Plug-In module plugged on Slot 1 (or 2) for panels with one serial port on-board. COM3 refers to the optional Plug-In module plugged on Slot 3 (or 4) for panels with one serial port on-board. Panasonic FP Serial Driver for JMobile 5
Baud rate Parity Data bits Stop bits Mode PLC Network Communication parameters for serial communication Serial port mode. Available options: RS-232, RS-485 (2 wires) RS-422 (4 wires) The protocol supports connection to multiple controllers. To enable this, check the "PLC Network" check box and provide the configuration per each node. Figure 3 Panasonic FP Serial Driver for JMobile 6
Tag Import The Panasonic FP driver supports the Tag Import facility. The symbol file can be exported by the controller programming software FPWIN. In FPWIN menu, click on Project > Export > Variables as CSV file, then you can choose if you want to export only the Global variables or All project variables. Figure 4 If you choose to export only the Global variables, FPWIN will show the window of the following picture that allow to customize the elements of the exported csv file. Panasonic FP Serial Driver for JMobile 7
Figure 5 Then, in the Export to file window, choose the CSV file (Unicode) format. Figure 6 Panasonic FP Serial Driver for JMobile 8
Select the driver in the Tag Editor and click on the Import tag button to start the importer. Figure 7 Locate the.csv file and confirm. The tags present in the exported document are listed in the tag dictionary from where they can be directly added to the project using the add tags button as shown in the following figure. Figure 8 Note: when importing the array data types, the importer is expanding them creating individual tags per each array element. Panasonic FP Serial Driver for JMobile 9
Communication Status Tech-note The current communication status can be displayed using the dedicated system variables. Please refer to the User Manual for further information about available system variables and their use. The codes supported for this communication driver are: Error NAK Timeout Line Error Invalid response General Error Notes Returned in case the controller replies with a not acknowledge Returned when a request is not replied within the specified timeout period; ensure the controller is connected and properly configured to get network access Returned when an error on the communication parameter setup is detected (parity, baud rate, data bits, stop bits); ensure the communication parameter settings of the controller is compatible with panel communication setup The panel did receive from the controller a response, but its format or its contents is not as expected; ensure the data programmed in the project are consistent with the controller resources Error cannot be identified; should never be reported; contact technical support Panasonic FP Serial Driver for JMobile 10