47
Compoway-F Communication
Section 3-3
1.
Refer to the operation manual of the Compoway-F device for more detail
regarding the read mini FINS command.
The actual data written to the Temperature Controller consists of one dou-
ble word. Due to the communication formats of both Compoway-F and
PROFIBUS, de data will end up as two swapped words in a CS1/CJ1 PLC,
when the CS1/CJ1W-PRM21PROFIBUS Master is used. The PLC pro-
gram must swap these words before the data can be sued.
2.
For CX-Programmer 5.0 or higher OMRON provides function blocks to im-
plement the assembly of the Free Communication Write 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
Writing the lower limit of the setpoint an E5ZN (device 2), channel 1 is done
with the command: 0002 0102 C1 0003 00 0001 0000 0005(hex).
The response is (no error occurred): 0102 0000(hex).
Free Communication
Blocks
A write or operation command will be sent to the device when the command is
changed from zero’s to the correct data. When the command data is set to
zero, the response data will also be cleared. The read type command blocks
are sent every Compoway-F cycle.
Broadcast
Broadcasting can be used for operations and writes. If the device address is
set to 00FF(hex), a broadcast is sent to all devices using XX broadcast. The
response code will be filled with a response to indicate that the command has
been sent to the devices.
Note It is recommended to restrict the Free Communication blocks to the end of the
I/O configuration. Placing a Free Communication block in the middle of other
modules is allowed, but it will influence the device number of other modules.
The device number is affected due to the fact that the slot number is a repre-
sentation of the device number.
Example
Configuring 2 x E5ZN basic modules and a Free Communication write block:
If there is no device for a device address between two existing consecutive
device addresses, the empty slot module must be used. The slot number rep-
resents the device address.
Note The PROFIBUS Configuration for this slave is limited to 100 words input and
100 words output.
Slot
number
Recommended
Not recommended
Module
Device
number
Module
Device
number
1
E5ZN Basic
1
E5ZN Basic
1
2
E5ZN Basic
2
Free communication write
block
--
3
Free communication write
block
--
E5ZN Basic
3
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: ......