Mitsubishi Electric MELSEC iQ-R Series User Manual

Mitsubishi Electric MELSEC iQ-R Series User Manual

Camera recording package
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Quick Links

Camera Recording Package User's Manual

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 Camera Recording Package User's Manual...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user's manual for the CPU module used.
  • Page 4: Conditions Of Use For The Product

    Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 5: Introduction

    Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the Mitsubishi Electric programmable controllers to handle the product correctly. Please make sure that the end users read this manual.
  • Page 6: Table Of Contents

    MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part) ....... .
  • Page 7 CHAPTER 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) M+CameraRecord_AXIS_SetTime_R ............64 Overview .
  • Page 8 FB details................103 Error code .
  • Page 9: Relevant Manuals

    Basic operating procedure of GX VideoViewer and playback procedure of video files e-Manual [SH-082370ENG] e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
  • Page 10: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description GX VideoViewer A tool for playing back video files recorded with the Camera recording package. Video Verification Tool was upgraded and renamed GX VideoViewer. Recording event A sequence of operations from when a video file is generated to the video file is saved into a desired storage based on the settings in a network camera Recording trigger A trigger that executes video recording...
  • Page 11: Chapter 1 Overview

    OVERVIEW Overview of Camera Recording Package The Camera recording package is a solution to realize a recording system by using dedicated FBs for a network camera connected with an Ethernet port. This product provides the FB library for operating the system mentioned earlier and the setting procedure of the network camera.
  • Page 12: Fb Library List

    FB Library List The following tables list the FB libraries included in this product for each corresponding device. MELSEC iQ-R series CPU module (built-in Ethernet port part) Function name Name Description Time setting M+CameraRecord_AXIS_SetTime_R Sets the clock data of the CPU module to the network camera connected to the Ethernet port.
  • Page 13 Recording trigger OFF Recording duration • For the MELSEC iQ-R series, by synchronizing the time of the network camera and the programmable controller, video files and the data acquired by the recorder module can be aligned and checked on a common time axis.
  • Page 14: Chapter 2 System Configuration

    SYSTEM CONFIGURATION This section describes the system configuration in which the Camera recording package is used. No. Device name Description Page 13 Compatible Programmable Controllers Programmable controller Network camera • Ethernet-connectable camera ( Network cameras supporting the Camera recording package (FA-A-0306)) •...
  • Page 15: Compatible Programmable Controllers

    Compatible Programmable Controllers The following table lists the programmable controllers capable of using the FBs of the Camera recording package. MELSEC iQ-R series CPU module (built-in Ethernet port part) Module Model Programmable controller CPU R00CPU R01CPU R02CPU R04CPU R08CPU R16CPU...
  • Page 16: Compatible Network Cameras

    Compatible Network Cameras For the network cameras that can communicate using the FBs of the Camera recording package, refer to the following.  Network cameras supporting the Camera recording package (FA-A-0306) 2 SYSTEM CONFIGURATION 2.2 Compatible Network Cameras...
  • Page 17: Chapter 3 Procedures Before Operation

    When MELSEC iQ-R series CPU module (built-in Ethernet port part) is used Configure the settings on the network camera side. ( Page 17 NETWORK CAMERA SETTINGS) Configure the settings on the programmable controller side. ( Page 28 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)) Connect the devices shown in the system configuration.
  • Page 18 MEMO 3 PROCEDURES BEFORE OPERATION...
  • Page 19: Chapter 4 Network Camera Settings

    NETWORK CAMERA SETTINGS This section describes the network camera settings. (The actual setting windows may differ from those in the procedure.) Initial Start-up Settings for Network Camera Use a web browser to configure the network camera. When the network camera is started up for the first time, network settings such as the IP address setting are required.
  • Page 20 When the web server is accessed, the administrator password setting window is displayed. Set a password and the language, and click the [Create login] button. • The password should be within 4 to 64 characters. • Do not use "$" in the password. Log in to the network camera.
  • Page 21 Configure the settings as follows. • Set "IPv4" to "Manual IP and manual DNS", and set desired network parameters. Set the IP address and subnet mask in the same segment as the programmable controller and network storage. • Turn off "Automatic date and time" and set the time manually. •...
  • Page 22 The live view window is displayed. Adjust the installation position of the network camera by checking the image, and click the [Done] button. 4 NETWORK CAMERA SETTINGS 4.1 Initial Start-up Settings for Network Camera...
  • Page 23: Date And Time Settings

    Date and Time Settings Set the date and time of the network camera. These settings are not required if they have already been set at initial startup. From the live view window, select [Settings]  [System]  [Date and time]. Turn off "Automatic date and time"...
  • Page 24: Recording Event Settings

    Recording Event Settings Configure the recording event settings. These settings use a virtual input as a trigger to save generated video files into a desired network storage. Profile settings From the live view window, select [Settings]  [Stream]  [Stream profiles]. From the "Stream profiles"...
  • Page 25 ■Profile specifications Set the profile to any of the following. Compression format Resolution Frame rate • 1920  1080 (16:9) • H.264 120, 100, 60, 50, 30, 25, 15, 10 • 1280  720 (16:9) • MJPEG • 640  480 (4:3) •...
  • Page 26 Rule settings From the live view window, select [Settings]  [System]  [Events]. Click the [+] button to create a rule. Set any name for the rule. In "Condition", select "Virtual input". In "Port", select any number from 1 to 32. The value set in "Port"...
  • Page 27 Set "Action". Content to be set varies depending on the recording method. Video recording before and after the recording trigger Video recording while the recording trigger is on • Select "Record video". Select "Record video while the rule is active". •...
  • Page 28 Save destination settings Set the save destination of video files. Select [Settings]  [System]  [Storage], and click the [Set up] button under "Network storage". Enter the IP address of the network storage in "Host" and the common folder name in "Share". 4 NETWORK CAMERA SETTINGS 4.3 Recording Event Settings...
  • Page 29 When login to the network storage is required, select "The share requires login" and enter the login ID of the network storage in "Username" and the password in "Password". Click the [Connect] button to display the network storage status. If the connection fails, review the settings from step 2 or check the communication method between the network camera and network storage.
  • Page 30: Chapter 5 Programmable Controller Settings

    Settings] Set the IP address and subnet mask of a module to be used. Set the IP address in the same segment as the network camera. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 31 • Set 80 to the port number of sensor/device. Click the [Close with Reflecting the Setting] button and click the [Apply] button in the module parameter. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 32: Clock Settings

    This setting is not required if the time synchronization by the NTP server has been set on the network camera side. For details on the time setting function (SNTP client) of the MELSEC iQ-R series CPU modules, refer to the following.
  • Page 33: Connection Of Devices

    • IP address: 192.168.3.30 storage) • User ID: admin • Password: PW1234 Personal computer IP address: 192.168.3.100  (Windows  PoE switching hub Ethernet (twisted pair) cable  5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 34: Creating A Program

    From "Library" on the "Element Selection" window, drag and drop the applicable FB to the editor. Enter the input labels and output labels of the created FB to create a program. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 35 The on state indicates that setting the time has been completed. o_bErr The on state indicates that an error has occurred in the FB. o_uErrId Returns the error code of an error occurred in the FB. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 36 The on state indicates that the virtual input port status on the network camera side has been switched. o_bErr The on state indicates that an error has occurred in the FB. o_uErrId Returns the error code of an error occurred in the FB. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 37 FB may not be completed successfully and a timeout error (C1E2H) may occur. Ensure that the recording durations of events do not overlap when this FB is executed. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 38 (FB execution command) is turned on again. • Global label • Program i_bEN i_bVirtualInputState o_bOK Virtual input port status of the camera Recording duration (1) Video recording duration 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 39 (3) Post-trigger recording time (Postbuffer) When recording video before and after turning on the recording trigger, the second recording cannot be executed in the network camera without the above processing. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.1 MELSEC iQ-R Series CPU Module (Built-in Ethernet Port Part)
  • Page 40: Melsec Iq-R Series Rj71En71, Rnencpu (Network Part)

    [Basic Settings]  [Own Node Settings] Set the IP address and subnet mask of the Ethernet port to be used. Set the IP address in the same segment as the network camera. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 41 1024 to 4999 or 5010 to 61439 is recommended. • Set 80 to the port number of sensor/device. Click the [Close with Reflecting the Setting] button and click the [Apply] button in the module parameter. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 42: Clock Settings

    This setting is not required if the time synchronization by the NTP server has been set on the network camera side. For details on the time setting function (SNTP client) of the MELSEC iQ-R series CPU modules, refer to the following.
  • Page 43: Connection Of Devices

    IP address: 192.168.3.100  PoE switching hub  Ethernet (twisted pair) cable When connecting a network camera to the RnENCPU (network part), only the Ethernet port (P1) can be used. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 44: Creating A Program

    From "Library" on the "Element Selection" window, drag and drop the applicable FB to the editor. Enter the input labels and output labels of the created FB to create a program. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 45 The on state indicates that setting the time has been completed. o_bErr The on state indicates that an error has occurred in the FB. o_uErrId Returns the error code of an error occurred in the FB. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 46 • Global label • Program i_bEN o_bOK Virtual input port status of the camera Recording duration (1) Video recording duration (2) Pre-trigger recording time (Prebuffer) (3) Post-trigger recording time (Postbuffer) 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 47 FB may not be completed successfully and a timeout error (C1E2H) may occur. Ensure that the recording durations of events do not overlap when this FB is executed. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 48 (FB execution command) is turned on again. • Global label • Program i_bEN i_bVirtualInputState o_bOK Virtual input port status of the camera Recording duration (1) Video recording duration 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 49 (3) Post-trigger recording time (Postbuffer) When recording video before and after turning on the recording trigger, the second recording cannot be executed in the network camera without the above processing. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.2 MELSEC iQ-R Series RJ71EN71, RnENCPU (Network Part)
  • Page 50: Melsec-Q Series Cpu Module

    MELSEC-Q Series CPU Module Ethernet port settings Configure the Ethernet port settings using GX Works2. IP address settings [Navigation window]  [Parameter]  [PC Parameter]  [Built-in Ethernet Port Setting] Set the IP address, subnet mask pattern, and default rooter IP address of the module to be used. •...
  • Page 51 External device configuration Set the network camera to be connected. [Navigation window]  [Parameter]  [PC Parameter]  [Built-in Ethernet Port Setting]  [Open Setting] Set the following items in the "Built-in Ethernet Port Open Setting" window. • Open system (socket communications) •...
  • Page 52: Clock Settings

    Clock settings Set clock data of the programmable controller. [Online]  [Set Clock] Check and enter the time, and click [Execute]. This setting is not required if the time synchronization by the NTP server has been set on the network camera side.
  • Page 53: Connection Of Devices

    Connection of devices Connect the devices shown in the system configuration. ( Page 12 SYSTEM CONFIGURATION) Device name Setting details Q06UDVCPU • IP address: 192.168.3.39 (Default) • Subnet mask pattern: 255.255.255.0 • Default router IP address: 192.168.3.254 Network camera manufactured by •...
  • Page 54: Creating A Program

    Creating a program This section describes how to register the FB library to the library list and create a program using GX Works2. Registering the FB library Register the FB library to be used to the library list. Execute "setup.exe" from the ZIP file in the camera recording package to install the library. [Project] ...
  • Page 55 • Installing M+CRLF, M+MD5, and M+Smalltext is required, though they are not used in the program. • FBs in a project cannot be overwritten or deleted. If any changes are made to FBs due to update of the installer, create a new project. 5 PROGRAMMABLE CONTROLLER SETTINGS 5.3 MELSEC-Q Series CPU Module...
  • Page 56 Creating a program Create a program using an FB. [Navigation Window]  [POU]  [FB Control] Drag and drop the applicable FB to the editor. Enter the input labels and output labels of the created FB to create a program. For the subroutine FBs, setting labels that are common to the FBs for time setting, recording instruction, and virtual input port control is required.
  • Page 57 ■Example to create M+CPU-CamRec_AXIS_SetTime (Time setting) This FB is executed once when the operating status of the CPU module is changed to RUN to set the time information of the CPU module to the network camera. ■When bSetTime_EN (FB execution command) is turned on, the time of the CPU module is set to the network camera. •...
  • Page 58 ■Example to create M+CPU-CamRec_AXIS_ETrigger (Recording direction) This FB is executed at the timing of recording to execute a recording event of the network camera. ■When bEventTrigger_EN (FB execution command) is turned on, the recording is instructed to the network camera. •...
  • Page 59 Input label Setting details Setting example FB_EN Connects with a device used as a recording trigger.  On: The FB is activated (a recording event is executed). Off: The FB is stopped. iw_ConnectionNo Sets the connection number. is_UserName Sets the user name registered in the network camera. "root"...
  • Page 60 ■Example to create M+CPU-CamRec_AXIS_VIControl (Virtual input port control) This FB executes a recording event of the network camera with the virtual input port status on or off. ■When bVirtualInputControl_EN (FB execution command) is turned on, the recording is instructed to the network camera. •...
  • Page 61 Input label Setting details Setting example FB_EN Connects with a device used as a recording trigger.  On: The FB is activated (a recording event is executed). Off: The FB is stopped. iw_ConnectionNo Sets the connection number. is_UserName Sets the user name registered in the network camera. "root"...
  • Page 62: Chapter 6 Playback Of Video Files

    PLAYBACK OF VIDEO FILES Video files that are generated with this product can be played back using GX VideoViewer. When checking the video, GX VideoViewer can be used together with GX Works3 and GX LogViewer. For details, refer to the following.
  • Page 63: Video File Specifications

    Video file specifications The following table shows the specifications of video files that can be played back on Video Verification Tool. File format Maximum file size Resolution Frame rate 320  240 pixel, 640  480 pixel, 1280  720 pixel, 120fps, 100fps, 60fps, 50fps, 30fps, 25fps, 15fps, 1920 ...
  • Page 64: Chapter 7 Troubleshooting

    If the constant scan time exceeds 500ms, the socket communications are disconnected by the network camera exceeding 500ms is set. operation and data communications is disabled. ■When the error code 1128H or 112EH is output in the connection with the MELSEC iQ-R series module Item to check...
  • Page 65 When an FB cannot be executed for two or more network cameras simultaneously Item to check Action and cause In "External Device Configuration", check After setting different port numbers to each programmable controller, execute the FB again. whether different port numbers are set to If the same port number is set to the programmable controllers in "External Device Configuration", the each programmable controller.
  • Page 66: Chapter 8 Fb Library Details (For Melsec Iq-R Series Cpu Modules (Built-In Ethernet Port Part))

    The on state indicates that an error has occurred in the FB. an error o_uErrId Error code Word [unsigned] The error code of an error occurred in the FB is stored. 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.1 M+CameraRecord_AXIS_SetTime_R...
  • Page 67: Fb Details

    FB details Relevant modules and software ■Target module MELSEC iQ-R series programmable controller CPU (built-in Ethernet port) ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works3 Version 1.065T or later Basic specifications Item Description Programming language Ladder diagram, ST...
  • Page 68 ■When the FB completed with an error i_bEN o_bENO Command send processing Not performed Performed Not performed o_bOK o_bErr o_uErrId Error code 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.1 M+CameraRecord_AXIS_SetTime_R...
  • Page 69: Error Codes

    Errors that occur in each processing for data communication between above the Ethernet-equipped module and external device, and errors that occur in processing requests from the CPU module in the own station 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.1 M+CameraRecord_AXIS_SetTime_R...
  • Page 70: M+Camerarecord_Axis_Eventtrigger_R

    The on state indicates that an error has occurred in the FB. an error o_uErrId Error code Word [unsigned] The error code of an error occurred in the FB is stored. 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.2 M+CameraRecord_AXIS_EventTrigger_R...
  • Page 71: Fb Details

    FB details Relevant modules and software ■Target module MELSEC iQ-R series programmable controller CPU (built-in Ethernet port) ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works3 Version 1.065T or later Basic specifications Item Description Programming language Ladder diagram, ST...
  • Page 72 • Do not perform the open/close processing instruction (SP.SOCOPEN/SP.SOCCLOSE) in the socket communications whose connection number is used in the FB. Doing so affects the FB operation. 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.2 M+CameraRecord_AXIS_EventTrigger_R...
  • Page 73 ■When the FB completed with an error i_bEN o_bENO Command send processing Not performed Not performed Performed o_bOK o_bErr o_uErrId Error code 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.2 M+CameraRecord_AXIS_EventTrigger_R...
  • Page 74: Error Codes

    Errors that occur in each processing for data communication between above the Ethernet-equipped module and external device, and errors that occur in processing requests from the CPU module in the own station 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.2 M+CameraRecord_AXIS_EventTrigger_R...
  • Page 75: M+Camerarecord_Axis_Virtualinputcontrol_R

    The on state indicates that an error has occurred in the FB. an error (10) o_uErrId Error code Word [unsigned] The error code of an error occurred in the FB is stored. 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.3 M+CameraRecord_AXIS_VirtualInputControl_R...
  • Page 76: Fb Details

    FB details Relevant modules and software ■Target module MELSEC iQ-R series programmable controller CPU (built-in Ethernet port) ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works3 Version 1.065T or later Basic specifications Item Description Programming language Ladder diagram, ST...
  • Page 77 • Do not perform the open/close processing instruction (SP.SOCOPEN/SP.SOCCLOSE) in the socket communications whose connection number is used in the FB. Doing so affects the FB operation. 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.3 M+CameraRecord_AXIS_VirtualInputControl_R...
  • Page 78 ■When the FB completed with an error i_bEN o_bENO Command send processing Not performed Not performed Performed i_bVirtualInputPortState Virtual input port status of the camera o_bOK o_bErr o_uErrId Error code 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.3 M+CameraRecord_AXIS_VirtualInputControl_R...
  • Page 79: Error Codes

    Errors that occur in each processing for data communication between above the Ethernet-equipped module and external device, and errors that occur in processing requests from the CPU module in the own station 8 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES CPU MODULES (BUILT-IN ETHERNET PORT PART)) 8.3 M+CameraRecord_AXIS_VirtualInputControl_R...
  • Page 80: Chapter 9 Fb Library Details (For Melsec Iq-R Series Modules (Rj71En71, Rnencpu (Network Part))

    *1 For the RnENCPU (network part), the effective range is 17 to 64 because only the Ethernet port (P1) can be connected. 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.1 M+CameraRecord-E_AXIS_SetTime_R...
  • Page 81 The on state indicates that an error has occurred in the FB. completed with an error o_uErrId Error code Word [unsigned] The error code of an error occurred in the FB is stored. 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.1 M+CameraRecord-E_AXIS_SetTime_R...
  • Page 82: Fb Details

    FB details Relevant modules and software ■Target module MELSEC iQ-R series Ethernet module, RnENCPU (network part) ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works3 Version 1.065T or later Basic specifications Item Description Programming language Ladder diagram, ST Number of steps...
  • Page 83 ■When the FB completed with an error i_bEN o_bENO Command send processing Not performed Not performed Performed o_bOK o_bErr o_uErrId Error code 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.1 M+CameraRecord-E_AXIS_SetTime_R...
  • Page 84: Error Code

     MELSEC iQ-R Ethernet User's Manual (Application) above the Ethernet-equipped module and external device, and errors that occur in processing requests from the CPU module in the own station 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.1 M+CameraRecord-E_AXIS_SetTime_R...
  • Page 85: M+Camerarecord-E_Axis_Eventtrigger_R

    The on state indicates that an error has occurred in the FB. completed with an error (10) o_uErrId Error code Word [unsigned] The error code of an error occurred in the FB is stored. 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.2 M+CameraRecord-E_AXIS_EventTrigger_R...
  • Page 86: Fb Details

    FB details Relevant modules and software ■Target module MELSEC iQ-R series Ethernet module, RnENCPU (network part) ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works3 Version 1.065T or later Basic specifications Item Description Programming language Ladder diagram, ST Number of steps...
  • Page 87 ■When the FB completed with an error i_bEN o_bENO Command send processing Not performed Not performed Performed o_bOK o_bErr o_uErrId Error code 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.2 M+CameraRecord-E_AXIS_EventTrigger_R...
  • Page 88: Error Code

     MELSEC iQ-R Ethernet User's Manual (Application) above the Ethernet-equipped module and external device, and errors that occur in processing requests from the CPU module in the own station 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.2 M+CameraRecord-E_AXIS_EventTrigger_R...
  • Page 89: M+Camerarecord-E_Axis_Virtualinputcontrol_R

    M+CameraRecord-E_AXIS_VirtualInputControl_R Overview This FB enables or disables the execution trigger of the recording event set to the network camera manufactured by Axis Communications that is connected to the MELSEC iQ-R series Ethernet module or RnENCPU network part. M+CameraRecord-E_AXIS_VirtualInputControl_R B:i_bEN o_bENO:B...
  • Page 90: Fb Details

    FB details Relevant modules and software ■Target module MELSEC iQ-R series Ethernet module, RnENCPU (network part) ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works3 Version 1.065T or later Basic specifications Item Description Programming language Ladder diagram, ST Number of steps...
  • Page 91 ■When the FB completed successfully i_bEN o_bENO Command send processing Performed Not performed Not performed i_bVirtualInputPortState Virtual input port status of the camera o_bOK o_bErr o_uErrId 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.3 M+CameraRecord-E_AXIS_VirtualInputControl_R...
  • Page 92 ■When the FB completed with an error i_bEN o_bENO Command send processing Not performed Not performed Performed i_bVirtualInputPortState Virtual input port status of the camera o_bOK o_bErr o_uErrId Error code 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.3 M+CameraRecord-E_AXIS_VirtualInputControl_R...
  • Page 93: Error Code

    Errors that occur in each processing for data communication between above the Ethernet-equipped module and external device, and errors that occur in processing requests from the CPU module in the own station 9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART)) 9.3 M+CameraRecord-E_AXIS_VirtualInputControl_R...
  • Page 94: Chapter 10 Fb Library Details (For Melsec-Q Series Cpu Modules)

    FB LIBRARY DETAILS (FOR MELSEC-Q SERIES CPU MODULES) 10.1 M+CPU-CamRec_AXIS_SetTime Overview This FB sets the clock data of the CPU module to the network camera manufactured by Axis Communications that is connected to the MELSEC-Q series QnUDVCPU. M+CPU-CameraRecord_AXIS_SetTime B:FB_EN FB_ENO:B W:iw_ConnectionNo FB_OK:B S:is_Username...
  • Page 95 Output label Variable name Name Data type Initial value Description FB_ENO Execution status On: The execution command is on. Off: The execution command is off. FB_OK When the FB The on state indicates that sending the time setting completed command has been completed. successfully FB_ERROR When the FB...
  • Page 96: Fb Details

    FB details Relevant modules and software ■Target module High-speed Universal model QCPU ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works2 Version 1.586L or later Basic specifications Item Description Programming language Ladder diagram Number of steps 2550 steps The value is a reference value because of the number of steps in the label program. For details, refer to the following. ...
  • Page 97 Restrictions and precautions • The FB does not include the error recovery processing. Prepare the error recovery processing separately to suit the actual system and the expected operation. • The FB cannot be used in an interrupt program. • Using the FB in a program that is to be executed only once, such as a subroutine program or a FOR-NEXT loop, has a problem where FB_EN (Execution command) can no longer be turned off and normal operation is not possible;...
  • Page 98: Error Code

    Error code Error code Description Action C1E0H • Effective range error (Connection No./User name/Password) Review and correct the input label, and execute the FB again. The set data is out of effective range: iw_ConnectionNo is not set within 1 to 16; is_UserName is not set within 4 to 14 characters; or is_PassWord is not set within 4 to 64 characters.
  • Page 99: M+Cpu-Camrec_Axis_Etrigger

    10.2 M+CPU-CamRec_AXIS_ETrigger Overview This FB executes the recording event set to the network camera manufactured by Axis Communications that is connected to the MELSEC-Q series QnUDVCPU. M+CPU-CameraRecord_AXIS_EventTrigger B:FB_EN FB_ENO:B W:iw_ConnectionNo FB_OK:B S:is_Username FB_ERROR:B S:is_Password ERROR_ID:W W:iw_VIPortNo To use this FB, setting labels for subroutine FBs is required. ( Page 54 Creating a program) Labels Input labels Variable name...
  • Page 100: Fb Details

    FB details Relevant modules and software ■Target module High-speed Universal model QCPU ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works2 Version 1.586L or later Basic specifications Item Description Programming language Ladder diagram Number of steps 2097 steps The value is a reference value because of the number of steps in the label program. For details, refer to the following. ...
  • Page 101 Restrictions and precautions • The FB does not include the error recovery processing. Prepare the error recovery processing separately to suit the actual system and the expected operation. • The FB cannot be used in an interrupt program. • Using the FB in a program that is to be executed only once, such as a subroutine program or a FOR-NEXT loop, has a problem where FB_EN (Execution command) can no longer be turned off and normal operation is not possible;...
  • Page 102 Timing chart of I/O signals ■When the FB completed successfully FB_EN FB_ENO Command send processing Performed Not performed Not performed FB_OK FB_ERROR ERROR_ID ■When the FB completed with an error FB_EN FB_ENO Command send processing Not performed Not performed Performed FB_OK FB_ERROR ERROR_ID...
  • Page 103: Error Code

    Error code Error code Description Action C1E0H • Effective range error (Connection No./User name/Password) Review and correct the input label, and execute the FB again. The set data is out of effective range: iw_ConnectionNo is not set within 1 to 16; is_UserName is not set within 4 to 14 characters; or is_PassWord is not set within 4 to 64 characters.
  • Page 104: M+Cpu-Camrec_Axis_Vicontrol

    10.3 M+CPU-CamRec_AXIS_VIControl Overview This FB enables or disables the execution trigger of the recording event set to the network camera manufactured by Axis Communications that is connected to the MELSEC-Q series QnUDVCPU. M+CPU-CameraRecord_AXIS_VirtualInputControl B:FB_EN FB_ENO:B W:iw_ConnectionNo FB_OK:B S:is_Username FB_ERROR:B S:is_Password ERROR_ID:W (10) W:iw_VIPortNo...
  • Page 105: Fb Details

    FB details Relevant modules and software ■Target module High-speed Universal model QCPU ( Page 13 Compatible Programmable Controllers) ■Engineering tool GX Works2 Version 1.586L or later Basic specifications Item Description Programming language Ladder diagram Number of steps 2064 steps The value is a reference value because of the number of steps in the label program. For details, refer to the following. ...
  • Page 106 Restrictions and precautions • The FB does not include the error recovery processing. Prepare the error recovery processing separately to suit the actual system and the expected operation. • The FB cannot be used in an interrupt program. • Using the FB in a program that is to be executed only once, such as a subroutine program or a FOR-NEXT loop, has a problem where FB_EN (Execution command) can no longer be turned off and normal operation is not possible;...
  • Page 107 Timing chart of I/O signals ■When the FB completed successfully FB_EN FB_ENO Command send processing Performed Not performed Not performed Ib_VIPortState Virtual input port status of the camera FB_OK FB_ERROR ERROR_ID ■When the FB completed with an error FB_EN FB_ENO Command send processing Not performed Not performed...
  • Page 108: Error Code

    Error code Error code Description Action C1E0H • Effective range error (Connection No./User name/Password) Review and correct the input label, and execute the FB again. The set data is out of effective range: iw_ConnectionNo is not set within 1 to 16; is_UserName is not set within 4 to 14 characters; or is_PassWord is not set within 4 to 64 characters.
  • Page 109 MEMO 10 FB LIBRARY DETAILS (FOR MELSEC-Q SERIES CPU MODULES) 10.3 M+CPU-CamRec_AXIS_VIControl...
  • Page 110: Index

    INDEX ......12 Network camera ......12 Network storage .
  • Page 111: Instruction Index

    INSTRUCTION INDEX ..68 M+CameraRecord_AXIS_EventTrigger_R ..64 M+CameraRecord_AXIS_SetTime_R M+CameraRecord_AXIS_VirtualInputControl_R ........73 .
  • Page 112: Revisions

    Japanese manual number: BCN-P5999-1303-B This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 113: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 114: Trademarks

    TRADEMARKS AXIS and AXIS COMMUNICATIONS are registered trademarks or trademarks of Axis AB in various jurisdictions. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.
  • Page 116 BCN-P5999-1324-B(2012)MEE MODEL: R-CAMREC-U-E HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.

Table of Contents