Scilab Function
Last update : September 2006

modbus_construct - Constuct modbus string

### Calling Sequence

  `modbus_char=call('modbus_construct',function,1,'i',address,2,'i',length,3,'i','out',[1,12],4,'i')`

### Parameters

- function: the modbus function code
- address: the modbus address
- length: the data length
- modbus_char: the char be constructed

### Description

this function is to constuct modbus string

### Examples

    function=1

    address=1001

    length=5

    modbus_char=call('modbus_construct',function,1,'i',address,2,'i',length,3,'i','out',[1,12],4,'i')

### See Also

`modbus_tcp`

### Author

`Developed by Zhe Peng, Longhua Ma.`