Skip to main content

SamCardMaster

Purpose

Resident ID card security module card search, card selection and explicit card reading driver

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "SamCardMaster" 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.

Optional data types: Select by page options

Address rules

  • The SAM ID card security module does not support register variable addresses. Please perform the complete card reading process by reading the module number, checking the module status, finding the card, selecting the card and reading the card dynamically.

Special methods

MethodPurposeParameters
ReadModuleNumberAsyncRead the security module numberNo parameters
CheckModuleStatusAsyncCheck security module statusNo parameters
SearchCardAsyncSearch ID cardNo parameters
SelectCardAsyncSelect ID cardNo parameters
ReadCardAsyncRead ID cardNo parameters

Functions

FunctionPurpose
Read or monitorRead current values or monitor the latest device update.
Read or monitorRead current values or monitor the latest device update.
Search cardUse Search card and review the returned result.
Select cardUse Select card and review the returned result.
Read cardUse Read card to inspect mapped values, status, counters, recent messages, or the latest result.

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.

SamCardMaster debug subpage 1

Debugging notes

Card searching, card selection, and reading summaries may display identity information and require sensitive data permissions and secondary confirmation.

Verify the configuration

  1. Use the plugin-specific debug panel with one confirmed test point or test message.
  2. Confirm that the returned value or received message matches the device point list.
  3. Perform writes or control operations only with an approved test point and the site safety procedure.

Troubleshooting

  • The debug panel shows no result: Check the required inputs and plugin parameters, then inspect the device or target log for a response or error.
  • 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.