EasyManuals Logo

Thinget XC Series User Manual

Thinget XC Series
283 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 #257 background imageLoading...
Page #257 background image
Special Functions
7-2. Example of MODBUS Instructions
E.g.: The following is the communication program of one master station and 4 slave stations
Each par
T er s ation
2:
Ladder program:
ameters:
he mast tation number is 1, slave st s numbers are 2, 3, 4, 5. This example, we use COM
33
Program description
When PLC changes from STOP to RUN, M8002 coil gets through a scan cycle. S0 flow
open, write master machine’s D10——D14 into No.2 slave machine’s D10——D14. after
finish communication, set M8138, at the same time write slave machine’s D15——D19 into
master machine’s D15——D19set communication finish flag. Realize write and read to a
slave station. At this time flow S3 will judge with the slave station. If the station number is
less than 5station number add 1offset add 10or else station number starts from number 2
station again.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Thinget XC Series and is the answer not in the manual?

Thinget XC Series Specifications

General IconGeneral
BrandThinget
ModelXC Series
CategoryController
LanguageEnglish

Related product manuals