Using FDL
69
8.3 FDL SAPs
You can enable up to four Service Access Points (SAPs) on the scanner. You
enable SAPs from the serial port, using the ‘SAPBlk’ command. The syntax
is:
SAPBlk <blk> <sap>
where <blk> is the block number, 0 to 3
and <sap> is the SAP number, 0 to 63.
To disable all SAPs, use the ‘ClrSap’ command.
SAPs are used to receive FDL messages from remote stations.
When the scanner receives an update on a configured SAP, it sets the
corresponding bit in input word I:31 and sends reply data if you have set up
reply data.
You acknowledge the SAP update by setting the corresponding bit in output
word O:31.
Setting the SAP indication ACK bit tells the scanner to clear the SAP
indication update bit in the input word and also transfers the current reply
data from the area in the M0 file for this SAP block to the area the scanner
uses to send a reply the next time the SAP is updated.
Important: In order for the scanner to have reply data when the SAP is first
updated, you must set the SAP indication ACK bit for the SAP block when
your program starts.
When the scanner clears the SAP indication update bit in the input word, your
application should clear the SAP indication acknowledge bit.
SAP block 0123
SAP indication update0123
SAP block 0123
SAP indication ACK 0123