15 Ethernet interface
14.5.15.Service request
See the explanations about the structure of status data.
HEADER |
| PARAMETERS |
| EXAMPLES |
SRQ_ENABLE | P1 |
|
| SRQ_ENABLE 3 |
| Allows to modify the alarm enable register |
|
| |
| P1 = register value |
|
| 3 = 1 + 2 (bits 0 and 1) |
|
|
|
| Start and End of plot events are |
|
|
|
| authorized to be indicated in the status |
|
|
|
| byte register (bit 0). |
| bit | decimale value | use |
|
| 0 | 1 | start of plot |
|
| 1 | 2 | end of plot |
|
| 2 | 4 | end of write |
|
| 3 | 8 | no more paper |
|
| 4 | 16 | door open |
|
| 5 | 32 | start of memory record |
|
| 6 | 64 | end of memory record |
|
| 7 | 128 | trigger of memory record |
|
SRQ_ENABLE ? | Returns the value of the alarm enable register |
|
| |
SRQ_TYPE ? | Returns the value of the alarm status register. |
| SRQ_TYPE ? | |
| The register is cleared. |
| the recorder returns : SRQ_TYPE 4 | |
| Each bit of this value is identical to the previously defined bit in | so "a write operation is completed" | ||
| SRQ_ENABLE. |
|
|
|
14.6.Error messages
Error N | Explanation |
1 | Unknown header |
2 | Unknown parameter |
3 | Prohibited parameter |
4 | Missing parameter |
5 | Incorrect parameter separator |
6 | Incorrect message separator |
7 | Too long word |
8 | Incorrect format of text parameter |
9 | Prohibited query |
10 | Numerical parameter out of limits |
11 | Text parameter out of limits |
12 | Obligatory query |
13 | Transmission buffer full |
14 | Not possible in this contexte |
15 | Checksum error |
When a problem arouses in the programming via the interface of the recorder, a Debug window is displayed on screen to help you identify your error:
Each error is associated with a line that shows:
-an error number
-the received message
When the window is full, the errors are displayed again from the 1st line on. The last line is followed by a blank line.
Page 20