13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3 <strong>CPU</strong> <strong>Unit</strong> OperationPeripheral ServicingPeripheral servicing involves servicing non-scheduled events for external devices. This includes bothevents from external devices and service requests to external devices.Most peripheral servicing for CJ-series PLCs involves FINS commands. The amount of time specifiedin the system is allocated to each type of servicing and executed every cycle. If all servicing cannot becompleted within the allocated time, the remaining servicing is performed the next cycle. If peripheralservicing is delayed too much, increase the fixed servicing time in the PLC Setup to a value larger than10% using the CX-Programmer. Peripheral Servicing TimeWith the default peripheral servicing time setting, 10% of the preceding cycle time is assigned to thetotal peripheral service. Therefore, the peripheral servicing time depends on the preceding cycletime.Set a time longer than 10% of the cycle time using Fixed Servicing Time in the PLC Setup from theCX-Programmer when peripheral servicing is delayed because too many cycles is required to completeit. Keep in mind that increasing the servicing time will also increase the cycle time. Types of Peripheral Servicing<strong>Unit</strong>sEvent servicing for Special I/O <strong>Unit</strong>sEvent servicing for <strong>CPU</strong> Bus <strong>Unit</strong>sPeripheral USB port serviceSerial port serviceCommunications port servicingFile access servicingOnline editing servicingBackup servicingServicing• Non-scheduled servicing for FINS commands from Special I/O <strong>Unit</strong>sand <strong>CPU</strong> Bus <strong>Unit</strong>s (e.g., requests to start external interrupt tasks)• Non-scheduled servicing for FINS commands from the <strong>CPU</strong> <strong>Unit</strong> to theabove <strong>Unit</strong>s.• Non-scheduled servicing for FINS or Host Link commands received viathe peripheral USB or serial ports from Programming Devices, PTs, orhost computers (e.g., requests to transfer programming, monitoring,forced-set/reset operations, or online editing)• Non-scheduled servicing from the <strong>CPU</strong> <strong>Unit</strong> transmitted from the peripheralUSB or serial port (non-solicited communications)• Servicing to execute network communications, serial communications,or file memory access for the SEND(090)/SEND2(491),RECV(098)/RECV2(492), CMND(490)/CMND2(493), orPMCR(260)/PMCR2(264) instructions using communications ports(internal logic ports).• Servicing to execute background execution using communications ports.File read/write operations for Memory Cards or EM file memory.Servicing to backup contents edited with online editing in the built-in flashmemory when online editing is being processed.Servicing to backup changed contents in the built-in flash memory whenthere is a change in programming or parameters.33-1 <strong>CPU</strong> <strong>Unit</strong> Internal Operation3-1-2 Cycle TimeAdditional InformationServicing time is allocated to Special I/O <strong>Unit</strong>s, <strong>CPU</strong> Bus <strong>Unit</strong>s, the peripheral USB port, serialports, file access, and communications ports.If servicing is separated over many cycles, delaying completion of the servicing, set the sameallocated time (same time for all services) rather than a percentage under execute time settingsin the PLC Setup.<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>3-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!