Lenze IO1000Drv User Manual

EDSPLCLIB01 13384444
Ä.GMMä
Software Manual
Function library "LenzeIO1000Drv"
for Lenze software »Drive PLC Developer Studio« and »PLC Designer«
L
Function library "LenzeIo1000Drv"

Contents

Contents
1 About this documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Conventions used
1.2 Definition of notes used
2 System requirements
3 Project planning concept
3.1 Parameterisation and process data blocks
3.2 Initialisation of the CAN driver
3.3 Minimum configuration
4 Function blocks
4.1 L_io1000ParAiDc - Parameterise analog inputs
4.2 L_io1000ParAiTemperature - Parameterise temperature measurement
4.3 L_io1000ParAoDc - Parameterise analog outputs
4.4 L_io1000ParCounterEPMS600 - Parameterise counter
4.5 L_io1000ParCounterEPMS601 - Parameterise counter
4.6 L_io1000ParCounterEPMS602 - Parameterise counter
4.7 L_io1000ParCounterEPMS603 - Parameterise counter
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
. . . . . . . . . . . . 14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.8 L_io1000ParCounterEPMS604 - Parameterise encoder evaluation
4.9 L_io1000ParRestore - Load default setting in I/O system
4.10 L_io1000ParPDO15 - Communication settings PDO1 ... PDO5
4.11 L_io1000ParPDO610 - Communication settings PDO6 ... PDO10
4.12 L_io1000ParComGuarding - Parameterising monitoring functions
4.13 L_io1000Data15 - Process data transfer PDO1 ... PDO5
4.14 L_io1000Data610 - process data transfer PDO6 ... PDO10
5 Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Your opinion is important to us
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
. . . . . . . . . . . . . . . . . . 35
. . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . 52
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
. . . . . . . . . . . . . . . . . . . . . . . . . . 58
2 L DMS 1.0 EN - 07/2011 - TD05

1 About this documentation

This documentation describes the function blocks that are contained in the "LenzeIo1000Drv" function library. These function blocks enable the access of Lenze PLC products (e.g. 9400
ServoPLC) to the decentralised I/O system 1000.
Note!
The "LenzeIo1000Drv" is exclusively suitable for Lenze-PLCs the project planning environment of which is not
Functional survey
Loading of the default setting of the L-force I/O system 1000
Parameter setting of the I/O compound modules (analog inputs and outputs,
temperature measurement, counters, encoder evaluation, pulse width modulation)
Function library "LenzeIo1000Drv"
About this documentation
provided with an *.eds import!
Setting of the communication-relevant parameters in the I/O system
Coordination of the process communication between PLC and I/O system
Validity information
The information given in this documentation is valid for the following function library:
Function library From version
LenzeIo1000DrvVxx.lib V1.0
Document history
Version Description
1.0 07/2011 TD05 First edition for LenzeIo1000DrvV10.lib
Tip!
The "LenzeIo1000DrvVxx.lib" library version can be queried via the following global constants:
C_wLenzeIo1000DrvVersionER: Enabled major version
C_wLenzeIo1000DrvVersionEL: Enabled minor version
C_wLenzeIo1000DrvVersionIR: Internal minor version
C_wLenzeIo1000DrvVersionBN: Internal build number
DMS 1.0 EN - 07/2011 - TD05 L 3
Function library "LenzeIo1000Drv"
About this documentation Conventions used

1.1 Conventions used

This documentation uses the following conventions to distinguish between different types of information:
Type of information Writing Examples/notes
Numbers
Decimal separator Point The decimal point is always used.
Text
Program name » « The Lenze PC software »PLC Designer«...
Window Italics The Message window ... / The Options dialog box...
Variable identifier By setting bEnable to TRUE...
Control element Bold The OK button... / The copy command... / The
Sequence of menu commands
Shortcut <Bold> Press <F1> to open the online help.
Program code Courier
Keyword Courier bold
Example: 1234.56
Properties tab... / The Name input field...
If several commands must be used in sequence to carry out a function, then the individual commands are separated by an arrow: Select File
If a key combination is required for a command, a "+" is inserted between the key identifiers: Use <Shift>+<ESC>...
IF var1 < var2 THEN a = a + 1 END IF
Open to...
Hyperlink Underlined
Symbols
Page reference ( 4) Optically highlighted reference to another page. It is
Step-by-step instructions
Optically highlighted reference to another topic. It is activated with a mouse click in this online documentation.
activated with a mouse click in this online documentation.
Step-by-step instructions are indicated by a pictograph.
4 L DMS 1.0 EN - 07/2011 - TD05

