Remote I/O module 16 DI
AL4002
35
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: Read device information
Substructure:
deviceinfo
Available data points:
Name
Description
Values
Access
../productcode
Article number
AL4002
ro
1
../vendor
Manufacturer
ifm electronic
ro
1
../devicefamily
Device family
Remote IO
ro
1
../serialnumber
Serial number (12 digits)
e.g. 000174210161
ro
1
../hwrevision
Hardware revision
e.g. AA
ro
1
../swrevision
Firmware version
e.g. AL4x0x_fw_pn_v1.4.0.137
ro
1
../bootloaderrevision
Bootloader version
e.g. AL4xxx_bl_v1.2.0.35
ro
1
../fieldbustype
Fieldbus
PROFINET
ro
1
1
read only