BASIC commands
PROGRAMMING MANUAL
93
Revi
si
on 3.0
/i
3.2.142 HLM_TIMEOUT
/i
Example
>> HLM_COMMAND(HLM_TEST,2,0)
>> PRINT HLM_STATUS PORT(2)
256.0000
A timeout error has occurred.
See also
HLM_READ
,
HLM_COMMAND
,
HLM_TIMEOUT
,
HLS_NODE
,
HLM_WRITE
,
SETCOM
.
Bit
Name
Description
0 - 7
End code
The end code can be either the end code which is defined by
the Host Link Slave (problem in sent command string) or an
end code defined because of a problem found by the Host Link
Master (problem in received response string).
8
Timeout error
A timeout error will occur if no response has been received
within the timeout time. This indicates communication has been
lost.
9
Command not
recognized
This status indicates that the Slave did not recognize the com-
mand and has returned a IC response.
Type
Communication parameter
Syntax
HLM_TIMEOUT
Description
The
HLM_TIMEOUT
parameter specifies the fixed timeout time for
the Host Link Master protocol for both serial ports. A timeout error
will occur when the time needed to both send the command and
receive the response from the Slave is longer than the time speci-
fied with this parameter.
The parameter applies for the
HLM_READ
,
HLM_WRITE
and
HLM_COMMAND
commands. The
HLM_TIMEOUT
parameter is
specified in servo periods.
Arguments
N/A
Example
>> HLM_TIMEOUT=2000
Consider the servo period of the TJ1-MC__ is set to 500 ms
(SERVO_PERIOD=500). For both serial ports the Host Link Master
timeout time has been set to 1 s.
See also
HLM_READ
,
HLM_COMMAND
,
HLM_STATUS
,
HLS_NODE
,
HLM_WRITE
,
SETCOM
SERVO_PERIOD
.
I52E-EN-03.book Seite 93 Freitag, 29. Juni 2007 11:55 11