AL4103
Remote I/O module 16 DI
36
Available data points:
Name
Description
Values
Access
../maincounter_value
Current main counter value
0…4294967295
ro
1
../batchcounter_value
Current batch counter value
0…65535
ro
1
1
read only
Applicable services:
Name
Description
../force_counter_value
Write counter values of main and batch counter
9.2.9.1 Example: Write counter values
Task:
The counter values of the counter module of port 2 are to be changed (main counter = 100,
batch counter = 10).
Solution:
Write the new values to the structure
io/counter[2]
with the service
force_counter_value
.
•
Request:
{
"code":"request",
"cid":4711,
"adr":"io/counter[2]/force_counter_value",
"data": {"maincounter_value":100,"batchcounter_value":10}
}
•
Response:
{
"cid":4711,
"adr":"io/counter[2]/force_counter_value",
"code":200
}
9.2.10 Gateway: Setting the application tag
Substructure:
devicetag
Available data points:
Name
Description
Values
Access
../applicationtag
Device name in ifm moneo
e.g. “factory 2 plant 1”
rw
1
1
read and write
32 bytes are available on the device for storing the
applicationtag
parameter. If the memory
range is exceeded, the device will abort the write process (diagnostic code 400).
u
When writing the
applicationtag
parameter, observe the different memory requirements
of the individual UTF-8 characters (characters 0-127: 1 byte per character; character >127:
more than 1 byte per character).
9.2.11 Gateway: Read device information
Substructure:
deviceinfo
Available data points: