166
8 Host Utilities
Each field identifier is optional and causes the corresponding message field to be set to zero if not present.
All values are entered in hexadecimal format. For example:
M-tc701-i0000-f1d-d23-s00-p0000ffffffff
The following command file sends a reset circuit group message to the first ISUP group, waits for 5 seconds,
then sends a reset group message for group 1.
*
* Example s7_play command file
*
M-tc701-i0000-f1d-d23-s00-p0000ffffffff
*
D-s0005
*
M-tc701-i0001-f1d-d23-s00-p0000ffffffff
The
Send and Wait Message Response function (W)
instructs the module to issue a message and then
wait for a response to that message.
Note:
Care must be taken to ensure that the destination for the response (as set in the -f field) is the
same as the module ID for the s7_play module (as set in the command line); otherwise the
response will not reach the s7_play.
The
Wait Message Response function (P)
causes the module to pause until it receives the specified
message types.
Note:
Care must be taken to ensure that the destination for the response (as set in the -f field) is the
same as the module ID for the s7_play module (as set in the command line); otherwise the
response will not reach the s7_play.
Typical Script
A typical script is as follows:
M-t7680-I0000-f1d-d20-s00-i0000-p2000001d000000
P-t3680
M-t7689-i0000-fef-d20-rffff-s00-p0002 0004 0006 0008 0010
M-t7680-I0000-f1d-d20-s00-i0000-p2000001d0000000000000000
W-t7680-i0000-fef-d20-s00-p200000cf70637337332e64633100
d 2 dst
r 4
rsp_req
e 8
err_info
s 2
status
p
2 to 640 (variable)
param
Field Identifier
Length (in characters)
Message Field