60
Function Block Programming
Appendix B
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-3 Free communication blocks
). The table below lists the specifics of this func-
tion block.
Item
Description
Basic function
Sends an Operation command to a specified Temperature Controller via PROFIBUS.
Symbol
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
variables
• Always use an upwardly differentiated condition for the EN.
• 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-
put variables
• This function block requires multiple cycles to process. Always connect an OR including the
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
Start Word
Profibus output data
Start Word
Profibus input data
Unit No of TC
Command Code
Related information to the
operation command
Response code from TC
Busy flag
Start Trigger
(BOOL)
EN
(BOOL)
ENO
(UINT)
StratWordOutput
(WORD)
ResponseCode
(UINT)
StartWordInput
(BOOL)
Busy
(UINT)
UnitNo
(UINT)
CommandCode
(UINT)
RelatedInformation
Busy Flag
Timechart
Start Trigger
ON
OFF
Busy Flag (BUSY)
ON
OFF
FB execution completed.
At normal end: Sending data has been completed.
Start Word Profibus output data
&3200
Start Word Profibus input data
&3300
Unit No of TC
&1
Command Code
#01
Related information to the operation command
#10
Response code from TC
Channel 2
Busy flag
Bit B
Bit A
(BOOL)
EN
(BOOL)
ENO
(UINT)
StratWordOutput
(WORD)
ResponseCode
(UINT)
StartWordInput
(BOOL)
Busy
(UINT)
UnitNo
(UINT)
CommandCode
(UINT)
RelatedInformation
Bit B