Skip to Content
On this page

XINJE internal-protocol master

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

This list describes types allowed by the plugin editor. Address width, arrays, string length and read/write restrictions still follow this page; it does not mean that every address supports every type.

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.

Device debug

Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.

XinJeInternalMaster: Read/Write

XinJeInternalMaster: Messages

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.

Verify the configuration

Monitor D0 online in the PLC engineering tool, compare its value with the gateway variable and confirm advancing sample times.

Troubleshooting

  • The internal protocol uses 24-bit logical addresses without WORD.bit syntax; do not mix it with XINJE Modbus mode.