Omron G3ZA - MANUAL 2 User Manual page 37

Multi-channel power controller
Hide thumbs Also See for G3ZA - MANUAL 2:
Table of Contents

Advertisement

Frame Configuration
BCC Calculation Example
Note
End Codes (CompoWay/F Communications)
End code
Name
"0F"
FINS command error The specified FINS command could not be executed.
"10"
Parity error
"11"
Framing error
"12"
Overrun error
"13"
BCC error
"14"
Format error
"16"
Sub-address error
"18"
Frame length error
"00"
Normal completion
20
STX
This code indicates the beginning of the communications frame.
Always set 02H.
Unit. No.
• Set the unit number that is set on SW1 on the front of the G3ZA.
• No response will be received if another unit number is set.
Sub-address and
Not used by the G3ZA. Always set to 0.
SID
FINS-mini
This text is the command. For details, refer to 3-6 Operation
command text
Command on page 25.
ETX
This code indicates the end of the communications frame.
Always set to 03H.
BCC
This stores the result of the BCC calculation from the Unit No. to
EXT.
STX
Unit No.
Sub-address SID
02H 30H
30H
30H 30H 30H 30H
BCC
=
30H 30H 30H 30H 30H 30H
:
XOR (exclusive OR) calculation
No response will be returned unless the frame contains all elements up to the
ETX and BCC.
Description
The OR of 1 bits in received data does not match the set-
ting for the communications parity.
Stop bit is "0".
The next data was received when the reception data buffer
was full.
The calculated BCC value is different from the received
BCC value.
The FINS-mini command text contains characters other
than 0 to 9 and A to F. For details on the echoback test,
refer to 3-9 Echo-back Test on page 28.
SID and the FINS-mini command text are not included.
The sub-address is not included.
The received frame exceeds the required number of bytes. 4
Command processing was completed normally.
■ End Code Example
When the Sub-address, SID, and FINS-mini Command Text Are Not Included
• Command
STX
Unit No.
ETX
02H
0
1
03H
• Response
Subaddress
STX
Unit No.
02H
0
1
0
The sub-address is "00" and the end code is "16" (sub-address error).
ETX BCC
FINS-mini command text
35H 30H 30H 03H 36H
35H
30H 30H
03H = 36H
BCC
End code
ETX
BCC
0
1
6
03H
Section 3-2
Error detection priority
8
2
1
3
5
7
6
None

Advertisement

Table of Contents
loading

Table of Contents