Omron PRT1-SCU11 Operation Manual page 68

Profibus-dp gateway to host link/compoway-f
Hide thumbs Also See for PRT1-SCU11:
Table of Contents

Advertisement

Function Block Programming
The table below lists the Input and Output variables for the Operate function block.
Name
EN
EN
Start Word
StartWordOutput
PROFIBUS Out-
put data
Start Word
StartWordInput
PROFIBUS Input
data
Unit No of TC
UnitNo
Command code
CommandCode
Information
RelatedInformation UINT
related to the
operation com-
mand
ENO
ENO
Result of execu-
ResponseCode
tion of the com-
mand
Busy flag
BUSY
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.
Item
Basic function
Reads data from a Temperature Controller's variable area.
Symbol
Start Trigger
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.
Variable name
Data
type
BOOL
UINT
UINT
UINT
UINT
BOOL
WORD
BOOL
Busy Flag
Start Word
Profibus output data
Start Word
Profibus input data
Unit No of TC
Variable Type
Read Start address from TC
Default
Range
1 (ON): Function block started
0 (OFF): Function block not started
3000
Start Word of PROFIBUS Output data in
PROFIBUS Master Output data area.
3010
Start Word of PROFIBUS Input data in PROFI-
BUS Master Input data area.
0
#0 - #63
Unit number of TC
(0-99)
0
Variable type in TC
0
Specify the Write Start address
1 (ON): Function block processed normally
0 (OFF): Function block not processed or
ended in an error
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.
Automatically turns OFF when processing is
completed.
Description
(BOOL)
EN
(UINT)
StratWordOutput
ResponseCode
(UINT)
StartWordInput
(UINT)
UnitNo
(UINT)
VarType
(UINT)
ReadStartAddress
Appendix B
Description
(BOOL)
ENO
(WORD)
Response code from TC
(DWORD)
Data read from TC
DataRead
(BOOL)
Busy flag
Busy
61

Advertisement

Table of Contents
loading

Table of Contents