Instruction manual

6
5.4 Contents of the command
Notes on the setting command and reading command
• It is possible to set the setting value by setting command of the communication function
even if the setting value is locked.
• Although the options are not applied, setting the optional items is possible by the setting
command. However, they will not function.
• The memory can store up to 1,000,000 (one million) entries.
If the number of setting times exceeds the limit, it cannot memorize the data. So frequent
transmission via communication is not recommended.
• When connecting plural slaves, the address (instrument number) must not be duplicated.
• When sending a command by Global address [95 (7FH)], the same command is sent to all the
slaves connected. However, the response is not returned.
• The instrument number and communication speed of the slave cannot be set by communication.
Setting command
• The settable range is the same as the one by keypad operation.
For communication command, refer to the communication command table of this manual.
• All commands are composed of ASCII.
• The data (setting value, decimal) is converted to hexadecimal figures, and ASCII is used.
Negative numbers are represented by 2's complement. When the data (setting value) has
a decimal point, the whole number without a decimal point is used.
Reading command
• All commands are composed of ASCII.
• The data (setting value, decimal) is converted to hexadecimal figures, and ASCII is used.
Negative numbers are represented by 2's complement. When the data (setting value) has
a decimal point, the response is returned as a whole number without a decimal point.
5.5 Command example
(1) Reading (Address 1, PV)
• Reading command from the master
(Fig. 5.5-1)
• Response from the slave in normal status [When PV=25
(0019H)]
(Fig. 5.5-2)
(20H)
(30H 30H 38H 30H)
11 1
4
1
Command
type (20H)
Data item
Header
(06H)
Sub
address
(20H)
Address
4
Number of characters
1
Checksum
(30H 30H 31H 39H)
(30H 45H)
Delimiter
(03H)
2
Data
(20H)
(30H 30H 38H 30H) (44H 38H)
11 1
4
1
Command
type (20H)
Data item
Checksum
Header
(02H)
Sub
address
(20H)
Address
Delimiter
(03H)
21
Number of characters
20H
20H
50H
31H
31H
31H
30H
30H
32H
35H
38H
0010 0000
0010 0000
0101 0000
0011 0001
0011 0001
0011 0001
0011 0000
0011 0000
0011 0010
0011 0101
0011 1000
+
10 0010 0010
[Hexadecimal] [Binary]
1101 1101
1
+
1101 1110
DE
44H
45H
[1's complement]
[2's complement]
[Hexadecimal]
[ASCII]
Checksum
STX ETX
P11100258
02H 20H 20H 50H 31H 31H 31H 30H 30H 32H 35H 38H 03H
[Characters above are represented by ASCII]
Checksum
Checksum calculation range
[e.g.]
D
44H 45H
E