40
Accessing Parameters
Section 4-5
You can use the parameter processing message area to read or write param-
eters via the output- and input process areas. You can use any of the follow-
ing tasks by writing the task number to AK in the output process area.
Some parameters contain arrays and have to be accessed using array tasks
(Tasks 6, 7 and 8). Array tasks use IND to address the element number in an
array.
When the Option Board completes the task, a task response is written to AK
in the input process area. The size of the parameter is given by the task
response number.
If you executed an array tasks, you will accordingly receive an array task
response ID (Task response 4, 5 or 8).
When a read task succeeds, the Option Board also writes the value to PWE in
the input process area.
When you start a write task, you must also write the new parameter value to
PWE in the output process area.
When a task fails, the Option Board writes a 7 or 8 (Task failed) to AK and an
error number to PWE in the input process area. All error numbers are listed in
APPENDIX G PROFIdrive Error Numbers
.
Note
If you want to use a DINT to write or read PWE, you will have to swap the
high- and low-word in your PLC program (For double-words, an OMRON
PLCs does not use the same word-order convention than PROFIBUS).
Note
The parameter processing message area is only available when using the
PPO Type 1, PPO Type 2 or PPO Type 5 module. To access parameters
when using the PPO Type 3 or PPO Type 4 module, make use of the PRO-
FIdrive DP-V1 parameter channel (Refer to section
4-5-2 PROFIdrive DP-V1
Parameter Channel
).
Tip
Use the following sequence when starting a read or write task:
1.
Set AK=0.
2.
Set PNU, IND and PWE.
Table 39 Parameter Processing Tasks
AK
Task description
0
Clear the input message area
1
Read parameter value
2
Change WORD parameter value
3
Change DWORD parameter value
6
Read element value in array
7
Change WORD element value in array
8
Change DWORD element value in array
9
Read array size
Table 40 Parameter Processing Task Responses
AK
Task description
0
No response
1
Task success (WORD parameter)
2
Task success (DWORD parameter)
4
Task success (WORD element)
5
Task success (DWORD element)
6
Task success (Array size)
7
Task failed (Parameter)
8
Task failed (Element)
I111E-EN-02+3G3AX-MX2-RX-PRT+OperManual.book Seite 40 Donnerstag, 8. September 2011 11:53 11
Содержание 3G3AX-MX2-PRT-E
Страница 1: ...MX2 RX PROFIBUS Option Board Model 3G3AX MX2 PRT E 3G3AX RX PRT E USER S Manual Cat No I111E EN 02...
Страница 6: ...vi...
Страница 14: ...xiv Compliance with EC Directives...
Страница 20: ...6 Introduction to PROFIBUS Section 1 3...
Страница 36: ...22 How to mount the Option Board on the Inverter Section 2 3...
Страница 42: ...28 Configuring the Network Section 3 2...
Страница 70: ...56 Limitations Caused by Inverter Mode and Rating Selection Section 4 7...
Страница 108: ...94 APPENDIX G...
Страница 110: ...96 APPENDIX H...
Страница 113: ...97...
Страница 115: ......