Download CAAPE User`s Manual

Transcript
Simulator Reference
13.4.3
Non-Vital Serial Indication Transmit Functions
These functions allow the user to transmit data from the specified non-vital serial
indication, whether or not indication data has actually changed. They can be used in
protocols where data transmission is controlled by the application, for example through a
special message bit.
Function: XMIT_NVSER_ADDR( port, address, check_address_bits )
Transmit the data in the indication specified by its serial port and address.
•
port is the serial port from 1 to max.
•
address is a string giving the message address.
•
check_address_bits is TRUE if the number of address bits is significant.
For example:
* Transmit the indication with address 00110 on port 3:
CALL XMIT_NVSER_ADDR( 3,"00110",TRUE )
Function: XMIT_NVSER_POSN( port, position )
Transmit the data in the indication specified by its serial port and position.
•
port is the serial port from 1 to max.
•
position is the zero-based position of the message.
For example:
* Transmit the second indication on port 3:
CALL XMIT_NVSER_POSN( 3,1 )
P2512A, Rev. J, Aug/15
13-22
Alstom Signaling Inc.