Keyence

From IPLOG
Revision as of 09:47, 11 June 2021 by Z033 (talk | contribs) (Created page with "== KEYENCE library == === KEYENCE_READ_TRIG === Read value from code reader KEYENCE SR-xxxx. Only start one operation on same device. {| class="wikitable" | colspan="4" |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

KEYENCE library

KEYENCE_READ_TRIG

Read value from code reader KEYENCE SR-xxxx.

Only start one operation on same device.

Asynchronous interface - external implementation through metel-async-relay
in IP_ADDR STRING IP address KEYENCE code reader
in PORT UINT Port, default 9004
in TMO_S UINT Timeout for communication
in WAIT_S UINT Waiting time for read after trig
out CODE_VALID BOOL Log 1 indicate valid read data

Log 0 indicate read timeout. Code not read.

out CODE_VALUE STRING(255) Value
out CODE_DATE STRING Date
out CODE_TIME STRING Time

KEYENCE_RESTART

Restart KEYENCE reader SR-xxxx.

Only start one operation on same device.

Asynchronous interface - external implementation through metel-async-relay
in IP_ADDR STRING IP address KEYENCE code reader default 192.168.100.100
in PORT UINT Port, default 9004
in TMO_S UINT Timeout for communications