Get segments remaining, Edit response message from instrument, Command response data – West Control Solutions Pro-EC44 User Manual
Page 202

Pro-EC44 2-Loop Graphical Profile Controller & Recorder
Pro-EC44 Product Manual - 59540-1 October 2013
Page 195
Get Segments Remaining
Returns the number of unused segments remaining in the instrument. The number will be
between 0 and 255, depending on how many have been used in the profiles so far created.
Get Segments Remaining - Request (to instrument)
Field Name
Data
Comments
Dec
Hex
Unit Address
A/R
A/R
The ID address of the instrument as required
Function Code
23
17
Requires the multi read/write function
Read Start Address High Byte
32
20
Read Start Address Low Byte
6
6
Read Quantity Of Registers High
0
0
Read Quantity Of Registers Low
1
1
Write Start Address High
32
20
Write Start Address Low
6
6
Write Quantity Of Registers High
0
0
Write Quantity Of Registers Low
1
1
Byte Count
2
2
Command Code High Byte
83
53
Command Code Low Byte
82
52
CRC High Byte
A/R
A/R
CRC Low Byte
A/R
A/R
The instrument replies to this message with an Edit Response Message.
Edit Response Message from Instrument
The instrument replies to each profile or segment creation, edit or delete message with an
Edit Response Message. The same format is used when replying to the Get Segments
Remaining request.
Edit Response Message - Response (from instrument)
Field Name
Data
Comments
Dec
Hex
Unit Address
A/R
A/R
The ID address of the instrument
Function Code
23
17
The multi read/write function
Byte Count
2
2
Command Response High Byte
A/R
A/R Two data bytes containing the Command
Response data (see below)
Command Response Low Byte
A/R
A/R
CRC High Byte
A/R
A/R
CRC Low Byte
A/R
A/R
Command Response Data
The data contained in the Edit Response Message returned after each profile or segment
edit message is shown below. The data seen can be an error code, the number of unused
segments or the profile number following a successful profile header creation/edit.
The error code shown will be as appropriate for the request message and instrument status.