
3-42
IM 05P07A01-01EN
3.3 Ladder Communication
3.3.2 Configuration of Commands
Commands sent from a PLC consist of the following elements.
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
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
R/W
+/-
Read/write
data
CR
(0D)
LF
(0A)
(1) Address No. (01 to 99)
The address number is used by the PLC to identify which instrument to communicate
with. (ID number of the UTAdvanced)
(2) CPU No.
This number is fixed to 01.
(3) Parameter No.
4-digit BCD data of a D register number with its leading character “D” removed..
(4) 0
This is fixed to 0.
(5) The 5th digit
The digit on the furthest left of the EU or EUS data when it is displayed in 5 digits. (For
example, if the data value is 1234.5, the 5th digit is 1.)
(6) R/W
0: Read
1: Write
(7) +/-
0: Positive data (+)
1: Negative data (-)
(8) Read/write data
For read operation, the number of data items to be read.
For write operation, setting data with a 4-digit BCD value excluding the decimal point.
(9) CR, LF
These control codes mark the end of a command. The character codes for CR and LF
are 0D and 0A in hexadecimal, respectively.
Note
The UTAdvanced displays data in 5 digits. Data that is read / written via communication also
consists of 5 digits. However, if you do not need to use 5-digit data for communication, set the
data display digits of the controller to no more than 4 digits.
Содержание UTAdvanced Series
Страница 17: ...Blank Page...
Страница 77: ...Blank Page...
Страница 285: ...Blank Page...
Страница 325: ...Blank Page...
Страница 467: ...Blank Page...
Страница 557: ...Blank Page...
Страница 825: ...Blank Page...
Страница 861: ...Blank Page...
Страница 863: ...Blank Page...
Страница 865: ...Blank Page...