1.2 Definition of notes used

The following signal words and symbols are used in this documentation to indicate dangers and important information:
Safety instructions
Layout of the safety instructions:
Danger!
(characterises the type and severity of danger)
Note
(describes the danger and gives information about how to prevent dangerous situations)
Function library "LenzeIo1000Drv"
About this documentation
Definition of notes used
Pictograph Signal word Meaning
Danger! Danger of personal injury through dangerous electrical voltage
Danger! Danger of personal injury through a general source of danger
Stop! Danger of property damage
Application notes
Pictograph Signal word Meaning
Note! Important note to ensure trouble-free operation
Reference to an imminent danger that may result in death or serious personal injury if the corresponding measures are not taken.
Reference to an imminent danger that may result in death or serious personal injury if the corresponding measures are not taken.
Reference to a possible danger that may result in property damage if the corresponding measures are not taken.
Tip! Useful tip for simple handling
Reference to another document
DMS 1.0 EN - 07/2011 - TD05 L 5
Function library "LenzeIo1000Drv"
System requirements

2 System requirements

Software
The function library can be used with the following Lenze software:
Product Type designation Version
Drive PLC Developer Studio ESP-DDS2-x 2.x
PLC Designer V2 2.2 or higher
PLC Designer V3 ESPEVPDxxxxxx 3.x
Supported target systems
Product range Type designation Hardware version From software version
Drive PLC EPL-10200 1A or higher 2.x
9300 Servo PLC EVS93xx-EI
EVS93xx-ET
ECS ECSxA 1B or higher 7.x
9400 ServoPLC E94AxPExxxx 2A or higher 2.x
2M or higher 2.x
Required libraries for use in »Drive PLC Developer Studio« with Drive PLC/9300 Servo PLC/ECS:
Unless already available, insert the following libraries into the library management (menu
WindowLibrary management):
CANopenSdoDrvV10.lib
LenzeTICan9300V10.libLenzeIo1000DrvV10.lib
LenzeConversionBoxV10.lib (optional)
Note!
Before the "LenzeTICan9300V10.lib" library is inserted into the library manager, the CAN_Management system block must be implemented into the Control configuration.
If the CAN_Management system block is missing or implemented subsequently, a compilation error may be caused during the project compilation.
Remedy: implement the CAN_Management system block and re-insert the library into the library manager.
Remove "LenzeTICan9300V10.lib" library from the library manager,
6 L DMS 1.0 EN - 07/2011 - TD05
Function library "LenzeIo1000Drv"
System requirements
Required libraries for use in the »PLC Designer« with 9400 ServoPLC:
Unless already available, insert the following libraries into the library management (menu
WindowLibrary management):
LenzeCanOpenSdoDrvV10.lib
LenzeTICan9400V10.lib
LenzeIo1000DrvV10.libLenzeConversionBoxV10.lib (optional)
DMS 1.0 EN - 07/2011 - TD05 L 7
Function library "LenzeIo1000Drv"
Project planning concept Parameterisation and process data blocks

3 Project planning concept

The user is provided with suitable function blocks by the "LenzeIo1000Drvlib" library to enable support of the decentralised I/O system through Lenze PLC products These function blocks are implemented in an IEC 61131 program and serve both for parameterising the I/ O system and for process data processing. They provide digital and analog input and output information of the I/O system. Configurations of the user via user codes are not required.

3.1 Parameterisation and process data blocks

