47
7
OPTION
47
OP
TION
Chapter
7
12 (0x0C) Get comm event log
This function is to read the event conditions from each slave.
The contents of status and event counter are the same as status 11 (Get comm event counter). The
message count is the same as subfunction 11 (Return bus message count) of status 08. As events, 64
byte conditions in which the slave receives and sends messages are held.
The most recent condition of events always comes at the 0th byte, and if 64 is exceeded, they are
discarded in the order of their occurrence.
The details of events will be defined later.
*N = Number of (3×2)
Example) Read the event conditions.
The example shows the event counter 264 (0x0108), message count 289 (0x0121), and not-busy
state (0x0000). The events indicate as follows: since the most recent condition of events is
11000000 (0xC0) and bit 6 is "1," broadcast has been received; and since the one-time-old event
is 00, the slave has received Communications restart.
[Request]
Function
1
byte
0x0C
[Response]
Function
1
byte
0x0C
Byte count
1
byte
N *
Status
2
byte
s
0x0000
Event counter
2
byte
s
0x0000 - 0xFFFF
Message count
2
byte
s
0x0000 - 0xFFFF
Event counter
N
byte
s
0 - 64 (number of events)
[Error response]
Error code
1
byte
0x8C (fu 0x80)
Exception code
1
byte
01
[Request]
Function
0C
[Response]
Function
0C
Byte count
08
Status; higher
00
Status; lower
00
Event counter; higher
01
Event counter; lower
08
Message count; higher
01
Message count; lower
21
Event 0
C0
Event 1
00
Содержание F331
Страница 1: ...OPERATION MANUAL 26MAY2014REV 1 02 DIGITAL INDICATOR F331 ...
Страница 79: ...70 8 SPECIFICATIONS 70 SPECIFICATIONS Chapter 8 8 2 Dimensions Unit mm ...
Страница 80: ...71 8 SPECIFICATIONS 71 SPECIFICATIONS Chapter 8 When the BCD output option is equipped Unit mm ...
Страница 81: ...72 8 SPECIFICATIONS 72 SPECIFICATIONS Chapter 8 When the D A converter option is equipped Unit mm ...
Страница 82: ...73 8 SPECIFICATIONS 73 SPECIFICATIONS Chapter 8 When the RS 485 option is equipped Unit mm ...
Страница 83: ...74 8 SPECIFICATIONS 74 SPECIFICATIONS Chapter 8 When the RS 232C option is equipped Unit mm ...