EasyManuals Logo

COTRUST CTH200 Series User Manual

COTRUST CTH200 Series
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #147 background imageLoading...
Page #147 background image
CTH200 Series PLC User Manual
137
Count
IN
WORD
No. of elements (1-120 words or 1-1920bits)
LocalDataptr
IN
DWORD
Local data pointer (such as &VB1000)
Done
OUT
BOOL
Done flag (0 = Undone; 1 = Done)
Active
OUT
BOOL
Instruction activation (0 = Active; 1 = Inactive)
Error
OUT
BYTE
0: No error
1: Error
ErrorCode
Error code, valid when Done = 1
Details refer to the following List.
Definition of output Error code:
Error Code
Description
0
No error
1
Reached the max number of connections
2
Establishing connection
3
Timeout error
4
Error with requested parameter
5
Instruction not enabled
6
Connection is busy handling other request
Step 4: Modbus TCP master interconnect with its slave
When configuring Modbus TCP slave, the slave IP must be corresponding with IP set by master.
If you need to modify IP address of the slave, open the System Block in Magicworks PLC as
following figure to operate here.
Additionally, for ModBus TCP communication between PLC, its required that the port number of
slave should not less than 1024.
Step 5: Debug
Following the above orders to connect the master and slave, then read out 120 data started from

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the COTRUST CTH200 Series and is the answer not in the manual?

COTRUST CTH200 Series Specifications

General IconGeneral
BrandCOTRUST
ModelCTH200 Series
CategoryController
LanguageEnglish