I/O Refreshing And Peripheral Servicing; I/O Refresh Methods - Omron CP1L Operation Manual

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

CPU Unit Operation
2-4-2

I/O Refreshing and Peripheral Servicing

I/O Refreshing
Peripheral Servicing
2-4-3

I/O Refresh Methods

82
I/O refreshing involves cyclically transferring data with external devices using
preset words in memory. I/O refreshing includes the following:
• Refreshing between I/O words in the CIO Area and CPU Unit built-in I/O,
CP/CPM1A-series Expansion Units, and CP/CPM1A-series Expansion
I/O Units
All I/O refreshing is performed in the same cycle (i.e., time slicing is not used).
I/O refreshing is always performed after program execution.
CPU Unit built-in I/O
CP/CPM1A-series Expansion
Units and Expansion I/O Units
Peripheral servicing involves servicing non-scheduled events for external
devices. This includes both events from external devices and service requests
to external devices.
Most peripheral servicing involves FINS commands. The specific amount of
time set in the system is allocated to each type of servicing and executed
every cycle. If all servicing cannot be completed within the allocated time, the
remaining servicing is performed the next cycle.
USB port servicing
Communications port servic-
ing
Communications port servic-
ing
Built-in flash memory access
servicing
Memory Cassette access ser-
vicing
Note
Peripheral USB port, serial port, and communications port servicing is allo-
cated 8% of the previous cycle time by default (the default can be changed)
for each service. If servicing is separated over many cycles, delaying comple-
tion of the servicing, set the same allocated time (same time for all services)
rather than a percentage under execute time settings in the PLC Setup.
I/O for CPU Unit built-in I/O and I/O on CP/CPM1A-series Expansion Units
and Expansion I/O Units is performed at the following times.
1,2,3...
1. Cyclic refresh period
2. When instructions with an immediate refresh variation are executed
3. When IORF(097) is executed
Units
Max. data exchange
2 input words
2 output words
Fixed depending on Units I/O Bit Area
Service
• Non-scheduled servicing for FINS or Host Link
commands received via a USB port or serial port
from the CX-Programmer, PTs, or host computers
(e.g., requests for program transfers, monitoring,
forced-set/reset operations, or online editing)
• Non-scheduled servicing from the CPU Unit trans-
mitted from a serial port (non-solicited communica-
tions)
• Servicing to execute network communications or
serial communications for the SEND, RECV, CMND
or PMCR instructions using communications ports
0 to 7 (internal logical ports)
• Servicing to execute background execution using
communications ports 0 to 7 (internal logical ports)
• Read/write processing for built-in flash memory
• Read/write processing for a Memory Cassette
Section 2-4
Data exchange area
I/O Bit Area
Description

Advertisement

Table of Contents
loading

Table of Contents