PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

28.03.2014 Views

Addressing 4.8.3. Types of addressing: summary The load command is used to give a summary of the different types of addressing. Load contents of an operand L M00.00 1bit address L BM00.00 8bit address LD BM00.00 16bit address Load constant value 8bit constant (0...255): L 100 decimal L $64 hexadecimal L %01100100 binary L ´A´ ASCII 16bit constant (0...65535): LD 10000 decimal LD $3FEA hexadecimal LD %0010011100010000 binary LD 4.5V voltage (-10...+10V) LD 5mA current(-20...+20mA) Load contents of an offset-addressed operand with constant offset (0...255): L M00.00[10] 1bit address L BM00.00[10] 8bit address LD BM00.00[10] 16bit address with variable offset in the local operand (0...255): L M00.00[BM01.00] 1bit address L BM00.00[BM01.00] 8bit address LD BM00.00[BM01.00] 16bit address with variable offset in the external operand (0...255) L M00.00[BI03a00.] 1bit address L BM00.00[BI03a00.] 8bit address LD BM00.00[BI03a00.] 16bit address 4 - 44

PC Control 645-12M on PROFIBUS 4.9. PC Control 645-12M on PROFIBUS PC Control 645-12M is a programmable logic controller without any I/Os of its own. PROFIBUS is the medium via which the controller communicates with the appropriate I/ O devices, i.e. the DP slaves. In this type of network, PC Control 645-12M acts as a DP master (class 1). The protocol used for communication between master and slaves is called PROFIBUS-DP. This protocol supports data transfer rates (baud rates) of up to 12 Mbit/s which all network devices must be capable to sustain, however. If there are slower devices in the network, the master is to be set to the relevant baud rate by means of VEBES. PC Control can maintain connections to up to 99 slaves whose addresses are to be in the range from 0 to 99. A process image memory provides the interface between PROFIBUS (and, thus, the DP slaves connected to it) and the master's user memory. VEBES, the network configurator, divides the process image up, making the individual memory locations available as "external operands". see chapter "4.5.2. External operands" The following sections describe the extended functions for the handling of DP slaves and data traffic via PROFIBUS. Although they are not absolutely required for "normal" operation they do help you take specific action to react to special situations. 4 - 45

Addressing<br />

4.8.3. Types of addressing: summary<br />

The load command is used to give a summary of the different<br />

types of addressing.<br />

Load contents of an operand<br />

L M00.00 1bit address<br />

L BM00.00 8bit address<br />

LD BM00.00 16bit address<br />

Load constant value<br />

8bit constant (0...255):<br />

L 100 decimal<br />

L $64 hexadecimal<br />

L %01100100 binary<br />

L ´A´ ASCII<br />

16bit constant (0...65535):<br />

LD 10000 decimal<br />

LD $3FEA hexadecimal<br />

LD %0010011100010000 binary<br />

LD 4.5V voltage (-10...+10V)<br />

LD 5mA current(-20...+20mA)<br />

Load contents of an offset-addressed operand<br />

with constant offset (0...255):<br />

L M00.00[10] 1bit address<br />

L BM00.00[10] 8bit address<br />

LD BM00.00[10] 16bit address<br />

with variable offset in the local operand (0...255):<br />

L M00.00[BM01.00] 1bit address<br />

L BM00.00[BM01.00] 8bit address<br />

LD BM00.00[BM01.00] 16bit address<br />

with variable offset in the external operand (0...255)<br />

L M00.00[BI03a00.] 1bit address<br />

L BM00.00[BI03a00.] 8bit address<br />

LD BM00.00[BI03a00.] 16bit address<br />

4 - 44

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

Saved successfully!

Ooh no, something went wrong!