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

Create successful ePaper yourself

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

3.4 Mnemonic<br />

A mnemonic is a combination of up to twelve characters at most chosen from:<br />

- the 26 capital letters (A, B, C, ..., Z),<br />

- the 26 lower case letters (a, b, c, ..., z),<br />

- the 10 digits (0, 1, 2, ..., 9),<br />

- the underline character ( _ ).<br />

A mnemonic must always begin with a letter (the underline character is prohibited). The compiler does not differentiate<br />

between upper and lower case letters. The user can only associate a mnemonic with a variable %.<br />

These associations are saved in the PLCTOOL symbol files (*.XSY).<br />

3.4.1 Coercion Field<br />

When using a mnemonic, the variable size specified can be different from that indicated when associating the<br />

mnemonic with a % variable.<br />

Coercion is specified after the mnemonic by a dot (.) followed by the symbol for the new size.<br />

Example<br />

If the mnemonic «Status_word» is associated with variable %M3.B,<br />

Then: The mnemonic «Status_word.0» represents %M3.0<br />

The mnemonic «Status_word.7» represents %M3.7<br />

The mnemonic «Status_word.W» represents %M3.W<br />

The mnemonic «Status_word.L» represents %M3.L<br />

3.5 Common Internal Variables Saved<br />

These are variables from %M0 to %M77FF (i.e. 30 kbytes).<br />

These %M variables are saved in case of a power failure.<br />

3.6 Common Internal Variables Not Saved<br />

These are variables %V0 to %V7FFF (i.e. 32 kbytes).<br />

These %V variables are not saved in case of a power failure or a CPU INIT. They are reset by reset of the central<br />

processing unit.<br />

3 - 8 en-938846/6

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

Saved successfully!

Ooh no, something went wrong!