LSIS Master-K S-Series PLC Enet
This driver supports communication with the LSIS Master-K S-Series Ethernet module (LS).
Note: this driver supports the XpanelDesigner recipe feature.
Communication Setup: Xpanel
Create a new device | To create a new device, select [Tools] → [I/O Devices] or click the icon in the toolbar. The following picture shows the first step in creating a new device. I/O Device Name: Give a device name. This name will be used in the tag database, accompanied by the ‘Station Name’. |
Select a device type
| After selecting the [OK] button in the previous step, the ‘Serial Communication Configuration’ dialog box will appear as shown in the following picture. In this window, set the ‘Device Type’ to ‘LSIS Master-K S-Series Enet’ and configure the remaining communication parameters. These parameters must be matched with the PLC. See the Communication Configuration section for more information. Note: For this driver, the protocol type must be set to ‘UDP’. |
Create a station | Move to the [Station] tab of the ‘Ethernet Communication Configuration’ dialog box. In this dialog box, connected PLC stations can be configured and registered to the Xpanel. Each field can be configured with the following rules. Each field can be configured with the following rules: Station Name: Give a name to the PLC. This name will be used in the tag database, accompanied by the ‘Device Name’. Station Type: Choose ‘Master-K S ’ (this is the only available option). IP Address: Input the PLC’s IP address. Use the decimal/dot format (e.g. “1.2.3.4”). Socket Port No: For UDP, the port number must be 2005. For TCP, the port number must be 2004. Go to the ‘Communication Port’ tab to confirm the protocol (UDP or TCP). See the Communication Configuration section for more information about the remaining parameters. |
Communication Setup: Frame Editor
The following pictures show how to configure the Master K Ethernet module using the LSIS Frame Editor.
From this window, select [Edit] → [Basic Parameters].
IP Address | Input the PLC’s IP address. This must be the same as the address selected in XpanelDesigner’s I/O device configuration. |
Subnet Mask, Gateway | Input the proper values provided by your system network manager. Input the same values as those used by the Xpanel. |
DNS Server | Input the proper value provided by your system network manager. |
Address Notation
The following table shows the address notation to be used within XpanelDesigner:
Type | Format | Example |
Analog | [Symbol][Address] | D064 |
Digital | [Symbol][Address].[Bit Number] | M012.A |
Note that for digital values, the last digit of the address is hexadecimal, and represents a specific bit within a word. The remaining digits (including all digits for analog tags) are decimal, and specify a word. For example, M012A refers to the 11th (A) bit of word 012 in the M device. D064 refers to the word 064 in the D device.
The following table lists the devices which can be referenced within Xpanel:
Symbol | Description | Range (word)(2) | Word Notation | Bit Notation | Type | Read Write |
P | I/O Relay | 1024 | P23 | P23A | Bit/Word | R/W |
M | Auxiliary Relay | 3072 | M23 | M23A | Bit/Word | R/W |
L | Link Relay | 1024 | L23 | L23A | Bit/Word | R/W |
K | Keep Relay | 512 | K23 | K23A | Bit/Word | R/W |
F | Special Relay | 1024 | F23 | F23A | Bit/Word | R |
T | Timer (CV) | 256 | T123 | - | Word | R/W |
C | Counter (CV) | 256 | C123 | - | Word | R/W |
D | Data Reg | 10000 | D123 | D123.A(1) | Bit/Word | R/W |
S | Special Reg. | 100 | S123 | S123.A(1) | Bit/Word | R/W |
Notes:
Specific bits from the D and S registers may be read from the PLC, but cannot be directly written to. To write to specific bits, you must target them via the word that they are in.
Note that addresses begin at 0 and go up to one less than the range. For example, the D register goes from D0000 – D9999, meaning the address D10000 would be invalid.
Supported Functions
The following table shows the available functions for the ‘LSIS Master-K S-Series Enet’ communication driver.
Function | Supported | Description |
Block Data Read | Yes | This function allows multiple words of data to be read from the PLC at once. It is applied when you use the recipe, data bridge, or trends in Xpanel. |
Block Data Write | Yes | This function allows multiple words of data to be written to the PLC at once. It is applied when you use the recipe, data bridge, or trends in Xpanel. |
String Real Tag | Yes | This option treats the device as serialized memory so that you can store Xpanel string data on the PLC. |
Word Swap | No | This function swaps the upper and lower bytes of all word- or double-word-sized data. It is controlled by the 16-Bit Data Swap option (not available for this driver). |
Dword Swap | No | This function swaps the upper and lower words of all double-word-sized data. It is controlled by the 32-Bit Data Swap option (not available for this driver). |