Modbus_Tcp Library - SMB MAT-LC-C Series User Manual

Plc based motion controller
Table of Contents

Advertisement

E.3

Modbus_TCP library

1)Modbus_Tcp Master MBUS_TCP_REQ
Table E-5 MBUS_TCO_REQ instruction
Parameter
First
IP
Port
Unit
RW
Addr
Count
DataPtr
Done
Error
2)Modbus_Tcp Slave MBUS_TCP_SLAVE
Description
The activation bit (0: inactive 1: active)
activated once and the instruction executed
once.
Salve ipaddress,eg.'192.168.0.X'
Slave port number,eg.502
Slave unit number,eg.0
Read/Write
0:Read
1:Write
Read and write register address
(eg.40001,30001)
Read and write bytes (value range0-120
characters)
Read/write pointer (where data is read or
written to a register)
Done bit
0: Instruction is being executed
1: Instruction is completed
Error code
134
Data type
Initialization
BOOL
0
STRING
192.168.0.X
WORD
502
BYTE
0
BYTE
0
DWORD
0
INT
0
POINTER
0
TO BYTE
BOOL
0
BYTE
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MAT-LC-C Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Mat-lc-c0 seriesMat-lc-c06Mat-lc-c07

Table of Contents