Professional Documents
Culture Documents
Promess Montage-Und Prüfsysteme GMBH: S7 Profinet / Profibus Function Block Guide
Promess Montage-Und Prüfsysteme GMBH: S7 Profinet / Profibus Function Block Guide
The contents of this guide are believed to be correct at the time of publication. In interests of a commitment to a policy of
continuous development and improvement, the manufacturer reserves he right to change the specifications or its
performances of the products without notice, as well as the contents of this guide.
All rights reserved. No parts of this guide may be reproduced, store or transmit completely or partially in any form
(electronic or mechanical including photocopying, recording or information storage) without permission in writing from
the publisher.
This guide is supplied for UFM V5 versions of Promess firmware installed on the SM-Application Plus of UNIDRIVE SP.
The firmware version can be checked in the supplied part list in the Promess green binder for each delivered assembly
press, on a sticker on the SM-Application Plus module or with your Promess provider.
This guide provides all the necessary information to use Promess function blocks with SIEMENS
PLC families S7-300 (from 314-2 DP) /400/1500
Copyright © september 2014 Promess Gesellschaft für Montage- und Prüfsysteme mbH
Release 2.6.1
Firmware version 5.03.00 and upper
1. - REQUIREMENTS
When the UNIDRIVE SP is OFF, remove its black terminal cover to connect the PROFINET / PROFIBUS -DP cable to
the SM-PROFINET / PROFIBUS module.
Correct shielding of the FIELDBUS-DP cable is required in accordance with the manufacturer recommendations to
reduce the electromagnetic interference.
NOTE Please refer to the Control Techniques SM-PROFINET / PROFIBUS-DP User Guide for more details.
NOTE The addresses of the first 16 input words and the first 16 output words must be the same..
The addresses of the second 16 input words and the second 16 output words must be the same.
Install the GSD file (sp__0672.gsd), provided by Promess. The “SM-PROFIBUS-DP” DP slave is available in your
“Catalog” window under “PROFIBUS-DP”, “Additional Field devices” and “Drives”.
The addresses of the first 16 input words and the first 16 output words must be the same.
NOTE The addresses of the second 16 input words and the second 16 output words must be the same.
Please make sure that your I / Q Areas for the Unidrive equal to the OB1 Process Image of your S7 PLC
NOTE The addresses of the first 16 input words and the first 16 output words must be the same..
The addresses of the second 16 input words and the second 16 output words must be the same.
Install the GSD file (M700.gsd), provided by Promess. The “SI-PROFIBUS-DP” DP slave is available in your “Catalog”
window under “PROFIBUS-DP”, “Additional Field devices” and “Drives”.
The addresses of the first 16 input words and the first 16 output words must be the same.
NOTE The addresses of the second 16 input words and the second 16 output words must be the same.
Please make sure that your I / Q Areas for the Unidrive equal to the OB1 Process Image of your S7 PLC
NOTE The addresses of the first 16 input words and the first 16 output words must be the same.
The addresses of the second 16 input words and the second 16 output words must be the same.
8* User Defined 32-bit Read 8* User Defined 32-bit Read (16 IN Words ) 256...287
V5 MOVE FB
B530
8* User Defined 32-bit Write 8* User Defined 32-bit Write (16 OUT Words ) 256...287
8* User Defined 32-bit Read 8* User Defined 32-bit Read (16 IN Words ) 288...319
V5 DATA FB
B550
8* User Defined 32-bit Write 8* User Defined 32-bit Write (16 OUT Words ) 288...319
NOTE The addresses of the second 16 input words and the second 16 output words must be the same.
Please make sure that your I / Q Areas for the Unidrive equal to the OB1 Process Image of your S7 PLC
16* User Defined 16-bit Read 16* User Defined 16-bit Read (16 IN Words) 256...287
V5 MOVE FB
B530
16* User Defined 16-bit Write 16* User Defined 16-bit Write (16 OUT Words) 256...287
16* User Defined 16-bit Read 16* User Defined 16-bit Read (16 IN Words) 288...319
V5 DATA FB
B550
16* User Defined 16-bit Write 16* User Defined 16-bit Write (16 OUT Words 288...319
The addresses of the first 16 input words and the first 16 output words must be the same.
The addresses of the second 16 input words and the second 16 output words must be the same.
NOTE
!! Important: Please make sure that you don`t have a (IO Address) Gab between folowing Moduls 1-16 / 17-32 /33-48 / 49-64 !!
For the FB530 the following must be completed for proper operation:
“E_T_out_Beweg_abschalten / I_T_OUT_DISABLE_Timeout
" input: This input enable or disable the watchdog timer for the joining program and the motions of the assembly press.
For the FB550 the following must be completed for proper operation:
" T_Timeout_Werte / T_TIMER_Timeout_DATA_FB " timer and " Z_Timeout_Werte / Z_VALUE_Timeout_DATA_FB "
value:
The number and the value of this watchdog timer can be modified to check the runtime of data exchange between the
PLC and the assembly press. If the data exchange is abnormally too long then all the complex functions of the function
block FB550 are stopped. An error then is set on the function block FB550 to indicate the fault (see section 2.1.10).
The value of " Zeit (Z_Timeout_Werte / Z_VALUE_Timeout_DATA_FB) " should be 10 s for normal operation.
2. -MOVE FB
FB530
When the “A_REF_Bereit / O_READY_FOR_HOMING "output is set, the “Homing" function can be performed to run the homing routine. For
assembly press, a homing routine consists of retracting until it finds the absolute zero position.
When “A_Referenzanforderung / O_HOMING_REQ " output is set, the assembly press homing has to be performed before any other movements.
INPUT OUTPUTS
A_REF_Bereit / O_READY_FOR_HOMING
Ready to run the REFERENCE function
A_REF_Abgeschl_IO / O_HOMING_DONE_OK
Homing finished and function correctly performed
E_REF_Start / I_HOMING_Start
Run homing
A_REF_Abgeschl_NIO / O_HOMING_DONE_NOK
Function not correctly performed and homing aborted
A_Referenzanforderung / O_HOMING_REQ
Homing required
INPUTS OUTPUTS
A_ZYKL_STEP_Bereit /
O_READY_FOR_CYCLE_STEP
Ready to run the CYCLE function
A_ZYKL_STEP_IO / O_CYCLE_STEP_OK
Joining program finished and the function correctly
performed
A_ZYKL_STOP / O_CYCLE_STOPPED
Joining program in a Cycle Stop state
A_ZYKL_END / O_CYCLE_END
Joining UFM program end reached
Address number is assigned by Promess UFM software for each joining program stored on the backup media. The required joining program
number must be selected at the input " E_PROGRAMMNR / I_PROGRAMM_No_SELECT " before to use the upload command of this function.
When the " A_PRGNR_Bereit / O_READY_FOR_PRGNo_LOAD " Ready output is set, the “UPLOAD PROGRAM" function can be performed to
upload the selected joining program into the drive.
INPUTS OUTPUTS
A_PRGNR_Bereit / O_READY_FOR_PRGNo_LOAD
Ready to run the UPLOAD PROGRAM function
E_PROGRAMMNR_LADEN_Start /
I_PROGRAM_No_LOAD_Start
Upload selected joining program A_PRGNR_Abgeschl_IO/
O_PRGNo_LOAD_DONE_OK
Selected joining program uploaded and function correctly
performed
A_PRGNR_Abgeschl_NIO /
O_PRGNo_LOAD_DONE_NOK
Function not correctly performed and joining program
E_PROGRAMMNR / I_PROGRAMM_No_SELECT upload aborted
Number for joining program selection
A_aktive_Programmnr / O_Current_Program_No
Joining program number loaded currently
The " A_ZYKL_STEP_IO / O_CYCLE_STEP_OK " and " A_ZYKL_END / O_CYCLE_END " outputs or " A_ZYKL_STOP / O_CYCLE_STOPPED " output are
simultaneously set when the running function is finished.
INPUTS OUTPUTS
A_ZYKL_STEP_Bereit /
O_READY_FOR_CYCLE_STEP
Ready to run the STEP function
A_ZYKL_STEP_IO / O_CYCLE_STEP_OK
Joining program step finished and function correctly
performed
A_ZYKL_STOP / O_CYCLE_STOPPED
Joining program in a Cycle Stop state
A_ZYKL_END / O_CYCLE_END
Joining program end reached11)
For the "MOVE" function, the motion parameters can be set with the FB550 complex functions (see chapter 3.1.1 and 3.1.2). After completing the
“Move” function, the motion parameters are reset to their default values..
INPUT OUTPUTS
A_MOVE_JOG_Bereit /
O_READY_FOR_MOVE_JOG
Ready to run the MOVE function
A_MOVE_Abgeschl_IO /
E_MOVE_Start / I_MOVE_Start O_MOVE_FUNCTION_DONE_OK
Run manual motion to a target Position Target value reached and function correctly performed
A_MOVE_Abgeschl_NIO /
O_MOVE_FUNCTION_DONE_NOK
function not correctly performed and manual motion to the
target position aborted
When the " A_MOVE_JOG_Bereit / O_READY_FOR_MOVE_JOG " Ready output is set, the "JOG" function can be performed to manually move
the assembly press ram.The assembly press ram retracts if the " E_JOG_EINFAHREN_Start / I_JOG_RETRACT_Start " input is set or the
assembly press ram extends if the
" E_JOG_AUSFAHREN_Start / I_JOG_ADVANCE_Start " is set. These inputs must be disabled to stop the manual motion.
INPUTS OUTPUT
E_JOG_EINFAHREN_Start / I_JOG_RETRACT_Start
Retract the ram A_MOVE_JOG_Bereit /
O_READY_FOR_MOVE_JOG
E_JOG_AUSFAHREN_Start / Ready to run the JOG function
I_JOG_ADVANCE_Start
Extend the ram
NOTE The optional piezoelectric sensor remains in Reset mode when JOG manual motion is running.
INPUTS OUTPUTS
A_QUELL_1_WERT_gueltig/
O_SOURCE_1_VALUE_VALID
E_QUELL_1_LESEN_IDX / Value of source signal 1 is valid and can be read
I_SOURCE_1_READ_IDX
Index selection of source signal 1 A_QUELL_1_WERT / O_SOURCE_1_VALUE
Value of the selected source signal 1
A_QUELL_2_WERT_gueltig/
O_SOURCE_2_VALUE_VALID
E_QUELL_2_LESEN_IDX / Value of source signal 2 is valid and can be read
I_SOURCE_2_READ_IDX
Index selection of source signal 2
A_QUELL_2_WERT / O_SOURCE_2_VALUE
Value of the selected source signal 2
A_QUELL_3_WERT_gueltig/
O_SOURCE_3_VALUE_VALID
E_QUELL_3_LESEN_IDX / Value of source signal 3 is valid and can be read
I_SOURCE_3_READ_IDX
Index selection of source signal 3 A_QUELL_3_WERT / O_SOURCE_3_VALUE
Value of the selected source signal 3
“E_A_STOERUNG / I_O_ERROR":
This bit is set when an error occurs while a complex function is running. When the next complex function is performed
successfully, this error bit is reset.
“E_A_PB_EING_DW1 / I_O_PB_INPUT_DW1":
This double word returns the status of the first two PROFINET words of the assembly press when an error occurs while a
complex function is running.
"E_A_PB_AUSG_DW1 / I_O_PB_OUTPUT_DW1":
This double word returns the status of the first two PROFINET words of the PLC when an error occurs while a complex
function is running.
“E_A_PB_EING_STATUS / I_O_PB_INPUT_STATUS":
This double word stores some diagnostic bits (available in the following table 2-4) when a fault or an error occurs while
the joining program is running.
14 STA_SConfig Sensor configuration problem. Offset upper than ± 10% on the zero point of signal 1
30 STA_Offset
(force).
13 STA_Motor Motor overload.
NOK status was set by step command in the joining
12 STA_PBUS PROMESS-BUS fault. 29 STA_ManNOK
program.
11 STA_Brake Optional brake problem. OK status was set by step command in the joining
28 STA_ManOK
program.
Conversion limit has been reached for the DMS
10 STA_ADC
amplifier. 27 STA_Math SM-Application module runtime error.
09 STA_DTrip triP occurs on the drive. 26 STA_Trigger Trigger fault.
08 STA_MReset SM-Application module Reset. 25 STA_Cbuffer Curve storage exceeded.
07 STA_MaxPos Assembly press maximum position reached. 24 STA_CLower Curve lower limit violated.
06 STA_FollowError Contouring error too large. 23 STA_CUpper Curve upper limit violated.
05 STA_Comp Strain compensation error. 22 STA_GRight Gauging right limit violated.
No joining program uploaded into the assembly press 21 STA_GLeft Gauging left limit violated.
04 STA_NoPrg
drive.
20 STA_GLower Gauging lower limit violated.
The PLC disabled the Start signal while the joining
03 STA_SLost
program is running. 19 STA_GUpper Gauging upper limit violated.
01 STA_Ref Homing request while the joining program is running. 17 STA_NoSignal Force/Signal limit not reached.
Overload limit reached while the joining program is 16 STA_SEarly Force/ Signal limit too early.
00 STA_Ovl
running.
2.1 -
Error Massage Move FB
(FB630)
Table 2-5 Error codes of E_FEHLERCODE / I_ERRORCODE byte Table 2-6 Codes of E_FUNKTION / I_FUNCTION byte
“E_SCHRITT / I_STEP":
The step number of the complex function is set in this byte when an error occurred.
“E_PB_AUSG_DW1 / I_A_PB_OUTPUTS":
This double word returns the status of the first two Fieldbus words of the PLC when an error occurred while a complex
function was running.
“E_E_PB_EING_STATUS / I_A_PB_IN_STATUS":
This double word stores some diagnostic bits (available in the table 2-4) when a fault or an error occurred while the
joining program was running.
“E_DB_ADDR / I_DB_ADDR":
Data block (DB) number to store the errors in the history.
“E_ABLAUF_RESET / I_PROCESS_RESET":
When this bit is set, the errors are saved in the history.
“E_DB_LOESCHEN / I_DB_DELETE":
when this bit is set, the history of saved errors is deleted.
3. -DATA FB
FB550
" E_M_PAR_QUELL_L_DB_ADDR / I_M_Par_Source_RD_DBaddr " and " E_M_PAR_QUEL_L_BYTE_ADDR / I_M_Par_Source_RD_Byaddr " inputs specify
the data block number and starting address for the stored parameter data to be read.
INPUTS OUTPUTS
E_MOVE_PAR_LESEN_Start / A_MOVE_PAR_LESEN_Bereit /
I_Move_Par_Read_Start O_MOVE_PAR_READ_READY
Start Read MOVE parameters Ready to run the READ MOVE PARAMETERS function
A_MOVE_PAR_LESEN_IO /
E_M_PAR_QUELL_L_DB_ADDR /
O_MOVE_PAR_READ_OK
I_M_Par_Source_RD_DBaddr
Data block (DB) number to store the parameter data. Reading of parameters finished and function correctly
performed
E_M_PAR_QUEL_L_BYTE_ADDR / A_MOVE_PAR_LESEN_NIO /
I_M_Par_Source_RD_BYaddr O_MOVE_PAR_READ_NOK
starting (byte) address of the selected data block Function not correctly performed and reading of parameters
(DB) to store the data. aborted
NOTE After each motion, some parameters reset to their default values.
“E_M_PAR_QUELL_S_DB_ADDR / I_M_Par_Source_WR_Dbaddr " and " E_M_PAR_QUEL_S_BYTE_ADDR / I_M_Par_Source_WR_BYaddr " inputs specify
the data block number and starting address (byte) to write the parameter data.
INPUTS OUTPUTS
E_MOVE_PAR_SCHR_Start / A_MOVE_PAR_SCHR_Bereit /
I_Move_Par_Write_Start O_MOVE_PAR_WRITE_READY
Start Write MOVE parameters Ready to run the WRITE MOVE PARAMETERS function
A_MOVE_PAR_SCHR_IO /
E_M_PAR_QUELL_S_DB_ADDR / O_MOVE_PAR_WRITE_OK
I_M_Par_Source_WR_DBaddr
Data block (DB) number of stored parameter data. Writing of parameters finished and function correctly
performed
E_M_PAR_QUEL_S_BYTE_ADDR / A_MOVE_PAR_SCHR_NIO /
I_M_Par_Source_WR_BYaddr O_MOVE_PAR_WRITE_NOK
starting (byte) address of the selected data block Function not correctly performed and writing of parameters
(DB) to store the data. aborted
NOTE After each motion, some parameters reset to their default values.
“E_MW_LESEN_IDX / I_Gauging_Read_IDX " and “E_MW_Laenge / I_Gauging_Length " inputs specify the gauging(s) to be read.
“E_MW_LESEN_DB_ADDR / I_Gauging_Read_DB_ADDR " and “E_MW_LESEN_BYTE_ADDR / I_Gauging_Read_BYTE_ADDR " inputs specify the data block
number and starting address to store the gauging data. Each gauging can receive up to 7 double words.
INPUTS OUTPUTS
E_MW_LESEN_Start / I_Gauging_Read_Start
Read gaugings A_MW_LESEN_Bereit /
O_GAUGING_READ_READY
Ready to run the READ GAUGINGS function
E_MW_LESEN_IDX / I_Gauging_Read_IDX
Starting address (0 to 15) to select the
gauging to be read
NOTE The maximum value allowed for " E_MW_LESEN_IDX / I_Gauging_Read_IDX " and "E_MW_Laenge / I_Gauging_Length“ selection must be smaller than or equal to 16.
BOOL DB553.DBX3.0 If 1 then the value of the Y signal is recorded. BOOL DB553.DBX423.0 If 1 then the value of the Y signal is recorded.
If 0 then the result is OK (the recorded value is If 0 then the result is OK (the recorded value is
inside the limits). inside the limits).
BOOL DB553.DBX3.1 If 1 then the result is NOK (the recorded value is BOOL DB553.DBX423.1 If 1 then the result is NOK (the recorded value is
outside the limits). outside the limits).
BOOL DB553.DBX3.2 If 1 then the value has not been recorded. BOOL DB553.DBX423.2 If 1 then the value has not been recorded.
If 1 then the upper limit has bee violated by the If 1 then the upper limit has bee violated by the
BOOL DB553.DBX3.3 BOOL DB553.DBX423.3
recorded value. recorded value.
If 1 then the lower limit has bee violated by the If 1 then the lower limit has bee violated by the
BOOL DB553.DBX3.4 BOOL DB553.DBX423.4
recorded value. recorded value.
GAUGING 16
GAUGING 1
If 1 then the left limit has bee violated by the If 1 then the left limit has bee violated by the
BOOL DB553.DBX3.5 BOOL DB553.DBX423.5
recorded value. recorded value.
If 1 then the right limit has bee violated by the If 1 then the right limit has bee violated by the
BOOL DB553.DBX3.6 BOOL DB553.DBX423.6
recorded value. recorded value.
REAL DB553.DBD4 Start of Trigger for the recorded values. REAL DB553.DBD424 Start of Trigger for the recorded values.
REAL DB553.DBD8 End of Trigger for the recorded values. REAL DB553.DBD428 End of Trigger for the recorded values.
REAL DB553.DBD12 Upper limit monitoring for recorded value. REAL DB553.DBD432 Upper limit monitoring for recorded value.
REAL DB553.DBD16 Recorded value of the Y signal. REAL DB553.DBD436 Recorded value of the Y signal.
REAL DB553.DBD20 Lower limit monitoring for recorded value. REAL DB553.DBD440 Lower limit monitoring for recorded value.
REAL DB553.DBD24 Recorded value of the X signal. REAL DB553.DBD444 Recorded value of the X signal.
When the " A_VAR_LESEN_Bereit / O_VAR_READ_READY " Ready output is set, the "READ VARIABLES" function can be performed to read the value of
variables of the last joining program was running. 58 local variables and 6 global variables can be read at the same time.
" E_VAR_LESEN_IDX / I_VAR_Read_IDX " and " E_VAR_LESEN_Laenge / I_VAR_Read_length " inputs specify the variable(s) to be read.
" E_VAR_LESEN_DB_ADDR / I_VAR_Read_DB_ADDR " and " E_VAR_LESEN_BYTE_ADDR / I_VAR_Read_BYTE_ADDR " inputs specify the data block
number and starting address to store the value of variables.
INPUTS OUTPUTS
E_VAR_LESEN_Start / I_VAR_Read_Start
Read variables A_VAR_LESEN_Bereit / O_VAR_READ_READY
Ready to run the READ VARIABLES function
E_VAR_LESEN_IDX / I_VAR_Read_IDX
Starting address (0 to 15) to select the
first variable to be read
A_VAR_LESEN_IO / O_VAR_READ_OK
E_VAR_LESEN_Laenge / I_VAR_Read_length Reading of variables finished and function correctly
Number of variable(s) to be read (1-16) performed
E_VAR_LESEN_DB_ADDR /
I_VAR_Read_DB_ADDR
Data block (DB) number to store the values.
A_VAR_LESEN_NIO / O_VAR_READ_NOK
E_VAR_LESEN_BYTE_ADDR /
Function not correctly performed and reading of variables
I_VAR_Read_BYTE_ADDR aborted
starting (byte) address of the selected data block
(DB) to store the data.
NOTE The maximum value allowed for "17) I_VAR_Read_IDX" and "18) I_VAR_Read_Langth" selection must be smaller than or equal to 64.
Variable Type Address Variable Type Address Variable Type Address Variable Type Address
Local variables: Values unsaved after a program change, the closing of UFM software or the power down of the assembly press drive (values set to 0).
NOTE Global variables: Values saved after a program change, the closing of UFM software or the power down of the assembly press drive.
" E_VAR_SCHR_IDX / I_VAR_Write_IDX " and " E_VAR_SCHR_Laenge / I_VAR_Write_length " inputs specify the variable(s) to be write.
" E_VAR_SCHR_DB_ADDR / I_VAR_Write_DB_ADDR " and " E_VAR_SCHR_BYTE_ADDR / I_VAR_Write_BYTE_ADDR " inputs specify the data block number
and starting address where the value of variables are stored.
INPUTS OUTPUTS
E_VAR_SCHR_Start / I_VAR_Write_Start
Start Write variables A_VAR_SCHR_Bereit / O_VAR_WRITE_READY
Ready to run the WRITE VARIABLES function
E_VAR_SCHR_IDX / I_VAR_Write_IDX
Starting address (0 to 15) to select the
first variable to be write
A_VAR_SCHR_IO / O_VAR_WRITE_OK
E_VAR_SCHR_Laenge / I_VAR_Write_length Writing of variables finished and function correctly
Number of variable(s) to be write (1-16) performed
E_VAR_SCHR_DB_ADDR / I_VAR_Write_DB_ADDR
Data block (DB) number of stored values.
A_VAR_SCHR_NIO / O_VAR_WRITE_NOK
E_VAR_SCHR_BYTE_ADDR / Function not correctly performed and writing of variables
I_VAR_Write_BYTE_ADDR aborted
starting (byte) address of the selected data block
(DB) to store the data.
The maximum value allowed for " E_VAR_SCHR_IDX / I_VAR_Write_IDX " and " E_VAR_SCHR_Laenge / I_VAR_Write_length " selection must be smaller than
NOTE or equal to 64.
Variable Type Address Variable Type Address Variable Type Address Variable Type Address
Local variables: Values unsaved after a program change, the closing of UFM software or the power down of the assembly press drive (values set to 0).
NOTE Global variables: Values saved after a program change, the closing of UFM software or the power down of the assembly press drive.
INPUTS OUTPUTS
E_ID_LESEN_Start / I_ID_Read_Start
Read ID code A_ID_LESEN_Bereit / O_ID_READ_READY
Ready to run the READ ID CODE function
E_ID_LESEN_IDX / I_ID_Read_IDX
Number (0-2) of ID parts (ID 1 to ID 3) to be read
together
A_ID_LESEN_IO / O_ID_READ_OK
Reading of ID code finished and function correctly
E_ID_LESEN_DB_ADDR / I_ID_Read_DB_ADDR performed
Data block (DB) number to store the ID characters
ID2
ID3
11 CHAR DB556.DBB10 11 CHAR DB556.DBB30
INPUTS OUTPUTS
E_ID_SCHR_Start / I_ID_Write_Start
Write ID code A_ID_SCHR_Bereit / O_ID_WRITE_READY
Ready to run the WRITE ID CODE function
E_ID_SCHR_IDX / I_ID_Write_IDX
Number (0-2) of ID parts (ID 1 to ID 3) to be write
together
A_ID_SCHR_IO / O_ID_WRITE_OK
Writing of ID code finished and function correctly performed
E_ID_SCHR_DB_ADDR / I_ID_Write_DB_ADDR
Data block (DB) number of stored ID characters
E_ID_SCHR_BYTE_ADDR /
A_ID_SCHR_NIO / O_ID_WRITE_NOK
I_ID_Write_BYTE_ADDR
Function not correctly performed and writing of ID code
aborted
starting (byte) address of the selected data block
(DB) to store the data.
ID2
ID3
11 CHAR DB557.DBB10 11 CHAR DB557.DBB30
" E_QUELL_LESEN_IDX / I_Source_Read_IDX " and " E_QUELL_LESEN_Laenge / I_Source_Read_Length " inputs specify the source parameter(s) to be read.
" E_M_PAR_QUELL_L_DB_ADDR / I_M_Par_Source_RD_DBaddr " and " E_M_PAR_QUEL_L_BYTE_ADDR / I_M_Par_Source_RD_BYaddr " inputs specify
the data block number and starting address to store the source parameters.
INPUTS OUTPUTS
E_QUELL_LESEN_Start / I_Source_Read_Start
Start Read source parameters A_QUELL_LESEN_Bereit /
O_SOURCE_READ_READY
E_QUELL_LESEN_IDX / I_Source_Read_IDX Ready to run the READ SOURCES function
Starting address (0 to 254) to select the
first source parameter to be read
A_QUELL_LESEN_IO / O_SOURCE_READ_OK
E_QUELL_LESEN_Laenge / I_Source_Read_Length
Reading of source parameters finished and function
Number of source parameter(s) to be read (1 to 255)
correctly performed
E_M_PAR_QUELL_L_DB_ADDR /
I_M_Par_Source_RD_DBaddr
Data block (DB) number to store the source parameters
A_QUELL_LESEN_NIO / O_SOURCE_READ_NOK
E_M_PAR_QUELL_L_BYTE_ADDR / Function not correctly performed and reading of source
I_M_Par_Source_RD_BYaddr parameters aborted
starting (byte) address of the selected data block
(DB) to store the data.
The maximum value allowed for "35) I_Source_Read_IDX" and "36) I_Source_Read_Langth" selection must be smaller than or equal to 255.
NOTE If the addressing is incorrect, no source signals will be read and an error message will appear.
Execution time of step REAL DB551.DBD12 162 REAL DB551.DBD648 Overload limit
Virtual input 1 REAL DB551.DBD20 164 REAL DB551.DBD656 Target value for Mode 1
Virtual input 1 REAL DB551.DBD24 165 REAL DB551.DBD660 Hand wheel Ratio*
NOTE Source signal 163 cannot be read using this function because this would lead to an incorrect interpretation
" E_QUELL_SCHR_IDX / I_Source_Write_IDX " and " E_QUELL_SCHR_Laenge / I_Source_Write_length " inputs specify the source parameter(s) to be write.
" E_M_PAR_QUELL_S_DB_ADDR / I_M_Par_Source_WR_DBaddr " and " E_M_PAR_QUELL_S_BYTE_ADDR / I_M_Par_Source_RD_BYaddr " inputs specify
the data block number and starting address where the value of source parameters are stored.
INPUTS OUTPUTS
E_QUELL_SCHR_Start / I_Source_Write_Start
Start Write source parameters A_QUELL_SCHR_Bereit /
O_SOURCE_WRITE_READY
E_QUELL_SCHR_IDX / I_Source_Write_IDX Ready to run the WRITE SOURCES function
Starting address (0 to 254) to select the
first source parameter to be write
The maximum value allowed for "38) I_Source_Write_IDX" and "39) I_Source_Write_Langth" selection must be smaller than or equal to 255.
NOTE If the addressing is incorrect, no source signals will be read and an error message will appear.
Execution time of step REAL DB552.DBD12 162 REAL DB552.DBD648 Overload limit
Virtual input 1 REAL DB552.DBD20 164 REAL DB552.DBD656 Target value for Mode 1
Virtual input 1 REAL DB552.DBD24 165 REAL DB552.DBD660 Hand wheel Ratio*
NOTE To write the source parameters for “MOVE” function, the “WRITE MOVE PARAMETERS” must be used. Otherwise, source parameter 163 might be misinterpreted
“E_A_SCHRITT / I_O_STEP_IN_PLC":
The step number of the complex function is set in this byte when an error occurs.
“E_A_PB_EINGAENGE ":
PB Interface (INPUTS)
“E_A_PB_AUSGAENGE / I_A_PB_OUTPUTS":
PB Interface (OUTPUTS)
“E_PB_EINGAENGE / I_E_PB_INPUTS":
Not available at the moment...
“E_A_PB_AUSGAENGE / I_A_PB_OUTPUTS":
Not available at the moment ...
“E_DB_ADDR / I_DB_ADDR":
Data block (DB) number to store the errors in the history.
“E_ABLAUF_RESET / I_PROCESS_RESET":
When this bit is set, the errors are saved in the history.
“E_DB_LOESCHEN / I_DB_DELETE":
when this bit is set, the history of saved errors is deleted.
4. - FLOWCHARTS
Start
NO
Read and write YES CYCLE OK ?
variables allowed?
YES
Motion YES NO
authorization?
NO Disable the interrupt input of data Read gaugings YES
exchange functions allowed?
NO
Disable the interrupt input of
motion functions
READ VARIABLES
Disable interrupt input of data exchange
functions
Homing NO NO
VARIABLES OK ?
request?
YES
YES READ GAUGINGS
READ GAUGINGS NO
OK?
NO REFERENCE NO
VARIABLES OK ?
OK? YES
YES
YES
CYCLE Results
Optional feature
Start
WRITE ID CODE
Homing NO
UPLOAD PROGRAM
request?
YES NO
ID code OK?
REFERENCE NO YES
UPLOAD OK?
YES CYCLE
NO REFERENCE
OK ? NO
Reading and Writing CYCLE OK?
YES NO
the ID code YES
allowed?
YES
Optional feature Results