Skip to main content

LsisMaster

Purpose

LSIS Cnet and Fast Ethernet PLC address read and write driver

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "LsisMaster" in "Collection Plugin".

Supported channels and data types

Channel typePre-configuration check
Serial PortConfirm that the serial port is not occupied by other programs and maintains the same baud rate, data bits, stop bits and parity bits as the device.
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.
TCP serverConfirm that the local listening address and port are available, and allow on-site devices to actively connect to the gateway.

Optional data types: Boolean, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Float, Double, String

Plugin properties

Protocol parameters

SettingDescription
Line protocolDefault: 0; fill in: drop-down selection. wire protocol; Cnet supports serial port, TCP client and TCP server sessions; Fast Ethernet only supports TCP client
Cnet station numberDefault: 5; fill in: text input. Cnet station number; range is 00H to 1FH, default 05H
CPU seriesDefault: 160; fill in: drop-down selection. CPU family; target CPU family code to write Fast Ethernet request header
Module base numberDefault: 0; fill in: text input. Module base number; the base where the Fast Ethernet communication module is located, ranging from 0 to 15
Module slot numberDefault: 3; fill in: text input. Module slot number; the slot where the Fast Ethernet communication module is located, ranging from 0 to 15
Company logoDefault: LSIS-XGT; fill in: text input. Company logo; eight printable ASCII characters used in Fast Ethernet frame headers

Address rules

  • LSIS PLC equipment area: P, M, L, K, F, T, C, D, S, Q, I, N, U, Z, R.
  • Boolean must use an explicit X-bit address, such as MX103 or MX10.3, with the last bit interpreted as hexadecimal 0 to F.
  • Non-Boolean addresses use B, W, D, L widths, such as MB100, DW100, DD100, DL100; when the width is omitted, it is interpreted as a WORD address, for example, D100 is equivalent to DW100.
  • Non-Boolean U-area topological addresses accept Uhex.decimal or Udecimal.decimal.decimal, and I/Q-area topological addresses accept three decimal components; topological bit addresses are not currently supported.
  • Cnet supports serial port, TCP client and TCP server sessions; Fast Ethernet only supports TCP client, and the commonly used port is 2004.
  • The CPU direct connection dedicated serial port reference behavior does not form a trusted complete write contract, and the current version does not replace Cnet with this mode.

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Device debug

Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

Dedicated debugging page

Open Development Configuration → Collection Configuration, select the device, and open More Functions → Debug. The following image shows the plugin-specific debug page.

LsisMaster debug subpage 1

LsisMaster debug subpage 2

Verify the configuration

Use a confirmed on-site address to perform reading. The return value, data type and byte order should be consistent with the point list; after the writable point is written, it should be read back according to on-site requirements.

Troubleshooting

  • Address reading failed: Check the station number, register or node ID one by one according to the address rules on this page, and confirm that the data type is consistent with the device point list.
  • The serial port device does not respond: Confirm that the serial port is not occupied, and check the baud rate, data bits, stop bits and parity bits.