Skip to Content
On this page

KEYENCE Nano Host Link

KEYENCE KV Nano Upper Link address reading and writing and status diagnostic driver

Open the plugin

Enter “Development Configuration → Collection Configuration”, create a device and select “KeyenceNanoMaster” 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, Int16, UInt16, Int32, UInt32, Float, 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
PLC station numberDefault: 0; fill in: text input. PLC station number; the multi-branch link connection command uses a two-digit station number from 0 to 99
Use station number when connectingDefault: No; fill in: switch. Use the station number when connecting; after enabling, the CR connection command carries the two-digit station number

Address rules

  • Keyence KV upper link Boolean address: R, CR, MR, LR must use word number. Bit number, such as R10.3; B, VB use hexadecimal number; T, C, CTH, CTC can read contacts.
  • WORD address: DM, CM, TM, VM, EM, FM, ZF, W, Z; R, CR, MR, LR, B, VB packaged view must add .U explicitly, for example, R10.0.U, B10.U.
  • DWORD address: AT, TS, TC, CC, CS; access to the thirty-two-bit current value of T, C, CTH, CTC must explicitly add .D, for example, T1.D.
  • The request ends with CR, and the response must end with CRLF; CR is executed for each connection or reconnection, and CQ is executed before normal disconnection; the common TCP port is 8501.

Special methods

MethodPurposeParameters
ClearErrorAsyncClear CPU errorsNo parameters
ReadPlcTypeAsyncRead PLC modelNo parameters
ReadPlcModeAsyncRead PLC modeNo parameters
SetDateTimeAsyncSet PLC timeDate time
ReadAnnotationAsyncRead device annotationDevice address
ReadExpansionAsyncRead expansion unitUnit number, starting address, WORD quantity
WriteExpansionAsyncWrite expansion unitUnit number, starting address, hexadecimal bytes

Write, start/stop, reset, load, delete or control methods will change the status of field devices. Before execution, confirm that the equipment is in an operable state and prepare for stop or rollback measures.

Device debug

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

KeyenceNanoMaster: Device comments

KeyenceNanoMaster: Expansion units

Functions

FunctionPurpose
Read PLC model and modeUse Read PLC model and mode to inspect mapped values, status, counters, recent messages, or the latest result.
Clear CPU errorsUse Clear CPU errors with an approved test point and confirm site safety before execution.
Set controller timeUse Set controller time with an approved test point and confirm site safety before execution.
Read or monitorRead current values or monitor the latest device update.
Read or monitorRead current values or monitor the latest device update.
Control operationUse Control operation with an approved test point and confirm site safety before execution.

Verify the configuration

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

Writes and control operations require an approved test point and the site safety procedure.

Troubleshooting

  • Use WORD.bit for R/CR/MR/LR bits, .U for packed views, and 32-bit type for T1.D; these are distinct mappings.
  • Special method execution fails: Check method parameters and permissions; control, write or reset methods also need to confirm that the device is in a state that allows operation.
  • 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.