Chapter 8 Logic Instructions
8-241
8_
8.14.3.3
RS485_Link_Status
FB/FC
Explanation
Applicable model
FB
RS485_Link_Status is used to watch if an error occurs in the 485 link
which the number corresponds to or if the slave replies with error codes.
DVP15MC11T
DVP15MC11T-06
R S485_Link_Status
Enable
RS485_Link_Status_instance
LinkNum
Valid
R S485_Link_Error
RS485_Link_ErrorID
Error
ErrorID
Input Parameters
Parameter
name
Function
Data type
Valid range
(Default)
Validation
timing
Enable
The instruction is validated when
Enable
changes from FALSE to
TRUE.
BOOL
TRUE or FALSE
(
FALSE
)
LinkNum
The number of the link to be watched.
UINT
1~24
(The variable value
must be set)
When
Enable
changes from
FALSE to TRUE
Output Parameters
Parameter name
Function
Data type
Valid range
Valid
TRUE when the outputs of the instruction are valid.
BOOL
TRUE / FALSE
RS485_Link_Error
TRUE when an error occurs in the corresponding
link. It is valid when
Error
is FALSE.
BOOL
TRUE / FALSE
RS485_Link_ErrorID
Outputs communication error code. See error codes
and their meanings as below:
1: Unidentified function code
2: The address in the response message from the
slave is different from the configured address.
3: The length of received data in the response
message from the slave is inconsistent with the
configured length.
4: Data-receiving timeout
5: Checksum error
6: The configured lengths of data to be read and
written are both 0.
7: The length of the data that is actually received
exceeds the max. received data length.
8: Data-sending timeout
16#80+ exception code: the exception code from the
slave
WORD
Error
TRUE when an error occurs in the instruction inputs.
BOOL
TRUE / FALSE
ErrorID
Contains error codes when an error occurs in the
instruction execution. Please refer to section 12.2 for
the corresponding error code.
WORD
Output Update Timing
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...