2. Object index
Interbus-S
54
2.11 Programming
2.11.1
N
Reading and writing the program memory with command records in plain text (ASCII format).
The record number is determined with the sub-index (Sub-index = record No.)
Object Description
Index
0x5ff1
Symbol
N
Length
32
Access groups
0
Object code
Array
Elements
250
Password
0
Data type
Visible string
Access rights
Read/write all
PD Map
Not possible
Data Description
Data format
ASCII
Value range
0x20 ... 0x7f
Data byte 1
1st character of the command record
Data byte 32
32
nd
character of the command record
Example
Record 5 must be written with the command "POSA 250".
Service
Write request
Length
20
5. data byte
0x20 (" ")
Command Code
0x8082
1. data byte
0x50 ("P")
6. data byte
0x32 ("2")
Param. counter
19
2. data byte
0x4f ("O")
7. data byte
0x35 ("5")
Index
0x5ff1
3. data byte
0x53 ("S")
8. data byte
0x30 ("0")
Sub-index
5
4. data byte
0x41 ("A")
9...32. data byte
0x20 (" ")
Long, combined commands with 32 characters cannot be completely displayed.
These commands can however be written with the use of command abbreviations.
2.11.2
Nx
Reading and writing the program memory with command records in binary format.
The record number is determined with the Sub-index (Sub-index = record No.)
Object Description
Index
0x5fd5
Symbol
Nx
Length
20
Access groups
0
Object code
Array
Elements
250
Password
0
Data type
Octet string
Access rights
Read/write all
PD Map
Not possible
Data Description
Data byte
Assignment
1
Record length (number of relevant record data)
2
1
st
character of the record content
...
20
last character of the record contents
Содержание Hauser COMPAX-M Series
Страница 84: ...6 Index Interbus S 84 ...