Skip to main content

KeyenceMcAsciiMaster

Purpose

KEYENCE MC is compatible with 3E ASCII address read and write driver

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "KeyenceMcAsciiMaster" 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.
UDPConfirm the local binding address, port and firewall rules, and check the source of the packet.

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

Plugin properties

Protocol parameters

SettingDescription
Network numberDefault: 0; fill in: text input. Network number; the network number used by MC 3E routing
Module station numberDefault: 0; fill in: text input. Module station number; target module station number
Module IO numberDefault: 1023; fill in: text input. Module IO number; target module IO number, default 0x03FF
PLC numberDefault: 255; fill in: text input. PLC number; target PLC number, default 0xFF

Address rules

  • MC 3E ASCII bit device area: X, Y, M, S, L, F, V, B, SM, SB, DX, DY, TS, TC, SS, SC, CS, CC.
  • WORD device area: D, SD, W, SW, R, Z, ZR, TN, SN, CN.
  • WORD area Boolean access must explicitly specify .0 to .15 bit numbers; the bit device area does not accept additional bit numbers.
  • KEYENCE MC ASCII bit device area: X, Y, B use hexadecimal numbers; M, L, SM, TS, TC, CS, CC use decimal numbers.
  • WORD device area: SD, D, R, TN, and CN use decimal numbers; ZR and W use hexadecimal numbers.
  • WORD area Boolean access must explicitly specify a .0 to .15 bit number; no other device distinguished names are provided.

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.

KeyenceMcAsciiMaster debug subpage 1

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