Network Instructions
Note
Example
• Storing Data from the Rightmost Byte (Bits 12 to 15 of C = 8 hex)
Example: Storing the value 1234 hex in D+3
The data in the frame is in the order 34
Frame
34
In this case, 1234 hex is
stored from the
rightmost byte in the
order 34
12.
15
D+3
1
2
2. Data in 4-byte Units
• Storing Data from the Leftmost Byte (Bits 12 to 15 of C = 0 hex)
Example: Storing the value 12345678 hex in D+3 and D+4
The data in the frame is in the order 78
Frame
In this case, 12345678 hex is
stored from the leftmost byte in
the order 78
56
34
12.
D+3
D+4
• Storing Data from the Rightmost Byte (Bits 12 to 15 of C = 8 hex)
Example: Storing the value 12345678 hex in D+3 and D+4
The data in the frame is in the order 78
Frame
78
In this case, 12345678 hex is
stored from the rightmost byte in
the order 78
56
34
12.
15
D+3
D+4
The examples above only show the storage of received data in D+3, but send
data is stored in S+6 in the same way.
In this example, EXPLT(720) is used to read the total ON time or number of
contact operations from a DRT2 Slave (I/O Terminal).
Communications Port
Enabled Flag (Port 6)
A202.06
0.00
When CIO 0.00 and A202.06 (the Communications Port Enabled Flag for port
06) are ON, EXPLT(720) reads the Total ON Time (s) or Number of Contact
Operations from a DRT2 Slave (I/O Terminal). In this case, the Total ON Time
or Number of Contact Operations for input 3 are read.
Service Code = 0E hex, Class ID = 09 hex, Instance ID = 03 hex, and Attribute
ID = 66 hex.
For example, a value of 2,752,039 s is returned as the response for the Total
ON Time.
12.
12
08 07
00
3
4
56
34
12.
78
56
34
12
15
08 07
00
7
8
5
6
3
4
1
2
56
34
12.
56
34
12
08 07
00
5
6
7
8
1
2
3
4
EXPLT
S
D000
D
D100
C
D200
Section 3-24
889
Need help?
Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?
Questions and answers