Omron PROFIBUS DP GATEWAY Operation Manual page 85

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

Advertisement

Function Block Programming
B-3
Operate Function Block
The Operate Function Block facilitates the transmission of aN OPERATE command to a specific temperature
Controller (refer to section 3-3-4 Free Communication Blocks ). The table below lists the specifics of this func-
tion block.
Item
Basic function
Sends an Operation command to a specified Temperature Controller via PROFIBUS.
Symbol
Start Trigger
File name
PRT1_SCU11_Operate.cxf
Function description
Sends an operation command to the CS1/CJ1W-PRM21 PROFIBUS Master I/O addresses allo-
cated to the targeted Temperature Controller, specified by the Unit No. The command is specified
by the command code and related information.
Precautions
EN Input condition
Connect EN to an OR between an upwardly differentiated condition for the start trigger and the
BUSY output from the Function Block.
Restrictions on Input
• Always use an upwardly differentiated condition for the EN.
variables
• If the Input variables are out of range, the ENO flag will turn OFF and the Function Block will not
be processed.
Restrictions on Out-
• This function block requires multiple cycles to process. Always connect an OR including the
put variables
BUSY output variable to the EN input variable to ensure that the function block is processed to
completion (see Symbol)
• Do not turn the BUSY output variable ON or OFF outside the function block.
Application example
70
Busy Flag
Start Word
Profibus output data
Start Word
Profibus input data
Unit No of TC
Command Code
Related information to the
operation command
Timechart
Start Trigger
ON
OFF
Busy Flag (BUSY)
ON
OFF
Bit A
Bit B
Start Word Profibus output data
Start Word Profibus input data
Command Code
Related information to the operation command
Description
(BOOL)
EN
(UINT)
StratWordOutput
ResponseCode
(UINT)
StartWordInput
(UINT)
UnitNo
(UINT)
CommandCode
(UINT)
RelatedInformation
FB execution completed.
At normal end: Sending data has been completed.
(BOOL)
EN
(UINT)
&3200
StratWordOutput
(UINT)
&3300
StartWordInput
Unit No of TC
(UINT)
UnitNo
&1
(UINT)
CommandCode
#01
(UINT)
#10
RelatedInformation
Appendix B
(BOOL)
ENO
(WORD)
Response code from TC
(BOOL)
Busy flag
Busy
(BOOL)
ENO
(WORD)
Response code from TC
Channel 2
ResponseCode
(BOOL)
Busy flag
Busy
Bit B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prt1-scu11

Table of Contents