Cyclic communication] with handshake, Message communication] with handshake, For the control logix/compact logix (rslogix 5000) – KEYENCE SR-750 Series User Manual
Page 106: For the kv series, For the micro logix (rslogix 500)
106
E SR-750 UM
For the Control Logix/Compact Logix (RSLogix 5000)
Description of tags used in the sample
Reference program chart
Description of the reference program
Rung1 : This starts Read Request and starts reading.
Rung2 : With the rising of Result Complete, the data written to Result Data are
copied to READ_DATA.
Rung3 : When Read Complete is ON, Read Complete Clear turns ON.
[Cyclic communication] with handshake
This is a reference program to start/stop reading or load data by using the cyclic
communication with handshake.
For the KV Series
Reference program chart
Description of the reference program
Row 1 : When the timing (REQ) signal turns ON, Read Request turns ON.
Row 2 : When Read Data Reception Available turns ON and Read Data
Reception Complete turns OFF, Read Data Update Permitted turns ON.
Read Data Update Permitted is self-retained.
* Read Data Reception Available turns ON when read data is buffered
to SR-750.
Row 3 : When Read Data Reception Complete turns ON, the data for the
specified bytes are transferred from read data to DM1000.
* Read Data Reception Complete turns ON when writing read data from
SR-750 to PLC is complete.
Row 4 : When Read Complete is ON, Read Complete Clear turns ON.
Name
Data type
Description
REQ
BOOL
Bit to order to start/stop reading
READ_DATA
SINT[256]
Memory to store read data
( )
( )
ONS
Rung1
Rung2
Rung3
REQ
Source (I)Result
Data[0]
Dest READ_DATA[0]
Length (I)Result Data Size
(O) Read Request
(O) Read Complete Clear
(I) Read Complete
(O) : Output Assemblies
(I) : Input Assemblies
(O) Read Complete
↑
BMOV
WOE
DM1000
#100
REQ
Row 1
Row 2
Row 3
Row 4
(I) Read Data Reception Available
(I) Read Data Reception Available
(O) Read Data Update Permitted
(I) Read Request
(O) Read Complete Clear
(O) : Output Assemblies
(I) : Input Assemblies
(O) Read Data Update Permitted
(I) Read data Reception Complete
(I) Read Complete
For the Control Logix/Compact Logix (RSLogix 5000)
Description of tags used in the sample
Reference program chart
Description of the reference program
Rung1 : When the timing (REQ) signal turns ON, Read Start Request turns ON.
Rung2 : When Read Data Reception Available turns ON and Read Data
Reception Complete turns OFF, Read Data Update Permitted turns ON.
Read Data Update Permitted is self-retained.
* Read Data Reception Available turns ON when read data is buffered
to SR-750.
Rung3 : When Read Data Reception Complete turns ON, read data is
transferred to READ_DATA.
* Read Data Reception Complete turns ON when writing read data from
SR-750 to PLC is complete.
Rung4 : When Read Complete is ON, Read Complete Clear turns ON.
[Message communication] with handshake
This is a reference program to start/stop reading or load data in message
communication.
For the Micro Logix (RSLogix 500)
Description of tags used in the sample
Name
Data type
Description
REQ
BOOL
Bit to order to start/stop reading
READ_DATA
SINT[256]
Memory to store read data
Name
Data type
Description
B9:0/0
Binary
Bit to order to start/stop reading
T10
Timer
Timer
N11
Integer
Memory that stores Bank No.
MG20
Message
Message to perform Read Complete Clear
MG21
Message to perform Read Start
MG22
Message to perform Get Attribute Single for Read
Status
MG23
Message to perform Get Result Data
MG24
Message to perform Read Stop
N25
Integer
Memory that stores Get Attribute Single result of
MG22
N26
Integer
Message command to receive the result data
N27
Integer
Memory that stores Get Result Data result of MG23
RIX30
Extended
Routing
Information
Extended Routing Information for MG20
RIX31
Extended Routing Information for MG21
RIX32
Extended Routing Information for MG22
RIX33
Extended Routing Information for MG23
RIX34
Extended Routing Information for MG24
( )
( )
( )
/
REQ
Rung1
Rung2
Rung3
Rung4
ONS
Source (I) Read Data [0]
Dest READ_DATA[0]
Length (I) Read Data Size
(I) Read Data Reception Available (I) Read data Reception Complete
(O) Read Request
(O) Read Data Update Permitted
(O) Read Complete Clear
(O) : Output Assemblies
(I) : Input Assemblies
(O) Read Data Update Permitted
(I) Read data Reception Complete
(I) Read Complete