9-1
Section
(
#'
9-1-4 Reading PCU Status
There are two ways to send PCU status to the CPU Unit. The first way is the “I/O
refresh data” method, in which the status is transferred from the Position Control
Unit to the CPU Unit with each I/O refresh. The other way is the “Status Area”
method, in which the Intelligent I/O Read instruction is used to read the detailed
information in the Position Control Unit’s Status Area (15 words for the NC211 or
8 words for the NC113) to the CPU Unit.
IR words
CPU Unit
Position Control Unit (NC211)
I/O refresh
I/O refresh data
Word 0
Word 1
Word 2
Word 14
Intelligent I/O
Read instruction
Status area
n+1
n+1
s+0
READ
#0015
n+1
s
9-1-5 Programming Precautions
To write commands or data to the Position Control Unit, use the Intelligent I/O
Write instruction (WRIT). To read the status from the Position Control Unit, use
the Intelligent I/O Read instruction (READ). When using these instructions, be
careful about the following points.
1, 2, 3...
1. The Position Control Unit’s shared memory is not completely freed immedi-
ately following execution of WRIT or READ, so the Position Control Unit will
ignore either of these instructions if they are again executed at that time.
Therefore, do not execute either of these instructions consecutively.
CPU Unit
Position Control Unit
Command or data
Status
Shared
memory
Reading of
command or
data
Writing of
status
WRIT
READ
WRIT
READ
a)
X
WRIT
WRIT
b)
X
READ
READ
c)
X
Summary of Contents for SYSMAC C500-NC113
Page 1: ...Cat No W323 E3 1 Position Control Units SYSMAC C500 NC113 C500 NC211 OPERATION MANUAL...
Page 2: ...0 1 1 2 304 2 1 3 1 3 1 1 1...
Page 5: ...8 0...
Page 9: ...8 8 0 8...
Page 24: ...0 1...
Page 31: ...0 4 4 4 2 1 2 2...
Page 52: ...8 8 0...
Page 57: ...5 1 Section Acceleration Deceleration Pattern Edit Screen Dwell Time Data Edit Screen...
Page 107: ...0 00 C D 0 0 0 0 E 4 8 3 3 1 3 1 3 1 1 1...
Page 119: ...0 8 1 6...
Page 207: ...1 6 1 1 0 1 1 0 1 1 1 1 1 1 3 1 7 1 3 1 1 8 3...
Page 220: ...4 4 0 1 9 3...
Page 224: ...0 8 6 6...
Page 246: ...01 1 3 2 D 2 0 1 01 1 6 9 0 1 2 2 2 E 0 3 9 2 2 F H 69 9 2 4 54 60 7 5 2 I 4 2 7 2 3 2 69 0 2...
Page 247: ...J L 2 3 60 7 5 M N 2 0 1 6 9 2 O 2 2 2 2 5 91 2 5 6 4 2 2 2 P 0 0 87 87...
Page 248: ...2 2 2 2 9 4 2 0 R 7 6 0 4 9 6 9 0 6 9 0 6 9 S 2 2 2 2 6 6 2 A 2 B 2 2 69 0 3 3 3 2 T 9 4 2...
Page 249: ...W Z 2 2...