Element Path: <cwt><PAYUNIT><channel>
![]() | When added or removed When the Tick value is changed |
The channel element is used to map the monetary value for each of the pay unit channels in the system. A pay unit can have up to 32 individual channels that are “signalled” when a coin or bill of a certain denomination is inserted. All denominations have individual channels, and in some cases, the same denomination will trigger different channels depending on different tolerances and different production years of coins and bills.
The channel id is mapped to a value that is specified in ticks.
The channel mapping is only used for cash pay units like coin and bill units and do not apply to card pay units.
The coin unit accepts only coins whose channels are listed. |
attributes
id
Value: | 0–31 |
Default: | – |
Description: | The identifier of the channel. |
name
Value: | Any character |
Default: | – |
Description: | Extended name attribute can be set and showed on the collection ticket. |
value
Value: | 0–4294967295 |
Default: | – |
Description: | The value in ticks that correspond to the pay unit channel. |
Example:
Channel set-up for a coin pay unit that triggers channel 0 and 1 for 25-cent coins, channel 2 and 3 for 50-cent coins, channel 4 for 1-dollar coins and channel 5 for 2-dollar coins. The system tick factor is 100:
The coin unit accepts only those coins that corresponds to channel 0-5. Any coin that is recognized by a channel 6 or higher is not accepted as no definition is given.
<PAYUNIT name="Coin" type="Coin">
<channel id="0" value="25"/>
<channel id="1" value="25"/>
<channel id="2" value="50"/>
<channel id="3" value="50"/>
<channel id="4" value="100"/>
<channel id="5" value="200"/>
</PAYUNIT>