Do you have a question?
Please contact us via email, contact form or phone
+49-7243-2167-23 (head office, Germany) or directly your local contact.
Special note
This knowledge base is updated regularly. If you need an information and don't find it here, please don't hesitate to contact us! Of course, we're also to your disposal at the phone:
+49 7243 2167-0
High speed Encoder Interface for VC4xxx Smart Cameras
Serial output now inactive at startup with new camera hardware
All VC4xxx Smart Cameras (apart from VC4016 and VC4018) now feature a high speed encoder interface.
Please follow the link below to download the new demo program enc_RPM.c. This program measures the turing speed of the encoder.
Please note: The encoder interface is only supported with new hardware (new PWR board).
- VC Smart Cameras with the new encoder interface show a "1" as 3rd serial number digit (for example: 201XXXX for a VC4038 with encoder interface).
- VC Smart Cameras without encoder interface show a "0" (for example: 200XXXX for a VC4038 without encoder interface).
Please observe: VC Smart Camera operating systems are not interchangeable.
- New camera operating systems from VCRT Version number 5.24-8 cannot be installed on cameras with old hardware (check during installation).
- It is important not to install older operating systems VCRT Version numbers less than 5.24-8 on cameras with new hardware. (For example: 201XXXX for a VC4038 with encoder interface). This may damage the VC Smart Camera.
All VC Smart Cameras are now booting with the serial camera output inactve!
Since the serial output is now used as encoder signal input, this signal (V24 TxD out, Pin 1) is now inactive after starting the camera in order to protect an encoder connected.
Turn the serial interface on as shown in the demo program in order to use the serial output. The serial input is active from the camera start. This way the keypad can still be used to stop autoexec execution or to reset the IP address.
Start the md_rs232 program prior to your main program if you do not want to make adjustments to your code. This program simply calls the macro "INTERFACE_MODE(SERIAL), which means the camera starts up as serial camera as before (see file Mode_RS232.zip, download link below).
Encoder interface macros only work from VCRT/VCLIB PC library update version VCRT5.24_VCLIB302.
Also linked to this article is the source code and the compile test program for the encoder interface.
- type 'iftest4x enc' => encoder TEST
- type 'iftest4x ser' => serial I/O TEST
The Encoder.pdf shows the correct pin allocation for connecting an encoder (see download link below).
Follow this link to download all attached files.
Please log in to be able to download files.







