This document describes the FARA N70/700 PLUS communication driver for Xpanel.
Communication is available for the following PLCs: NX7, N70 PLUS, N700 PLUS
Communication Setup: Xpanel
Create a new device | For creating a new device activate the menu [Tools] → [I/O Devices] or the I/O Device Name: Give the device a name. This name will be used in the tag configuration window of the database accompanied by the ‘Station Name’. | |
Select a network type
| I/O Device Name: SAMSUNG FARA N70/700 PLUS After selecting the [Ok] button of the previous step, the ‘Serial Communication Configuration’ dialog box will be popup as shown in the following picture. In this window, select the ‘Device Type’ as ‘SAMSUNG FARA N70/N700 PLUS’ and configure the proper serial communication parameters. Ensure that those parameters are matched with the device’s configuration. See the Communication Configuration section for more information. | |
Create a station | Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel. Each field can be configured with the following rules: | |
Station Name | Give a name to the PLC. This name will be used in the database window accompanied by the ‘Device Name’. | |
Station Type | Choose ‘FARA N70/N700 PLUS’ from the combo box (no other). | |
Network ID | N/A | |
Station No. | Specify an integer between 1 and 190. The PLC station number must match this number. | |
16Bit Data Swap | This option swaps bytes for all word- or double-word-sized data. The following diagram shows an example of byte-swapping: Almost all data types will be influenced by this option except INT8 / UINT8 / BCD8 / UBCD8. | |
32Bit Data Swap | This option swaps words of all double-word-sized data. The following diagram shows an example of word swapping: Tag values with data types INT32 / UINT32 / BCD32 / UBDC32 / FLOAT will be influenced by this option. | |
String Data Swap | Swaps the upper and lower bytes of string word data. | |
Using Checksum | This field has no effect. This driver always uses a BCC checksum. | |
Comm. Error Message Popup | Use a pop-up message when a communication error occurs. |
See the Communication Configuration section for more information about the remaining parameters.
Address & Function Codes
The table below shows the list of valid addresses used with FARA PLCs. The symbol character has to be placed in the first position of the address string. The address number follows the character symbol.
Area | Symbol | Analog Tag | Digital Tag | Remark |
Ext. Input/Output | R | R000 - R127 | R000.0 - R127.15 |
|
LINK | L | L000 - L063 | L000.0 - L063.15 |
|
Internal Relay | M | M000 - M127 | M000.0 - M127.15 |
|
KEEP Relay | K | K000 - K127 | K000.0 - K127.15 |
|
Special internal Output | F | F000 - F015 | F000.0 - F015.15 |
|
Word Register Timer/Counter | W | W000 - W3071 |
|
|
Switch Configuration
PIN No. | Switch | Content | Dip Switch 1 | ||
1 | OFF | Run by stored internal RAM | |||
ON | Run by stored at FLASH ROM | ||||
2 | OFF | RS-232C Communication (IBM-PC) | |||
ON | RS-485 Communication (For Programmer) | ||||
3 | 4 | OFF | OFF | 9600 bps Baud rate | |
ON | OFF | 38400 bps Baud rate | |||
OFF | ON | 19200 bps Baud rate | |||
ON | ON | 4800 bps Baud rate |