The "LenzeIo1000Drvlib" library contains two types of function blocks:
1. Parameterisation blocks
2. Process data blocks
Parameterisation blocks
Parameterisation blocks allow the modification of index information in the decentralised I/O system and the transmission of specified data. These data are transmitted only once to the I/O system during the initialisation phase..
The parameterisation blocks for modules and monitoring functions are required for
individual parameter setting of analog modules, communication monitoring, etc.
The parameterisation blocks communication settings (L_io1000ParPDO15
L_io1000ParPDO610
) are mandatory for data exchange between PLC and I/O system.
and
Note!
In case of parameterisation blocks with the same bus node address at the byNodeAdr input, the bExecute inputs must not be set to TRUE at the same time. The parameter setting of the modules and the communication settings of a bus coupler have to be started successively.
Process data blocks
Process data blocks are required for transmitting and receiving I/O data between PLC and I/O system. The process data blocks L_io1000Data15 evaluate and process the current process data information of the inputs of the I/O system in the PLC program. Information and data of the PLC control can be transmitted to the process via the output modules of the I/O system.
and L_io1000Data610 serve to
8 L DMS 1.0 EN - 07/2011 - TD05

3.2 Initialisation of the CAN driver

The "LenzeIo1000Drv.lib" function library for the L-force I/O system 1000 is based on a library for transmitting and receiving CAN objects. Depending on the PLC version, the "CAN on board" or an optional fieldbus card can be used as communication channel.
9400 ServoPLC
For using the "LenzeCanMsg.lib" library, an initialisation of the CAN driver with L_CanInit function block call is required. This function block must only be called once. Thus, best use the "PLC_START" system event for calling this function.
The L_CanInit function block outputs information on the communication channel used via its dwHandle output. This information must be provided to the blocks of the "LenzeIo1000Drv.Lib" via the dwHandle input.
Drive PLC, 9300 Servo PLC, ECS
For using the "LenzeCanDrv.lib" library, an initialisation of the CAN driver with the L_CanInit function call is required. This function must only be called once. Thus, best use the system POU "PLC_ColdStart" for calling this function.
Function library "LenzeIo1000Drv"
Project planning concept
Initialisation of the CAN driver
The L_CanInit function returns information on the communication channel used via the dwHandle variable. This information must be provided to the blocks of the "LenzeIo1000Drv.Lib" via the dwHandle input.
DMS 1.0 EN - 07/2011 - TD05 L 9
Function library "LenzeIo1000Drv"
Project planning concept Minimum configuration

3.3 Minimum configuration

For implementing the I/O system, a minimum configuration must be carried out. It consists of a parameterisation block L_io1000ParPDO15 relationships and a process data block L_io1000Data15 information.
The parameterisation block must be connected to the process data block as follows:
for parameterising the communication
for evaluation the input/output
The parameterisation block does not have to be executed in the same task as the
process data block. In this case, the outputs of the parameterisation block must be connected to the inputs of the process data block.
10 L DMS 1.0 EN - 07/2011 - TD05

4 Function blocks

Function block Function
L_io1000ParAiDc
L_io1000ParAiTemperature
L_io1000ParAoDc
L_io1000ParCounterEPMS600
L_io1000ParCounterEPMS601
L_io1000ParCounterEPMS602
L_io1000ParCounterEPMS603
L_io1000ParCounterEPMS604
L_io1000ParRestore
L_io1000ParPDO15
L_io1000ParPDO610
L_io1000ParComGuarding
L_io1000Data15
L_io1000Data610 Process data transfer PDO6 ... PDO10
Function library "LenzeIo1000Drv"
Function blocks
Parameterise I/O compound modules "analog inputs":
• EPM-S400
• EPM-S401
• EPM-S402
• EPM-S403
Parameterise I/O compound modules "temperature measurement":
• EPM-S404
• EPM-S405
Parameterise I/O compound modules "Analog outputs":
• EPM-S500
• EPM-S501
• EPM-S502
• EPM-S503
Parameterise I/O compound modules EPM-S600 (counter)
Parameterise I/O compound modules EPM-S601 (counter)
Parameterise I/O compound modules EPM-S602 (counter)
Parameterise I/O compound modules EPM-S603 (counter)
Parameterise I/O compound module EPM-S604 (encoder evaluation)
Load default setting in I/O system
Communication settings PDO1 ... PDO5:
• Identifier
• Transmission mode
• Cycle time/blocking time
Communication settings PDO6 ... PDO10:
• Identifier
• Transmission mode
• Cycle time/blocking time
Parameterise monitoring functions:
•NodeGuarding
•Heartbeat
• Switching performance of the output channels in the event of an error
• Timeout monitoring
Process data transfer PDO1 ... PDO5
DMS 1.0 EN - 07/2011 - TD05 L 11
Function library "LenzeIo1000Drv"
Function blocks L_io1000ParAiDc - Parameterise analog inputs

