MBSLAVEIDENT
Function block to set MODBUS Slave Device Information.
Inputs
| Input | Data type | Description | 
| Vendor | STRING | item 0x00 (basic) vendor name | 
| Product | STRING | item 0x01 (basic) product code | 
| Revision | STRING | item 0x02 (basic) major / minor revision | 
| Specific | INT | items 0x80 to 0x87 (extended) specific objects | 
Outputs
| Output | Data type | Description | 
| OK | BOOL | TRUE if successful | 
Remarks
- The MODBUS Slave stack supports function 43 for device identification.
- You can use this function to set/change device identification information.
- Basic items are strings. Maximum length is 51 characters for each of them.
- You can define up to eight 16 bit specific items, passed in the "Specific" input as an array of INT.
ST Language
[Variable name for Output OK] := MBSlaveIdent (
[Variable name for Input Vendor], [Variable name for Input Product],
[Variable name for Input Revision],
[Variable name for Input Specifics]);
| 
 | 
| The following variables are declared: [Variable name],[Data type], DIM array_of_specifics,INT,(0...15) bOK,BOOL strProduct,STRING(255) strRevision,STRING(255) strVendor,STRING(255) Syntax bOK := MBSlaveIdent ( strRevision, array_of_specifics); | 
| MBSLAVEIDENT | 
| IEC 61131-3 Automation platform > Programming - Reference guide > Driver specific function blocks > Modbus Slave > MBSLAVEIDENT | 
Created with the Personal Edition of HelpNDoc: Easily create Help documents


