A
A-3 Inner Workings of CP1L
110
SYSMAC CP1L Getting Started Guide
Ap
pend
ix
Peripheral Services
Peripheral services are event services that occur on an irregular basis, such as
monitoring and setup on PT, and online editing (editing programs under execution)
and monitoring on CX-Programmer.
It involves processing of service requests both to and from external devices.
In the CP-series, most of the services use the FINS command.
Each service is allocated with a fixed amount of time specified by the system, and
is executed every cycle. If the services processing completes within the allocated
time, no processing is performed during the remaining time.
Note
Service time is separately allocated for the peripheral USB port, serial port, and
communication port services. By default, 4% of the preceding cycle time will be
allocated.
If services take several cycles for execution, and are delayed, allocate a fixed
amount of time (as opposed to percentage) to each service. To do this, use [Set
time to all events] under PLC Settings.
Service Type
Content
Peripheral USB port service
• Processes unscheduled requests received as FINS or
Host Link commands from CX-Programmer, PT, or from
a host computer via a peripheral USB port or serial port
(i.e. requests for program transfer, monitoring, forced-
set/reset, or online editing).
• Processes unscheduled requests issued by the CPU
unit via a serial port (non-solicited communications).
Serial port service
Communication port service
• Executes serial communication by SEND, RECV, and
CMND instructions. Uses internal logic ports 0 to 7 as
communication ports.
• Executes instructions in the background, using internal
logic ports 0 to 7 as communication ports.
Built-in flash memory
accessing service
• Processes reading and writing of data from and to the
built-in flash memory.
Memory cassette
accessing service
• Processes reading and writing of data from and to the
memory cassette.
W07E-EN-02+CP1L+GettingStartedGuide.book Seite 110 Montag, 15. September 2008 11:15 11