Longo programmable controller LPC-2.CR2
4 OPERATION
Operation of t e CR2 module is also dependent on parameters received on RS-485 communication
c annel.
Reader RFID field is active always w en module is powered up. If tag is put inside RFID field, reader
tries to resolve RFID tag code. If code is read successfully, module activates status iIDNew,
generates a s ort beep, OK LED1 blinks and code is transmitted in iIDW1 - iIDW3 status fields. In
main module application t is code can be read out and aut enticated. If code as appropriate
rig ts, main module s ould activate oOK command. If code is not aut orized, main module
application s ould activate oFault command. Regarding command received, following action are
triggered on module:
oOK --> OK LED2 blink, s ort beep.
oFault --> Fault LED1 blink, long beep.
Eit er command is received or no command is received wit in 10 sec, module clears iIDNew status
and waits for next RFID tag. W ile CR2 module is waiting for aut orization response, new RFID tags
can not be read.
4.1 Parameters
If parameter is set to logical “1”, is considered to be active, enabled or set. If parameter as
logical value “0” is considered to be inactive, disabled, or cleared.
Parameter can be feedback or command. Parameter as feedback means t at CR2 module is sending
information to main module. On t e ot er and, command represents request from main module to
module.
Command:
ID Fault [oFault]: Command for rejecting aut orization of RFID code.
ID OK [oOk]: Command for aut orization of RFID code.
uzzer [oBuzz]: W ile t is command is active, buzzer is active.
'Fault' ID LED [oFaultLD]: W ile t is command is active, fault LED1 is set.
'OK' ID LED [oOkLD]: W ile t is command is active, OK LED2 is set.
Card Type Selection [oSelTyp]: 0 Emarine; 1 itag.→ →
Feedback:
RFID ID receiv. Word1 (s) [iDW1]: Upper (most significant) t ird of RFID code.
RFID ID receiv. Word2 (s) [iDW2]: Middle t ird of RFID code.
RFID ID receiv. Word3 (s) [iDW3]: Lower (least significant) t ird of RFID code.
New ID [iIDNew]: W en new RFID tag is recognized, t is status is set active for 10sec or till
aut orization command is received (oOK or oFault).
Communication [iComm]: Normal state is “0”. If set, t ere is communication error or no
communication establis ed.
'Up-right' T [iUp TB]: signal from button located up-rig t corner (t is button is disabled
by default and can be enable in EPROM).
'Up-left' T [iUpLTB]: signal from button located up-left corner (t is button is disabled by
default and can be enable in EPROM).
4