Specifications
BASIC commands
PROGRAMMING MANUAL 99
Revision 5.0
3.2.144 HLM_TIMEOUT
/i
fig. 27/i
Example >> HLM_WRITE(1,28,PLC_EM,50,25,MC_VR,200)
>> PRINT HEX(HLM_STATUS PORT(1))
1
Apparently the CPU Unit is in RUN mode and does not accept the write oper-
ation.
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.
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 1 ms
(SERVO_PERIOD=1000). For both serial ports the Host Link Mas-
ter timeout time has been set to 2 s.
See also HLM_READ, HLM_COMMAND, HLM_STATUS, HLS_NODE,
HLM_WRITE, SETCOM, SERVO_PERIOD.