Yaskawa JAPMC-MC2303-E User Manual
Page 129
6.5 Programming Example
6.5.4 Sending Request (Client)/Response (Server) according to Non-procedure Protocol
6-44
DB000210
TON[10ms]
Set
00300
Count DW00031
DB000211
DB000212
DB000202
DB000202
0013
0013
NL-1
DB000202
DB00021B
DB000400
0014
0019
NL-1
IF
DB000400==true
0015
0022
NL-1
INC
Dest DW00023
0016
0023
NL-2
END_IF
0017
0024
NL-1
DB000201
TON[10ms]
Set
00100
Count DW00030
DB000200
0018
0025
NL-1
DB000200
DB000211
DB000212
DB000202
DB000201
DB000201
0019
0028
NL-1
MSG-SND
Execute DB000201
Abort
DB000202
Dev-Typ 00014
Pro-Typ 00002
Cir-No
00001
Ch-No 00001
Param DA00000
Busy
DB000210
Complete DB000211
Error
DB000212
0020
0034
NL-1
IF
DB000211==true
0021
0035
NL-1
INC
Dest DW00024
0022
0036
NL-2
END_IF
0023
0037
NL-1
IF
DB000212==true
0024
0038
NL-1
INC
Dest DW00025
0025
0039
NL-2
STORE
Source DW00000
Dest
DW00026
0026
0040
NL-2
STORE
Source DW00001
Dest
DW00027
0027
0041
NL-2
END_IF
0028
0042
NL-1
END
0029
0043
NL-1
Abort command
Abort command
Abort command
Abort command
Normal
completion
Normal
completion
Abnormal
completion
Abnormal
completion
Abnormal completion
Forced stop if processing is not completed
within 3 seconds after sending the Send
command.
Increments the stop counter
when the Abort command is sent.
Starts sending every 1 second.
Function Send command
Turns ON after the query message is sent
and the response message is received.
Increments the normal pass counter.
Ended with transmission errors.
Increments the abnormal pass counter.
Stores the processing results.
Stores the status.
Normal completion
Start sending
Start sending
Command
Command
Command
Executing
Sends the command at intervals where
the receiving side can receive the command
properly. Because the command is sent in one
direction, adjustment is required so that the sent
command does not remain at the receiving side.
Sends a message to the remote station.
The executing coil turns ON when the CPU
receives the command.
The normal completion or abnormal completion
coil turns ON at the completion of processing.
Pro-Type: Always 2 (Non-procedure
communication)
Cir-No. (circuit number): 1 (Depends on the
connection port.)
Ch-No. (channel number): 1 (Use 1 to 10 for the
262IF-01.)