Siemens SIMATIC ET 200S Посібник з експлуатації - Сторінка 29

Переглянути онлайн або завантажити pdf Посібник з експлуатації для Промислове обладнання Siemens SIMATIC ET 200S. Siemens SIMATIC ET 200S 40 сторінок. Distributed i/o digital electronic module 4do dc24v/2a hf
Також для Siemens SIMATIC ET 200S: Посібник оператора (18 сторінок), Посібник (16 сторінок), Посібник користувача (16 сторінок), Посібник користувача (26 сторінок), Посібник (37 сторінок), Посібник (24 сторінок), Інструкція з експлуатації (4 сторінок), Оригінальна інструкція з експлуатації (19 сторінок), Оригінальна інструкція з експлуатації (20 сторінок), Посібник (34 сторінок), Посібник (14 сторінок), Посібник (24 сторінок), Оригінальна інструкція з експлуатації (17 сторінок), Оригінальна інструкція з експлуатації (19 сторінок), Посібник (16 сторінок), Посібник (28 сторінок), Посібник (12 сторінок), Посібник (32 сторінок), Посібник (18 сторінок), Посібник (12 сторінок), Посібник (28 сторінок), Посібник (22 сторінок), Посібник (22 сторінок), Посібник (36 сторінок), Посібник (16 сторінок)

Siemens SIMATIC ET 200S Посібник з експлуатації
5.2

Sequence of the application example

Relevant variables in the application example
Table 5-1
Overview of the relevant variables
Symbol
Data type
myCommand
enumCommand
(CMD_READ,
CMD_WRITE,
CMD_RESET_ERR,
CMD_USE_DATA1,
CMD_USE_DATA2,
CMD_START,
CMD_STOP)
myCmdExecute
BOOL
myCmdDone
BOOL
myCmdError
INT
myParaNumber
UINT
mySubIndex
UINT
myParaValueWr
REAL
myParaValueRd
REAL
mySetpoint
INT
myMaxRevolution
INT
Command processing
Proceed as follows to activate command processing in the sample program:
1. In the project navigator, under Programs select the E_FC_ctrl Unit.
2. Open the symbol browser in SIMOTION SCOUT.
3. Select a command in the symbol browser by setting the myCommand variable to the
command to be executed.
4. Parameterize the command-specific variable.
5. Start the selected command by setting the myCmdExecute variable to TRUE.
6. Wait until error-free command execution is indicated by myCmdDone = TRUE. An error
during command execution is specified in the myCmdError parameter.
7. You can now call additional commands.
The functions contained in the application example are described below.
Example: Resetting drive and parameterization errors
The function block displays drive errors at the output parameters
myFC_control.driveError = TRUE and myFC_control.driveErrorId ≠ 16#0000; these must be
acknowledged before the next command is called. Drive errors are reset with bit 7 in the control
word ctrlDword.
Supplement for the ET 200S frequency converter
Function Manual, 01/2015
Initial value
Meaning
CMD_READ
Selection of command to be executed
FALSE
TRUE = Start selected command
FALSE
TRUE = Error-free command processing
0
Error specification
0
Number of parameter to be written
0
Index of the parameter number
0.0
Parameter value to be written
0.0
Read parameter value
500
Speed specification in [rpm]
1,350
Maximum speed of the motor in [rpm]
Application example
5.2 Sequence of the application example
29