4.1 L_io1000ParAiDc - Parameterise analog inputs

Call possible in: ; Cyclic task
Interrupt task
; Time-controlled task (INTERVAL) Event-controlled task (EVENT)
This FB serves to parameterise the analog input modules EPM-S400, EPM-S401, EPM-S402 and EPM-S403.
A FALSE/TRUE edge at the bExecute input starts the parameter setting.The dnState output shows the transmission status.
L_io1000ParAiDc
bExecute bDone
dwHandle dnState
byNodeAdr
byAnalogModuleNo
byNoOfChannels
byFunction_CH1
byFunction_CH2
byFunction_CH3
byFunction_CH4
Inputs
Identifier/data type Information/possible settings
bExecute
dwHandle
DWORD
byNodeAdr
byAnalogModuleNo
byNoOfChannels
byFunction_CH1 ... _CH4
FALSEÊTRUE Start parameter setting of the analog input module
BOOL
• 9400 ServoPLC: Handle created by FB L_CanInit
• Drive PLC, 9300 Servo PLC, ECS: 10
1 ... 127 CAN node address of the I/O system
BYTE
1 ... 64 Number of the analog input module
BYTE
Number of channels of the I/O system
BYTE
Function channel 1 ... 4
BYTE
• see system manual "I/O system 1000": EPM-S400: Chapter 7.8.1 EPM-S401: Chapter 7.8.2 EPM-S402: Chapter 7.8.3 EPM-S403: Chapter 7.8.4
2 EPM-S400, EPM-S402
4 EPM-S401, EPM-S403
12 L DMS 1.0 EN - 07/2011 - TD05
Outputs
Identifier/data type Value/meaning
bDone
dnState
BOOL
Status of parameter setting
DINT
• When the function has been executed successfully, the value "0" is output.
TRUE Parameter setting completed successfully
-1003 byNodeAdr input is not in valid range
-1004 Wrong value at byAnalogModuleNo input
-1005 Wrong value at byNoOfChannels input
-2000 Error while executing the internal block for writing CAN indices
-2002 Wrong value at the dwHandle input
-2003 Wrong value at the byNodeAdr input
-2006 Writing of a wrong CAN index
-2007 Timeout while writing a CAN index of the I/O system
-2100 Error while writing a parameter of the I/O system
-2101 Output buffer is full
Function library "LenzeIo1000Drv"
Function blocks
L_io1000ParAiDc - Parameterise analog inputs
1 Parameter setting started
0 Parameter setting completed successfully
DMS 1.0 EN - 07/2011 - TD05 L 13
Function library "LenzeIo1000Drv"
Function blocks L_io1000ParAiTemperature - Parameterise temperature measurement

4.2 L_io1000ParAiTemperature - Parameterise temperature measurement

