Download SIMATIC TI575 Task Code - Service, Support

Transcript
Task Code Definition (continued)
TC6B
Read Discrete I/O
Status Using Data
Element Type
TC71
Read Controller
Time of Day Clock
Command:
Response:
Where
Command:
Response:
6B TT JJJJJJ NN [nnnn]
6B II [II] ...
TT =
Data Element Type Identifier (See TC 59)
JJJJJJ =
24 bit offset (first data element is 0)
NN=
=
Number of bits = 1 – 248 [short form]
255 indicates extended count in nnnn
nnnn =
Extended Number of bits. Only included if
NN = 255. (For use with line lengths greater than 72
characters.)
II =
Group of 8 discrete bits. The starting bit identified
by JJJJJJ is the LSB of the first II and increasing
discrete addresses are in increasing bit position
significance. Pattern is repeated in each byte.
Unused bits are cleared if number returned is not a
multiple of 8.
71
71 GGGG HHHH IIII JJ
For GGGG HHHH IIII JJ definition, see Task Code 58.
2-12
Task Code Definitions
TI575 Task Code