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
4.9.2. Controlling and monitoring DP slaves PROFIBUS-DP provides the master (clas 1) with control and monitoring services to access the DP slaves in the network. These services are stored in the monitor program of PC Control 645-12M from where they can be loaded by the user program by means of special KUBES module called DP_CTRL. 4.9.2.1. Available services Control services -- Service 7, Activate/Deactivate activates and deactivates DP slaves -- Service 5, Freeze/Unfreeze freezes and unfreezes decentralised input values of groups of devices -- Service 6, Sync/Unsync synchronises decentralised outputs of groups of devices -- Service 8, Set_Prm changes the slave parameter settings Monitoring service -- Service 9, Get_Diag reads the diagnostic information of DP slaves 4 - 48
PC Control 645-12M on PROFIBUS 4.9.2.2. Functional principle of KUBES module DP_CTRL Byte 0 Job The name of the KUBES module is "DP_CTRL". It is contained in module library "KULIB64M.LIB" which is delivered with KUBES, version 5.20 or higher. Parameter field When you load DP_CTRL you specify the first address of a parameter field as the module's start parameter. Make sure that this parameter field is located in the byte operand range. Its length depends on the type of service and, for services 8 and 9, on the DP slave's data structure. If you define a separate parameter field for every service, the DP master can control several services at the same time. Repeat service requests that the KUBES module does not respond to (active bit = 0). If you define one parameter field for all services you can only request one service at a time. The first bytes of the parameter field have the same structure for every service; service-related information starts in byte 3: Descriptio n B it 0...5 No. of service (see "4.9.2.1. Available services" ) Bit 6 0: Job not active action bit 1: Job active Bit 7 error bit 0: No error 1 : Error (see byte 1, error number) 1 Error # Number of error indicated by bit 7 2 Station # DP slave's PROFIBUS station address 3...n D ata Service-related data (see description of services) 4 - 49
- Page 35 and 36: Hardware -- Activate the "Memory" o
- Page 37 and 38: Hardware To reserve a memory range
- Page 39 and 40: i n 0 2 4LV o g 0 2 4LV o Sa t da t
- Page 41 and 42: PC Control 645-12M used as PLC 4.1.
- Page 43 and 44: PC Control 645-12M used as PLC -- S
- Page 45 and 46: PC Control 645-12M used as PLC The
- Page 47 and 48: 4.2. Going online with KUBES PC Con
- Page 49 and 50: PC Control 645-12M used as PLC 4.2.
- Page 51 and 52: 4.3. Memory settings PC Control 645
- Page 53 and 54: 4.4. PLC working method PC Control
- Page 55 and 56: 4.5.1.1. Short description of local
- Page 57 and 58: 4.5.2. External operands as process
- Page 59 and 60: PC Control 645-12M used as PLC 4.5.
- Page 61 and 62: 4.5.3.1. Status of PROFIBUS master
- Page 63 and 64: 4.5.3.2. PEaxx.yy: DP slave status
- Page 65 and 66: 4.6. Summary of commands PC Control
- Page 67 and 68: PC Control 645-12M used as PLC 4.6.
- Page 69 and 70: PC Control 645-12M used as PLC 4.6.
- Page 71 and 72: PC Control 645-12M used as PLC 4.6.
- Page 73 and 74: 4.6.4. Shift and rotation commands
- Page 75 and 76: PC Control 645-12M used as PLC 4.6.
- Page 77 and 78: PC Control 645-12M used as PLC 4.6.
- Page 79 and 80: 4.7. Types of operands PC Control 6
- Page 81 and 82: PC Control 645-12M used as PLC 4.8.
- Page 83 and 84: PC Control 645-12M on PROFIBUS 4.9.
- Page 85: PC Control 645-12M on PROFIBUS PROF
- Page 89 and 90: 4.9.2.3.1. Choosing a station and g
- Page 91 and 92: 4.9.2.4. Service 7: activate/deacti
- Page 93 and 94: 4.9.2.6. Service 6: synchronise DP
- Page 95 and 96: PC Control 645-12M on PROFIBUS 4.9.
- Page 97 and 98: PC Control 645-12M on PROFIBUS ====
- Page 99 and 100: PC Control 645-12M on PROFIBUS ====
- Page 101 and 102: PC Control 645-12M on PROFIBUS ====
- Page 103 and 104: PC Control 645-12M on PROFIBUS ====
- Page 105 and 106: PC Control 645-12M on PROFIBUS ====
- Page 107 and 108: PC Control 645-12M used as PLC 4.10
- Page 109 and 110: 4.10.2. Undervoltage (supply, failu
- Page 111 and 112: PC Control 645-12M used as PLC 4.10
- Page 113 and 114: 4.10.5. Hierarchy error (failure #9
- Page 115 and 116: A. Specifications Specifications A.
- Page 117 and 118: Specifications A.2. Order specifica
- Page 119 and 120: PROFIBUS hardware installation B. P
- Page 121 and 122: PROFIBUS hardware installation B.1.
- Page 123 and 124: PROFIBUS hardware installation B.2.
- Page 125 and 126: PROFIBUS hardware installation B.2.
- Page 127 and 128: PROFIBUS hardware installation Acti
- Page 129 and 130: Index A accumulator 3-9 functional
- Page 131 and 132: Index memory range 3-4 in DOS and W
<strong>PC</strong> <strong>Control</strong> <strong>645</strong>-<strong>12M</strong> on PROFIBUS<br />
4.9.2.2. Functional principle of KUBES module DP_CTRL<br />
Byte<br />
0 Job<br />
The name of the KUBES module is "DP_CTRL". It is contained<br />
in module library "KULIB64M.LIB" which is delivered<br />
with KUBES, version 5.20 or higher.<br />
Parameter field<br />
When you load DP_CTRL you specify the first address of a<br />
parameter field as the module's start parameter. Make<br />
sure that this parameter field is located in the byte<br />
operand range. Its length depends on the type of service<br />
and, for services 8 and 9, on the DP slave's data<br />
structure. If you define a separate parameter field for<br />
every service, the DP master can control several services<br />
at the same time. Repeat service requests that the KUBES<br />
module does not respond to (active bit = 0). If you define<br />
one parameter field for all services you can only request<br />
one service at a time.<br />
The first bytes of the parameter field have the same structure<br />
for every service; service-related information starts in<br />
byte 3:<br />
Descriptio n<br />
B it 0...5 No. of service (see "4.9.2.1. Available services" )<br />
Bit 6 0:<br />
Job not active<br />
action<br />
bit 1:<br />
Job active<br />
Bit 7<br />
error bit<br />
0:<br />
No error<br />
1 : Error (see byte 1, error number)<br />
1 Error<br />
# Number of error indicated by bit 7<br />
2 Station<br />
#<br />
DP slave's PROFIBUS station address<br />
3...n<br />
D ata<br />
Service-related data (see description of services)<br />
4 - 49