Skip to main content

XinJeInternalMaster

Purpose

Xinjie PLC internal TCP protocol 24-bit address read and write driver

Open the plugin

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

Supported channels and data types

Channel typePre-configuration check
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.

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

Plugin properties

Protocol parameters

SettingDescription
Default station numberDefault: 1; Range: 1~247; Fill in: text input. Set the default station number used when the station number is not specified separately in the variable address.

Address rules

  • Xinjie internal TCP bit area: X0 (octal, read-only), Y0 (octal), M0, SM0, T0, C0, and read-only S0, HSC0, ET0, HM0, HS0, HT0, HC0.
  • Xinjie internal TCP WORD area: D0, SD0, TD0, CD0, HD0, FD0, ETD0, HTD0, HCD0, HSD0, and read-only HSCD0, SFD0, ID0, QD0.
  • The address can use s=2;D0 to override the default station number. Logical addresses support twenty-four-bit ranges; the WORD.bit form is not supported.

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.

XinJeInternalMaster debug subpage 1

XinJeInternalMaster 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.