Longo programmable controller LPC-2.CH1M
3 OPERATION
Operation of the CH1M module is also dependent on parameters received on RS-485 communication
channel.
If RFID card is inserted into slot, reader tries to resolve RFID tag code. If code is read successfully,
module activates status iIDNew and sends RFID code in iIDW1-iIDW7 status fields. Code is send out
until key-card is removed from slot.
While iIDNew status is active and oOK or oFault is activated, corresponding LED is turned on. (LED3
OK or LED4 fault respectively). This state is sustained until key-card is removed.
Each press on a PB1 or PB2 toggles status iDNDist or iRServ respectively. By activating commands
oOkLD, oFaultLD oDNDist, oRServ corresponding LED is turned-on (LED3, LED4, LED1, LED2).
CH1M module LED's intensity can be adjusted from main module application also. By default their
intensity is set to 75%. While oEnInts status is active, LED's intensity can be adjusted by changing
oLdInts parameter.
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 CH1M module is sending
information to main module. On the other hand, command represents request from main module to
module.
iComm: Normal state is “0”. If set, there is communication error or no communication established.
iIDNew: When new RFID tag is recognized while inserted into CH1M slot, this status is set active till
RFID card is not removed from the CH1M slot.
iDNDist: Active status denotes user has requested “do not disturb” message to be displayed - LED1
iRServ: Active status denotes user has requested “room service” message to be displayed - LED2
oBuzz: While this command is active, buzzer is active.
oOK: Command for authorization of RFID code.
oFault: Command for rejecting authorization of RFID code.
oDNDist: Command for activation of “do not disturb” message, do not disturb LED1 is toggled
oRServ: Command for activation of “room service” request, room service request LED2 is toggled
oOkLD: While this command is active, OK LED4 is set.
oFaultLD: While this command is active, fault LED3 is set.
oEnInts: Enables changing LED's intensity together with oLdInts value.
oLdInts: Command for setting LED intensity. Only valid while oEnInts active.
iIDW1: Upper (most significant) third of RFID code (UID0, UID1)
iIDW2: Middle third of RFID code (UID2, UID3)
iIDW3: Middle third of RFID code (UID4, UID5)
iIDW4: Lower (least significant) third of RFID code (UID6, UID7)
3