Omron PROFIBUS DP GATEWAY Operation Manual page 60

Profibus-dp gateway to host link/compoway-f
Table of Contents

Advertisement

Compoway-F Communication
Device
Module name
type
E5_N,
Free comms Read
4 WI / 5 WO
E5ZN,
Free comms Write
E5_R
2 WI / 7 WO
Free comms Operation
2 WI / 3 WO
Operation Mini FINS
Command
Example
Read Mini FINS Command
In the next table an overview is presented on how the Free Communication
blocks are composed for several different device types.
Compoway-F
Output words
Device address (1 word)
Command data (4 words)
Device address (1 word)
Command data (4 words)
Write data (2 words)
Device address (1 word)
Command data (2 words)
A Free Communication block always contains a device address (one word
with a value in the range between 0000 (hex) and 0063(hex)) and a mini FINS
command. The length of the mini FINS command depends on the command
type (operation, write or read) to be executed.
The Operation mini FINS command type consists of a command code MRC/
SRC, followed by an instruction code, the value of this instruction code is com-
mand type dependent. The operation of a mini FINS command is defined as
follows.
Device address
2 bytes
The response of this command for a correct executing of the command is
defined as:
Command code
Refer to the operation manual of the targeted Compoway-F device for more
commands and detailed information.
To stop control on channel 1 of the E5_R, with address 05, the contents of the
Fee Communication block must be set to 0005 3005 0101 (hex), or
• Device address: 0005 (hex)
• Command code: 3005 (hex)
• Instruction code: 0101 (hex).
Assuming there is no error, the response is four bytes: 3005 0000 (hex).
The Read mini FINS command consists of
• A device address number.
• A command code MRC/SRC.
• A variable area type, indicating the area within the device, from where the
parameter must be read.
• A Read start address within the specified area.
• A Bit position within the parameter to be read.
• The Number of bits/bytes to read from the parameter area/location.
This format is shown below.
Input words
Response code (2 words)
Read data (2 words)
Response code (2 words)
Response code (2 words)
Command code
Instruction code &
related information
MRC/SRC
2 bytes
Response
code
MRC/SRC
2 bytes
2 bytes
Section 3-3
Total
Total
output
input
words
words
5
4
7
2
3
2
2 bytes
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prt1-scu11

Table of Contents