Pc Programs - Omron SYSMAC C500-NC222-E Operation Manual

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

Advertisement

PC Programs

4-2
PC Programs
DM area
Command(1)
Command(2)
É É É É É
Command(m)
Data (1)
Data (2)
Data (n)
AR area
Flag(1)
É É É É É
Flag(2)
É É É É É
Flag(3)
Flag(l)
The PC program maintains two data flow directions.
• PC to Position Control Unit (PCU) command and parameter transmission
uses the Intelligent I/O Write instruction WRIT(87). Commands and param-
eters are differentiated by address inside the PCU.
• Position Control Unit to PC status reception uses the Intelligent I/O Read
instruction READ(88).
PC
Position Control Unit
I/O words
Command
transmission
É É É É
WRIT(87)
É É É É
Status flag
reception
É É É É
É É É É
READ(88)
• One or more commands stored in the DM area of the PC are transmitted in
a stream to the Position Control Unit, where they are executed sequentially.
The Position Control Unit functions according to the commands sent.
• Data (parameters) stored in the DM area are transmitted to the PCU and
stored in RAM. Commands can then be used to transfer RAM contents to
EEPROM.
• For status flag reception, flag allocations are determined by the Position
Control Unit; therefore, the same status flags are transferred to the AR area
each time the Intelligent I/O Read instruction is executed.
• Because command transmission and status reception rely on the Intelligent
I/O Read and Write instructions, a standard PC program can be developed.
The use of such a standard program is strongly recommended.
Common RAM
Commands
Command
É É É É
analysis
É É É É
addresses
000 to 052
Data
É É É É
É É É É
addresses
100 to 999
Flag(1)
Flag(2)
É É É É
Status flag
logic
É É É É
Flag(l)
Section 4-2
É É É É
RAM
EEPROM
É É É É
59

Advertisement

Table of Contents
loading

Table of Contents