15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.1.3.2 1060 Series II- UCSII Systems<br />

Normal Operation<br />

Structure of an Application<br />

The user programme is clocked by the RTC with a 20 ms cycle. Its duration is however limited by parameter P99 (see<br />

Parameter Manual). Parameter P99 is a multiple of 2 ms between 4 and 18 ms. Processing of %TS tasks should<br />

normally be completed before occurrence of IT P99.<br />

RTC occurrence<br />

MONITOR<br />

< 5 ms<br />

Consecutive Overruns<br />

P99 ms<br />

20 ms<br />

User programme<br />

(%TSn + %TFn)<br />

IT P99<br />

RTC occurrence<br />

MONITOR<br />

< 5 ms<br />

A slight overrun of IT P99 is tolerated in processing of tasks %TS. Each overrun, the system increments the RTC<br />

overrun counter %R97C.W.<br />

If the RTC interrupt occurs before the %TS tasks are completed, the monitor is immediately restarted.<br />

The system accepts a maximum of three consecutive overruns.<br />

The fourth overrun increments the RTC overrun counter %R97C.W and causes the CPU to go into HALT_ON_ERROR<br />

state.<br />

MONI<br />

TOR<br />

MONI<br />

TOR<br />

RTC occurrence IT P99 IT P99 IT P99 IT P99<br />

%R97C.W was incremented %R97C.W was incremented %R97C.W was incremented<br />

HALT_ON_ERROR state<br />

MONI<br />

TOR<br />

User<br />

programme<br />

User<br />

programme<br />

RTC<br />

User<br />

programme<br />

RTC RTC<br />

1 2 3 4<br />

MONI<br />

TOR<br />

User<br />

programme<br />

RTC RTC RTC<br />

MONI<br />

TOR<br />

User<br />

programme<br />

1 2 3 4<br />

MONI<br />

TOR<br />

User<br />

programme<br />

RTC occurrence IT P99 IT P99 IT P99 IT P99<br />

MONI<br />

TOR<br />

User<br />

programme<br />

MONI<br />

TOR<br />

%R97C.W was incremented %R97C.W was incremented %R97C.W was incremented<br />

User<br />

programme<br />

HALT_ON_ERROR state<br />

REMARK Although a user programme may not create an overflow when operating off load (e.g.<br />

without machining parts), overflows may occur on load due to CNC hardware tasks<br />

(feedback processing, etc.) or ITs (serial lines, etc.) added in the interval between two<br />

RTCs.<br />

en-938846/6 2 - 11<br />

2

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

Saved successfully!

Ooh no, something went wrong!