Chapter 2
2-7
CompoWay/F Communications Procedures
2-2 Structure of Command Text
■ PDU Structure
• An MRC (Main Request Code) and SRC (Sub-Request Code) followed by the various required data
are transferred in the command text field.
Service Request PDU
• The MRES (Main Response Code) and SRES (Sub-Response Code) are transferred in the
response frame following the MRC and SRC. Data is then transferred following the MRES and
SRES.
Service Response PDU (Normal Response)
• If the specified command text could not be executed, the service response PDU will contain only
the MRC, SRC, MRES, and SRES.
MRES and SRES will provide a response code other than a code for normal completion.
■ Area Definitions
Only the variable area is used.
■ Type Code (Variable Type)
The following tables show the variable area type codes.
The following table summarizes setup areas 0 and 1.
Area Description
Setup area 0 This area groups together the RUN Mode and Adjustment Mode.
Setup area 1 This is the area for the Initial Settings Mode.
MRC SRC Data
MRC SRC MRES SRES Data
MRC SRC MRES SRES
Variable type (1 byte)
MSB LSB
11 0000
Access size
11: Double word
Area
0: Setup area 0
1: Setup area 1
Read/Write
0: Read only
1: Read/Write