46
Compoway-F Communication
Section 3-3
The response of this command for a correct executing of the command is
defined as:
Refer to the operation manual of the Compoway-F device for more detail
regarding the read mini FINS command.
Note
1.
The actual data to be written to the device consists of one double word. If
a CS1/CJ1 PLC is used to assemble the Write command, de data will be
swapped before sending it over PROFIBUS, due to the communication for-
mats of both Compoway-F and PROFIBUS. The PLC program must swap
these words before the data can be transmitted.
2.
For CX-Programmer 5.0 or higher OMRON provides function blocks to im-
plement the assembly of the Free Communication Read command. When
processing the response this function block will perform the word swapping
automatically. Refer to
Appendix B Function Block Programming
for more
details.
Example
Reading the internal setpoint from an E5ZN (device 2), channel 1 (start
address 2, 1 element to read) is done with the command:
0002 0101 C1 0002 00 0001(hex).
The response is (no error occurred): 0101 0000 0000 0000 0000 0000(hex).
Write Mini FINS Command
The Write mini FINS command consists of
• A device address number.
• A command code MRC/SRC.
• A variable area type, indicating the area within the device, to where the
parameter must be written.
• 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.
• The data to be written.
This format is shown below.
The response of this command for a correct executing of the command is
defined as:
Device
address
Command
code
MRC/SRC
Variable
type
Read start
address
Bit position
Number of
elements
2 bytes
2 bytes
1 byte
2 bytes
1 byte
2 bytes
Command code
MRC/SRC
Response
code
Data
2 bytes
2 bytes
4 bytes
Device
address
Command
code
MRC/SRC
Variable
type
Write
start
address
Bit
position
Number
of
elements
Element1
2 bytes
2 bytes
1 byte
2 bytes
1 byte
2 bytes
4 bytes
Command code
MRC/SRC
Response
code
2 bytes
2 bytes
Summary of Contents for PROFIBUS DP GATEWAY
Page 1: ...OPERATION MANUAL PROFIBUS DP Gateway to Host Link Compoway F PRT1 SCU11 Cat No W01E EN 02 ...
Page 2: ...PRT1 SCU11 PROFIBUS DP Gateway Operation Manual Revised September 19 2005 ...
Page 3: ...iv ...
Page 15: ......
Page 31: ......
Page 71: ......
Page 77: ......
Page 81: ......