2-68 Hardware Installation
NCRPSW/NCRPSL
By default, the NCRPSW/NCRPSL open/close sense setting is Normally Closed.
NCRPSW/NCRPSL cash drawer polarity settings can be configured in three ways:
• through the DAL (Device Abstraction Layer)
• through the configuration file
• through the Device ConfigurationTool
Configuring through the DAL
To change the sense settings in the DAL, set the polarity command.
Normally Open
Switch Polarity
Normally Closed
Switch Polarity
(Default)
Command Code Input Parameter Input Parameter
Terminal Cash
Drawer
AERO_DAL_CMD_
CASHDRAWER_SET_
POLARITY
POLARITY_
HOSPITALITY = 1
POLARITY_
RETAIL = 0
The command echoes back the new polarity. The table below displays the result codes.
Result Code Description
AERO_SUCCESS Valid parameters and successfully set in
configuration.
AERO_ERR_INTERNAL_
ERROR
Failed to set configured polarity to requested polarity.
AERO_ERR_INVALID_P1 Invalid input polarity.
Configuring through the Configuration File
To change the sense settings in the configuration file, go to
..\ncr\aero\config\cashdrawer.factory.json and configure the value of the
following parameters.
Normally Open
Switch Polarity
Normally Closed
Switch Polarity
(Default)
Parameter Name Parameter Value Parameter Value
Terminal Cash Drawer
default 1 0