61
Function Block Programming
Appendix B
The table below lists the Input and Output variables for the Operate function block.
B-4
Read Function Block
The Read Function Block facilitates the transmission of a READ command to a specific temperature Controller
(refer to section
3-3-3 Free communication blocks
). The table below lists the specifics of this function block.
Name
Variable name
Data
type
Default
Range
Description
In
p
u
t v
a
ri
a
b
le
s
EN
EN
BOOL
1 (ON): Function block started
0 (OFF): Function block not started
Start Word
PROFIBUS Out-
put data
StartWordOutput
UINT
3000
Start Word of PROFIBUS Output data in
PROFIBUS Master Output data area.
Start Word
PROFIBUS Input
data
StartWordInput
UINT
3010
Start Word of PROFIBUS Input data in PROFI-
BUS Master Input data area.
Unit No of TC
UnitNo
UINT
0
#0 - #63
(0-99)
Unit number of TC
Command code
CommandCode
UINT
0
Variable type in TC
Information
related to the
operation com-
mand
RelatedInformation UINT
0
Specify the Write Start address
O
u
tp
ut
v
a
ri
ab
le
s
ENO
ENO
BOOL
1 (ON): Function block processed normally
0 (OFF): Function block not processed or
ended in an error
Result of execu-
tion of the com-
mand
ResponseCode
WORD
Outputs the error code when execution ended
in an error in the communications command
level. Refer to section
3-3-3 Free communica-
tion blocks for more information.
Busy flag
BUSY
BOOL
Automatically turns OFF when processing is
completed.
Item
Description
Basic function
Reads data from a Temperature Controller’s variable area.
Symbol
File name
PRT1_SCU11_Read_Data.cxf
Function description
Sends a Read Data command to the CS1/CJ1W-PRM21 PROFIBUS Master I/O addresses allo-
cated to the targeted Temperature Controller, specified by the Unit No. The data to be read is spec-
ified by the Variable Type and the Read Start Address.
Start Word
Profibus output data
Start Word
Profibus input data
Unit No of TC
Variable Type
Read Start address from TC
Response code from TC
Data read from TC
Busy flag
Start Trigger
(BOOL)
EN
(BOOL)
ENO
(UINT)
StratWordOutput
(WORD)
ResponseCode
(UINT)
StartWordInput
(DWORD)
DataRead
(UINT)
UnitNo
(BOOL)
Busy
(UINT)
VarType
(UINT)
ReadStartAddress
Busy Flag