Keyence

From IPLOG
Jump to: navigation, search

Back to Libraries

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