
7.THREE-DIMENSIONAL MACHINING SYSTEM LASER FUNCTION B-64663EN/01
- 130 -
When the CNC receives this message, it responds with the
completion code:
DC2 B 0 0 DC4
12 42 30 30 14
(c) DO (PMC ⇒ TB signal) transmission
The TB can read data from the internal relay area. (For area
setting, see the Parameter section later.)
TB⇒CNC
DC2 C DC4
CNC⇒TB
DC2 C
1st byte 2nd byte
DC4
nth byte
[Example]
Assume that the DO signal data area is mapped at four bytes
from R988 to R991 in the internal relay area and this area
contains data shown below:
R988 9AH
R989 BCH
R990 DEH
R991 F0H
Assume that the TB sends the following message to the
CNC:
DC2 C DC4
12 43 14
DC2 C 0 0 9 A B C D E F 0 DC4
12 42 30 30 39 41 42 43 44 45 46 30 14
The CNC will respond with:
The C command may fail to read the expected signal state
with a single communication. The reason for this is that the
CNC, PMC, and teaching box differ in signal read timing. It
is, therefore, recommended that a retry process be
performed in the teaching box or that a timer that enables
adjustment of the start of the C command be added.
Completion code