Call possible in: ; Cyclic task
Interrupt task
; Time-controlled task (INTERVAL) Event-controlled task (EVENT)
This FB serves to parameterise the analog input modules EPM-S404 and EPM-S405.
A FALSE/TRUE edge at the bExecute input starts the parameter setting.
The dnState output shows the transmission status.
L_io1000ParAiTemperature
bExecute bDone
dwHandle dnState
byNodeAdr
byAnalogModuleNo
byNoOfChannels
bDiagnosticAlarm
byTemperatureSystem
byFilter
bWireBreakDetection_CH1
byFunction_CH1
bySampling_CH1
bLimitAlarm_CH1
nUpperLimit_CH1
nLowerLimit_CH1
bWireBreakDetection_CH2
byFunction_CH2
bySampling_CH2
bLimitAlarm_CH2
nUpperLimit_CH2
nLowerLimit_CH2
bWireBreakDetection_CH3
byFunction_CH3
bySampling_CH3
bLimitAlarm_CH3
nUpperLimit_CH3
nLowerLimit_CH3
bWireBreakDetection_CH4
byFunction_CH4
bySampling_CH4
bLimitAlarm_CH4
nUpperLimit_CH4
nLowerLimit_CH4
14 L DMS 1.0 EN - 07/2011 - TD05
L_io1000ParAiTemperature - Parameterise temperature measurement
Inputs
Identifier/data type Information/possible settings
bExecute
dwHandle
DWORD
byNodeAdr
byAnalogModuleNo
byNoOfChannels
bDiagnosticAlarm
byTemperatureSystem
byFilter
bWireBreakDetection _CH1 ... _CH4
byFunction_CH1 ... _CH4
bySampling_CH1 ... _CH4
bLimitAlarm_CH1 ... _CH4
nUpperLimit_CH1 ... _CH4
nLowerLimit_CH1 ... _CH4
FALSEÊTRUE Start parameter setting of the analog input module
BOOL
• 9400 ServoPLC: Handle created by FB L_CanInit
• Drive PLC, 9300 Servo PLC, ECS: 10
1 ... 127 CAN node address of the I/O system
BYTE
1 ... 64 Number of the analog input module
BYTE
Number of channels of the I/O system
BYTE
BOOL
Temperature system
BYTE
Activate interference frequency suppression
BYTE
BOOL
Function channel 1 ... 4
BYTE
• see system manual "I/O system 1000": EPM-S404: Chapter 7.9.1 EPM-S405: Chapter 7.9.2
Conversion time channel 1 ... 4
BYTE
• see system manual "I/O system 1000": EPM-S404: Chapter 7.9.1 EPM-S405: Chapter 7.9.2
BOOL
Upper limit value channel 1 ... 4
BYTE
Lower limit value channel 1 ... 4
BYTE
2 EPM-S405
4 EPM-S404
TRUE Enable diagnostic alarm
0°C
1°F
2K
160Hz
250Hz
TRUE Activate open circuit detection channel 1 ... 4
TRUE Activate limit value monitoring channel 1 ... 4
Function library "LenzeIo1000Drv"
Function blocks
DMS 1.0 EN - 07/2011 - TD05 L 15
Function library "LenzeIo1000Drv"
Function blocks L_io1000ParAiTemperature - Parameterise temperature measurement
Outputs
Identifier/data type Value/meaning
bDone
dnState
BOOL
Status of parameter setting
DINT
• When the function has been executed successfully, the value "0" is output.
TRUE Parameter setting completed successfully
1 Parameter setting started
0 Parameter setting completed successfully
-1003 byNodeAdr input is not in valid range
-1004 Wrong value at byAnalogModuleNo input
-1005 Wrong value at byNoOfChannels input
-1007 Wrong value at byTemperatureSystem input
-1009 Wrong value at byFilter input
-2000 Error while executing the internal block for writing CAN indices
-2002 Wrong value at the dwHandle input
-2003 Wrong value at the byNodeAdr input
-2006 Writing of a wrong CAN index
-2007 Timeout while writing a CAN index of the I/O system
-2100 Error while writing a parameter of the I/O system
-2101 Output buffer is full
16 L DMS 1.0 EN - 07/2011 - TD05
Function library "LenzeIo1000Drv"
L_io1000ParAoDc - Parameterise analog outputs

4.3 L_io1000ParAoDc - Parameterise analog outputs

