Smarteh LPC-2.CA1 User manual - 3 Operation
Longo programmable controller LPC-2.CA1 special module
3 OPERATION
Operation of the CA1 module is also dependent on parameters received on RS485 communication
channel.
Reader RFID field is active always when 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 short beep, OK LED1 blinks and code is transmitted in iIDW1 - iIDW3 status fields. In
MCU application this code can be read out and authenticated. If code has appropriate rights, MCU
should activate oOK command. If code is not authorized, MCU application should activate oFault
command. Regarding command received, following action are triggered on module:
oOK ==>
OK LED4 blink, short beep.
oFault ==>
FAULT LED3 blink, long beep.
Either command is received or not from MCU application within 10 seconds, module clears iIDNew
status and waits for next RFID tag. While CA1 module is waiting for authorization response, new
RFID tags can not be read.
3.1 Parameters
If parameter is set to logical “1”, is considered to be active, enabled or set. If parameter has
logical value “0” is considered to be inactive, disabled, or cleared.
Parameter can be status or command. Parameter as status means that CA1 module is sending
information to MCU. On the other hand, command represents request from MCU to module.
iComm: Normal state is “0”. If set, there is communication error or no communication established.
iIDNew: When new RFID tag is recognized, this status is set active for 10sec or till authorization
command is received (oOK or oFault).
oBuzz: While this command is active, buzzer is active.
oOK: Command for authorization of RFID code.
oFault: Command for rejecting authorization of RFID code.
oOccup: While this command is active, occupied message LED6 is set.
oDNDist: While this command is active, do not disturb message LED1 is set.
oRServ: While this command is active, room service request LED2 is set.
oSOS: While this command is active, SOS request LED5 is set.
oOkLD: While this command is active, OK LED4 is set.
oFaultLD: While this command is active, fault LED3 is set.
iIDW1: Upper (most significant) third of RFID code
iIDW2: Middle third of RFID code
iIDW3: Lower (least significant) third of RFID code
3