Basic Command Transmission Program (Pc To Position Control Unit); Basic Status Flag Reception Program (Position Control Unit To Pc); Pc Programs - Omron SYSMAC C500-NC222-E Operation Manual

Two-axis position control unit (nc221 mode)
Table of Contents

Advertisement

PC Programs

4-2-1
Basic Command Transmission Program
(PC to Position Control Unit)
4-2-2
Basic Status Flag Reception Program
(Position Control Unit to PC)
60
A
C
C
0
0
R
B
0
EQ
A
: Start input (differentiated input)
0
B
: Status-holding work bit
0
C
: Transmission completed work bit
0
C
: Command Ready (bit 15 of first word ON when READ (85) is executed)
R
N
: Differentiation no.
0
N: Transferred word count
S: Transfer source start word
D: I/O word for transfer destination (word n occupied by the PCU)
EQ: Equals flag
Status flag reception should be written at the end of the PC program.
Normally ON
N: Transfer word count (17 words minimum)
S: Transfer source I/O word (word n + 1 occupied by the PCU)
D: Transfer destination start word (see Section 5-2 Status Word Allocation)
Refer to your PC's Operation Manual for further details on the Intelligent I/O
Read and Write Instructions.
WRIT(87)
N
S
D
C
0
B
0
READ(88)
N
S
D
Section 4-2

Advertisement

Table of Contents
loading

Table of Contents