EasyManua.ls Logo

LS Industrial Systems GLOFA G7M-DT60U(N)/DC - Example

LS Industrial Systems GLOFA G7M-DT60U(N)/DC
367 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
Loading...
Chapter 8. Communication Functions
8-50
The communication status is saved in the COM_STAT value, and its type is USINT.
NDR: When transfer is completed normally, this bit turns on during 1 scan.
ERR: When communication error occurs, ,this bit turns on.
(3) Error code
Code Error type Description
06 Slave Device Busy It’s sending or waiting to receive
09 Parameter Error Communication parameter setting error, Link enable setting error
10 Frame Type Error Frame does not setting or frame does not ‘sending’
8.2.4 Example
1) System configuration
This example assumes that there’s a communication between LSIS’ products by the user-defined protocol. The system configuration
is as follows and the cable is the same with the one of 1:1 dedicated protocol communication.
The data in M area of the master station is sent to the slave station and the slave station saves received data in M area, output as
direct variable, and sends the data back to the master. This process repeats between the master and the slave.
2) Setting master station and program
Set for master station no.0
Create a new project file and make a new program for the master station.
GM7U main unit
(Slave: Station No. 1)
GM7U main unit
(Master: Station no. 0)
1:1 dedicated protocol communication cable between LSIS’

Table of Contents

Related product manuals