Function blocks
Call possible in: ; Cyclic task
Interrupt task
; Time-controlled task (INTERVAL) Event-controlled task (EVENT)
This FB serves to parameterise the analog output modules EPM-S500, EPM-S501, EPM­S502 and EPM-S503.
A FALSE/TRUE edge at the bExecute input starts the parameter setting.The dnState output shows the transmission status.
L_io1000ParAoDc
bExecute bDone
dwHandle dnState
byNodeAdr
byAnalogModuleNo
byNoOfChannels
bShortCircuitDetection_CH1
byFunction_CH1
bShortCircuitDetection_CH2
byFunction_CH2
bShortCircuitDetection_CH3
byFunction_CH3
bShortCircuitDetection_CH4
byFunction_CH4
Inputs
Identifier/data type Information/possible settings
bExecute
dwHandle
DWORD
byNodeAdr
byAnalogModuleNo
byNoOfChannels
bShortCircuitDetection _CH1 ... _CH4
byFunction_CH1 ... _CH4
FALSEÊTRUE Start parameter setting of the analog output module
BOOL
• 9400 ServoPLC: Handle created by FB L_CanInit
• Drive PLC, 9300 Servo PLC, ECS: 10
1 ... 127 CAN node address of the I/O system
BYTE
1 ... 64 Number of the analog output module
BYTE
Number of channels of the I/O system
BYTE
BOOL
Function channel 1 ... 4
BYTE
• see system manual "I/O system 1000": EPM-S500: Chapter 7.8.5 EPM-S501: Chapter 7.8.6 EPM-S502: Chapter 7.8.7 EPM-S503: Chapter 7.8.8
2 EPM-S500, EPM-S502
4 EPM-S501, EPM-S503
TRUE Activate short circuit detection channel 1 ... 4
DMS 1.0 EN - 07/2011 - TD05 L 17
Function library "LenzeIo1000Drv"
Function blocks L_io1000ParAoDc - Parameterise analog outputs
Outputs
Identifier/data type Value/meaning
bDone
dnState
BOOL
Status of parameter setting
DINT
• When the function has been executed successfully, the value "0" is output.
TRUE Parameter setting completed successfully
1 Parameter setting started
0 Parameter setting completed successfully
-1003 byNodeAdr input is not in valid range
-1004 Wrong value at byAnalogModuleNo input
-1005 Wrong value at byNoOfChannels input
-2000 Error while executing the internal block for writing CAN indices
-2002 Wrong value at the dwHandle input
-2003 Wrong value at the byNodeAdr input
-2006 Writing of a wrong CAN index
-2007 Timeout while writing a CAN index of the I/O system
-2100 Error while writing a parameter of the I/O system
-2101 Output buffer is full
18 L DMS 1.0 EN - 07/2011 - TD05
Function library "LenzeIo1000Drv"
L_io1000ParCounterEPMS600 - Parameterise counter

4.4 L_io1000ParCounterEPMS600 - Parameterise counter

Function blocks
Call possible in: ; Cyclic task
Interrupt task
; Time-controlled task (INTERVAL) Event-controlled task (EVENT)
This FB serves to parameterise the EPM-S600 counter module.
A FALSE/TRUE edge at the bExecute input starts the parameter setting.
The dnState output shows the transmission status.
L_io1000ParCounterEPMS600
bExecute bDone
dwHandle dnState
byNodeAdr
byAnalogModuleNo
bDiagnosticAlarm
byInputFrequencyTrackA
byInputFrequencyTrackB
byInputFrequencyLatch
byInputFrequencyGate
byInputFrequencyReset
byAlarmFunction
byCounterFunction
bySignalSelection
bActivateHardwareGate
bInternalGateInterrupt
byCompareFunction
bInvertDirectionTrackB
byResetFunction
dwLoadValue
dwEndValue
byHysteresis
byPulse
Inputs
Identifier/data type Information/possible settings
bExecute
dwHandle
DWORD
byNodeAdr
byAnalogModuleNo
bDiagnosticAlarm
DMS 1.0 EN - 07/2011 - TD05 L 19
FALSEÊTRUE Start parameter setting of the analog output module
BOOL
• 9400 ServoPLC: Handle created by FB L_CanInit
• Drive PLC, 9300 Servo PLC, ECS: 10
1 ... 127 CAN node address of the I/O system
BYTE
1 ... 64 Number of the analog output module
BYTE
TRUE Enable diagnostic alarm
BOOL
Function library "LenzeIo1000Drv"
Function blocks L_io1000ParCounterEPMS600 - Parameterise counter
Identifier/data type Information/possible settings
byInputFrequencyTrackA
byInputFrequencyTrackB
byInputFrequencyLatch
byInputFrequencyGate
byInputFrequencyReset
Input filter of digital input 1 "A"/"pulse"
BYTE
Input filter of digital input 5 "B"/"direction"
BYTE
Input filter of digital input 4 "latch"
BYTE
Input filter of digital input 8 "hardware gate"
BYTE
Input filter of digital input 7 "reset"
BYTE
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
75 kHz
82 kHz
91 kHz
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
75 kHz
82 kHz
91 kHz
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
75 kHz
82 kHz
91 kHz
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
75 kHz
82 kHz
91 kHz
2 100 kHz
3 60 kHz
4 30 kHz
6 10 kHz
75 kHz
82 kHz
91 kHz
20 L DMS 1.0 EN - 07/2011 - TD05
Loading...
+ 44 hidden pages