Manual BVS_SC_S7-x00-C17
Por: Erick Dias • 12/4/2019 • Bibliografia • 3.472 Palavras (14 Páginas) • 166 Visualizações
[pic 3]
Software-Description
BVS SMARTCAMERA [pic 4]
Function Block S7-300/400
Function Block description for SMARTCAMERA [pic 5]
CONTENT
1 INTRODUCTION ............................................................................................................................ 2
1.1 General Data ........................................................................................................................................... 2 1.2 Recommendations of FB invoke ............................................................................................................ 2
2 COMMISIONING ............................................................................................................................ 3
2.1 FB parameter .......................................................................................................................................... 3 2.2 DB parameter .......................................................................................................................................... 3 2.3 Byte order setting ................................................................................................................................... 3 2.4 Device Parameter ................................................................................................................................... 3 [pic 6]
2.4.1 Device Parameter Slot 0 ..................................................................................................................... 3
2.4.2 IO-Link Port parameter ....................................................................................................................... 4
3 FB PARAMETER DESCRIPTION.................................................................................................. 5
3.1 FB illustration ......................................................................................................................................... 5 3.2 Input parameter ...................................................................................................................................... 6 3.3 Output parameter ................................................................................................................................... 7 3.4 General error codes ............................................................................................................................... 8 3.5 FB internal error codes .......................................................................................................................... 8 3.6 Description of commandos .................................................................................................................... 9 3.7 Disclaimer of Liability ........................................................................................................................... 10
1 INTRODUCTION
This function block is an example for the communication with a BVS SC SmartCamera. The example is free of charge. Please test carefully if the FB is suitable for your application! This function block allows a communication between a Balluff - SmartCamera BVS SC-_* and a Simatic® S7-300/400 PLC.
Please test carefully if the FB is suitable for your application!
The following commandos are supported:
Switch Application | Switches the application |
Get Application ID | Gets the ID of the currently active application |
Get Results | Gets the result container |
Send Data | Sets the input data of the application |
Get Camera Info | Gets the camera information |
Get Date Time | Get the time stamp |
Set Date Time | Sets the time stamp |
Set Sequence Number Sets the sequence number
Please examine, which of the given functions are supported by the camera!
For each SmartCamera the function block has to be called with an own instance data block.
1.1 General Data
Function block name: | FB50 |
Instance data block: | (an own instance data block has to be setup for each camera) |
Invoked blocks: | SFB4 TON, SFC24 |
Reserved memory bits: | none |
Reserved Timers: | none |
Reserved Counters: | none |
I/O Range | 16 - 512 Byte |
Invoke: | absolute |
Device compatibility: | Siemens Simatic® S7 300/400 |
Software version: | S7 version 5.5 |
1.2 Recommendations of FB invoke
The function block should be called only once per SmartCamera. Multiple calls of the function block at the same time are not allowed.
If the function block is conditionally called and the calling condition is false before FB sets it Ready output, the FB has to be initialized with the “Init” input. If the PLC restarts the “Init” input has to be set for one cycle. FB parameters can be assigned dynamically if necessary.
...