
3-45
IM 05P07A01-01EN
Description of RS-485 Communication (for UT
Advanced with RS-485 Communication)
3
Writing Data
Shown below are the configurations of commands and responses when data is written to
a UTAdvanced from the PLC.
Command
Number of
Bytes
1
1
2
1
1
2
1
1
Number of
BCD digits
2
2
4
1
1
1
1
4
2
2
Element
Address
No.
CPU
No. (01)
Parameter
No.
0
5th
digit
1
+/–
dddd
CR
LF
Response
Number of
Bytes
1
1
2
1
1
2
1
1
Number of
BCD digits
2
2
4
1
1
1
1
4
2
2
Element
Address
No.
CPU
No. (01)
Parameter
No.
0
5th
digit
1
+/–
dddd
CR
LF
3.3.5 Response Error Codes
The PLC may receive the following responses in the event of error.
Response in the Event of Error
Error condition
Data sent from PLC
Data PLC receives
A non-existing parameter number was
sent.
0101
0000
0000 0001 CRLF
0000: The wrong parameter
number.
0101 0000 0000
FFFF
CRLF
FFFF: Returned.
Characters other than BCD codes
were used in an element other than an
address number.
0101 0123 0000
000B
CRLF
0101 0123
000B
0000 CRLF
0101 0123
0B00
0000 CRLF
0101
012B
0000 0000 CRLF
0101
FFFF FFFF FFFF
CRLF
An LF code (0A) was used in an element
other than an address number.
0101 0123 0000 00
0A
CRLF
0101 0123 00
0A
0000 CRLF
0101 0123
0A
00 0000 CRLF
0101 01
0A
0000 0000 CRLF
No response
Specified address number or CPU
number does not match any of the
controllers connected.
01
03
0123 0000 0000 CRLF
00
01 0123 0000 0000 CRLF
No response
The write data was outside the range.
0101 0123 0011
9999
CRLF
9999: The data outside the range.
0101 0123 0011
0050
CRLF
0050: The current setting of the
parameter.
Wrong command length.
(Command length is 10 bytes including
CR and LF codes.)
0101 0123 0000
00
CRLF
0101 0123
00
0000 CRLF
0101
0
0000 0000 CRLF
No response
A timeout occurred when sending data.
(Timeout: 5 seconds)
_
No response
Send buffer overflowed.
(The buffer capacity is 512 bytes.)
_
No response
A framing error or a parity error occurred.
_
No response
Note
If you try to read data of a parameter number that is not in the D register table, or that
corresponds to a vacant cell in that table, no error occurs and 0 is returned.
► D registers :
Chapter 6 Functions and Applications of D Registers (for UT55A/UT52A/UP55A)
Chapter 8 Functions and Applications of D Registers (for UT35A/UT32A/
UT32A-D/UP35A/UP32A)
Chapter 10 Functions and Applications of D Registers (for UM33A)
Chapter 12 Functions and Applications of D Registers (for UT35A-L)
Chapter 14 Functions and Applications of D Registers (for UT75A)
3.3 Ladder Communication
Summary of Contents for UTAdvanced Series
Page 17: ...Blank Page...
Page 77: ...Blank Page...
Page 285: ...Blank Page...
Page 325: ...Blank Page...
Page 467: ...Blank Page...
Page 557: ...Blank Page...
Page 825: ...Blank Page...
Page 861: ...Blank Page...
Page 863: ...Blank Page...
Page 865: ...Blank Page...