IFM AL1327 handleiding
Handleiding
Je bekijkt pagina 50 van 125

AL1327 IO-Link master with EtherNet/IP interface
50
Name Description Value range Access
../iolinkdevice/pdout Output data (pin4) "DO" operating mode:
• 0x00: OFF
• 0x01: ON
"IO-Link" operating mode:
• Process value in hexadecimal representation
rw
2
3
1
Read only
2
Read and write
3
The parameter can only be changed if no connection to the fieldbus controller is active
9.2.14.1 Example: Reading an IO-Link process value (operating mode "IO-Link")
Task: Read the current measured value of the ifm temperature sensor TN2531 at port 2.
Solution: Read the value of the pdin data point.
Request:
{
"code":"request",
"cid":4711,
"adr":"/iolinkmaster/port[2]/iolinkdevice/pdin/getdata"
}
Response:
{
"cid":4711,
"data":{"value":"03C9"},
"code":200
}
The return value is displayed in hexadecimal format. The return value is given in hexadecimal format.
Besides the temperature value the return value comprises additional information (Ò IO Device
Description (IODD) of the sensor). The temperature value is shown in bits 2 to 15.
0x03C9 = 0b1111001001
Temperature value: 0b11110010 = 242
This means that The current temperature value is 24.2 °C.
9.2.14.2 Example: Reading an IO-Link process value (operating mode "IO-Link")
Task: The buzzer of the DV2500 at port 2 is to be switched on. The DV2500 operates in On/Off mode.
Solution: Write the value of the pdout data point. The IODD of the DV2500 shows the structure of the
process value (e.g. LED activity). The buzzer is switched via bit 40 of the process value (OFF = 0, ON
= 1).
Course:
1. Read the current process value Example: Reading an IO-Link process value (operating mode "IO-
Link") (Ò/50).
2. Set bit 40 of the read value to 1.
3. Write the new process value.
Example:
Read process value:
0x00000000004D = 0b000000000000000000000000000000000000000001001101
New process value:
Bekijk gratis de handleiding van IFM AL1327, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | IFM |
| Model | AL1327 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 10357 MB |







