Instruction Manual

107
E SR-750 UM
Reference program chart
Description of the reference program
Rung1 : When Read Complete and Read Failure are OFF, the read start
message is sent at the rising of B9:0:0.
Rung2 : For each timeout of the timer, Get Attribute Single is performed for Read
Status.
The result is written to Read Status Res.
Rung3 : At the rising of either Result Status Res[1].0(Read Complete) or 1(Read
Failure), Get Result Data is performed.
The result is written to Read Data Res.
Rung4 : Read Complete Clear is performed.
Rung5 : This starts B9:0/1 and sends the read end message.
Rung6 : The timer is being performed to perform Rung2.
( EN )
( DN )
( ER )
ONS
MSG
/ /
B9:0/0 N25:1/0 N25:1/1
Communication Command CIP Generic
Size in byte(Receive) 0
Data Table Address(Receive) -
Size in byte(Send) 2
Data Table Address(Send) N11
Service Custom
Service Code 4b(Hex)
Class 69(Hex)
Instance 1
Attribute 0
( EN )
( DN )
( ER )
ONS
MSG(MG22)
T10:1/DN
Communication Command CIP Generic
Size in byte(Receive) 8
Data Table Address(Receive) N25
Size in byte(Send) 0
Data Table Address(Send) -
Service Get Attribute
Single Service Code
E(Hex)
Class 69(Hex)
Instance 1
Attribute 64
( EN )
( DN )
( ER )
ONS
MSG(MG23)
N25:1/0
N25:1/1
Communication Command CIP Generic
Size in byte(Receive) 100
Data Table Address(Receive) N27
Size in byte(Send) 4
Data Table Address(Send) N26
Service Custom
Service Code 55(Hex)
Class 69(Hex)
Instance 1
Attribute 0
(
U
)
Timer
Rung1
Rung2
Rung3
( EN )
( DN )
( ER )
ONS
MSG(MG20)
MG23:0/DN
Communication Command CIP Generic
Size in byte(Receive) 0
Data Table Address(Receive) -
Size in byte(Send) 0
Data Table Address(Send) -
Service Custom
Service Code 5A(Hex)
Class 69(Hex)
Instance 1
Attribute 0
Rung4
( EN )
( DN )
( ER )
ONS
B9:0/1
Communication Command CIP Generic
Size in byte(Receive) 0
Data Table Address(Receive) -
Size in byte(Send) 0
Data Table Address(Send) -
Service Custom
Service Code 4C(Hex)
Class 69(Hex)
Instance 1
Attribute 0
( DN )
TON
Timer T10:1
Time Base 0.01
Preset 100
Rung5
Rung6
MSG (MG24)
[Message communication] Buffer Overflow Error and
General Error occurred.
This is a reference program to disable Buffer Overflow Error and General Error
using the message communication.
For the KV Series
Reference program chart
For the Control Logix/Compact Logix (RSLogix 5000)
Reference program chart
For the Micro Logix (RSLogix 500)
Reference program chart
Point
With this operation, the Error Clear operation is performed for the
SR-750.
Buffer Overflow Error and General Error are cleared, and the result
data within Result Data Available, Result Data Strobe and SR-750
are cleared.
When performing using the cyclic communication, the operation
will become the same by setting the Error Clear bit to ON.
REQ
R30700
REQ
R30700
Message communication
start request
R31700
Message communication
complete
R30700
Message communication
start request
#0
U_MSGTO
' Data are stored using the box script.
' Data can also be stored with the MOV command.
DM0 = 192 ' IP address the first byte (arbitrary)
DM1 = 168 ' IP address the second byte (arbitrary)
DM2 = 100 ' IP address the third byte (arbitrary)
DM3 = 100 ' IP address the fourth byte (arbitrary)
DM4 = 83 ' service cord (0x53)
DM5 = 105 ' class ID (0x69)
DM6 = 1 ' instance ID (0x01)
DM7 = 0 ' attribute ID (0x00)
DM100 = 0 ' Sent data in message communication
KV-5500
#0
U_MSGTO KV-5500
DM100
DM0
Unit No.
Message
communication
Unit No.
Message
communication
( EN )
( DN )
( ER )
ONS
Service Type Custom
Service Code 53(Hex)
Class 69(Hex)
Instance 1
Attribute 0
Source Element -
Source Length -
Destination -
MSG
( EN )
( DN )
( ER )
ONS
MSG
Communication Command CIP Generic
Size in byte(Receive) 0
Data Table Address(Receive) -
Size in byte(Send) 0
Data Table Address(Send) -
Service Custom
Service Code 53(Hex)
Class 69(Hex)
Instance 1
Attribute 0