IFM AL1921 handleiding
Handleiding
Je bekijkt pagina 52 van 135

AL1921 IO-Link master with EtherNet/IP interface
52
0b000000010000000000000000000000000000000001001101 = 0x01000000004D
Request:
{
"code":"request",
"cid":10,
"adr":"iolinkmaster/port[2]/iolinkdevice/pdout/setdata",
"data":{"newvalue":"01000000004D"}
}
Response:
{
"cid":10,
"code":200
}
9.2.14.3 Example: Reading the digital input value (operating mode "DI")
Task: The digital input value of the IO-Link device at port 2 (pin 4) is to be read. The operating mode
of the IO-Link port is "Digital Intput (DI)".
Solution: Read the process value of the pdin data point. The process value is returned as a
hexadecimal value with a length of 1 byte (OFF = "00", ON = "01"').
Request:
{
"code":"request",
"cid":10,
"adr":"iolinkmaster/port[2]/iolinkdevice/pdin/getdata"
}
Response:
{
"cid":10,
"data":{
"value":"00"
},
"code":200
}
9.2.14.4 Example: Writing the digital output value (operating mode "DO")
Task: The digital output value of the IO-Link device at port 2 (pin 4) is to be set. The operating mode of
the IO-Link port is "Digital Output (DO)".
Solution: Write the process value of the pdout data point. The value has to be written as a
hexadecimal value with a length of 1 byte (OFF = "00", ON = "01"').
Request:
Bekijk gratis de handleiding van IFM AL1921, 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 | AL1921 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 11184 MB |







