QR_Code Support


9.9A

The PL/B Web Client supports QR_CODE image input to initialize the data fields in the client configuration screen. The QR_CODE scanning operation can be invoked by tapping the 'camera' icon found in the upper right hand corner of the client configuration screen. The input data string generated by scanning the QR_CODE image must be a JSON object that contains name/value pairs corresponding to the data fields in the client configuration screen named as 'name', 'url', 'program', 'id', and 'options'.

 

Example of JSON object with expected name/value pairs:

 

{

  "name": "Sunbelt Master",

  "url": "http://www.sunbelt-plb.com:8081",

  "program": "master.plc"

  "id": "N999999",

  "options": ""

}

Note:

1.   QR_CODE images can be generated at the following link. The example JSON object string can be used at this link as 'plain text' to generate a QR_CODE image which can initialize the PL/B Web Client configuration fields.

2.   The following URL link is a website that can generate custom QR Codes by users:

 

http://www.qrstuff.com/

 

Example QR Code 'Plain Text' Strings are samples that generate a QR Code in the 'plbwebcli' configuration:

 

{"name": "Test", "url": "http://192.168.1.12:8081", "program": "master", "id": "N999999", "options": ""}

 

{"name": "Sunbelt TMaster 8081", "url": "http://www.sunbelt-plb.com:8081","program": "tmaster.plc", "id": "N999999", "options", ""}

 

  



PL/B Web Server REST Support Beacon Support