<Toc> <Ind>
<7. I/O Communications >
7-13
IM 34M6H28-01E
1st Edition : Feb.01,1999-00
■
Example of Ladder Programming
D0100
(0001)
(0002)
00001
(0003)
00003
(0004)
(0005)
00005
(0006)
(0007)
(0008)
(0009)
00007
(0010)
00009
(0011)
(0012)
00018
(0013)
(0014)
(0015)
(0016)
(0017)
(0018)
(0019)
00030
(0020)
(0021)
********Initialization/Clear error********
********Set scan operation mode********
********Set Initial output data********
********Start********
********I/O data access and message communication********
********Stop********
SET
RST
SET
M0035
X00417
M0035
M0035
X00401
X00409
X00402 X00403 X00407 I00002
I00001
Y00449
Y00449
Y00442
SET
TIM
Y00441
SET
I00002
RST
Y00441
20s
T0001
4
D0100
21
4
READ
2
D0110
17
4
READ
4
D0112
29
4
READ
X00409
I00003
T0001
I0002
4
D0104
25
4
READ
D0106
D0102
D0104
=
=
Request to clear error flag on
Confirm clear error has completed, then
turn OFF the Error Request flag.
Set scan operation mode
(on communication error, stop scan mode).
Read scan list information.
Turn on the Request to start scanning
flag after confirming that there are no
errors.
Confirm scanning, and if scanning is in
process, read the status information of
other nodes.
Compare scan list information and status
information of other nodes and if they are the
same, turn on the data valid flag (I00001) of
all the nodes.
Set status monitor timer.
Stops monitor timer.
Turn off the request to start scannig
where there is an error in external request
(I00003), monitor timer timeout, or scanning.
Error code confirmation
Confirm the node address in error.
When it is necessary to set output data before starting the
scanning, see Section 7.6,
“I/O Data Access (Example of Programming).”
. See Section 7.6, “I/O Data Access (Example of Programming).”
. See Section 8.3, “Sample Program (Message Communication).”
F0705-1.EPS
Содержание FA-M3 Vitesse
Страница 2: ...Blank Page...
Страница 28: ...Blank Page...
Страница 40: ...Blank Page...
Страница 94: ...Blank Page...
Страница 116: ...Blank Page...
Страница 118: ...Blank Page...