Hlm_Timeout - Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual

Hide thumbs Also See for TJ1-MC04 - PROGRAMMING 1:
Table of Contents

Advertisement

BASIC commands
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.
/i
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
This status indicates that the Slave did not recognize the com-
recognized
mand and has returned a IC response.
PROGRAMMING MANUAL

3.2.142 HLM_TIMEOUT

/i
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.
93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents