Difference between revisions of "Keyence"

From IPLOG
Jump to: navigation, search
(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" |...")
 
 
Line 1: Line 1:
 +
== [[Libraries for IEC 61131-3|Back to Libraries]] ==
 
== KEYENCE library ==
 
== KEYENCE library ==
  

Latest revision as of 09:48, 11 June 2021

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