SIEMENS AG
ts_read_info
The function ts_read_info supplies informationen on the alarm triggering
station.
The following parameters are transferred:
• • • • EventId
Pointer to a field 16 Bytes long. Information on the alarm triggering station is
entered here.
See Product Description SIMATIC TeleService, FB PG-DIAL.
• • • • MpiAdr
Pointer to a Byte. The MPI address of the alarm triggering station is entered
here.
If no connection is established via the ring indication the function supplies error
number 0336 Hex.
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
C-Adapter
int
ts_read_info (
ts_hang_up_ring
The function ts_hang_up_ring interrupts the connection established by the TS
adaptor.
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
C-Adapter
int
ts_hang_up_ring (void);
Toolbox for Data Link PGs/PCs to SIMATIC S7
void * EventID,
unsigned char * MpiAdr);
69
PRODAVE S7
Need help?
Do you have a question about the SIMATIC S7 and is the answer not in the manual?
Questions and answers