8
2’s complement
Find the 1’s complements first.
1’s complements: Reverse each binary bit. 0 will become 1 and vice versa.
(Example) If 1000 is converted to binary, it is written as follows.
0000 0011 1110 1000
0
3
E
8 (Hexadecimal)
If the converted value is reversed, it is written as follows.
1111 1100 0001 0111
This is the 1’s complements of 1000.
2’s complements: Add 1 to the 1’s complements.
If 1 is added to the 1’s complements of 1000. it is written as follows.
1111 1100 0001 0111
F
C
1
8 (Hexadecimal)
This is the 2’s complements of 1000, that is -1000.
Step time and Time signal are converted to the minimum unit selected during Step time
unit selection (PC-900 manual p.68), then the values are converted to Hexadecimal figures.
ASCII codes are used for the command.
(Example: Time is represented with Hexadecimal figures as follows)
(Minute:Second)
Time
Decimal number
Hexadecimal figure
15 min. 30 sec.
930 seconds
03A2H
50 min. 40 sec.
3040 seconds
0BE0H
(Hour:Minute)
Time
Decimal number
Hexadecimal figure
1 hour 30 sec.
90 minutes
005AH
15 hours 50 sec. 950 minutes
03B6H
(1) Command
1
Header
: STX (02H) fixed, Start of text
Control code to represent the beginning of the command (text)
ASCII codes are used.
2
Address
: Numbers by which the master discerns each slave.
Instrument number 0 to 94 (00H to 5EH) and Global address
95 (5FH)
The numbers (20H to 7EH) are used by giving 20H of bias.
95 (7FH) is called
Global address
, which is used when the same command
is sent to all the slaves connected. However, a response is not returned.
3
Sub address
: (20H) fixed
4
Command type
: Code to discern Setting command (50H) and Reading command (20H)
5
Data item
: Data classification of the command object
Composed of hexadecimal 4 digits (See pages 13 to 20.)
16
3
In the case of 0: Represents setting items such as Fixed value control parameter,
PID Auto-tuning performance, Attached function
and Auto/Manual control change.
In the case of 1: Represents the Program pattern setting item
In the case of 2: Represents the PID block setting group setting item
In the case of 3: Represents the Wait block setting item
In the case of 4: Represents the Alarm block setting item
In the case of 5: Represents the Output block setting item
In the case of 6: Represents the Time signal block setting item
In the case of 7: Represents the setting items for Number of repeat and Pattern
link designation of program control.
16
2
Represents the setting items for Pattern number (0 to 9) and Block number (0 to F).
16
1
Represents the Step number (0 to 9) setting item
16
0
Represents the setting items in the step or block.
Address
Command
type
Data item
Checksum Delimiter
Header
Sub
address
Data
16
3
16
1
16
0
16
2
16
3
16
1
16
0
16
2
5
4
3
8
1
2
7
6