Scilab Function
Last update : September 2006

modbus_tcp - Send modbus string through ethernet

### Calling Sequence

  `r_char=call('modbus_tcp',host,1,'c',port,2,'i','out',[1,12],3,'c')`

### Parameters

- `host`: host computer ip or name
- `port`: host's modbus port
- `r_char`: Returned char

###

### Description

this function is to send modbus string through ethernet .

### Examples

    host='10.13.24.151'

    port=502

    call('modbus_tcp',host,1,'c',port,2,'i','out',[1,12],3,'c')

### See Also

modbus_construct

### Author

`Developed by Zhe Peng, Longhua Ma.`