Fb Details - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

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
Programming language
Number of steps
Label usage
FB dependence
FB compilation method
FB operation
Functional description
• When FB_EN (Execution command) is turned on, the time is set by sending the command of the CPU module time to the
network camera.
• If the number of the set characters is outside the effective range for iw_ConnectionNo (Connection number), is_UserName
(User name), and is_PassWord (Password), FB_ERROR (FB completed with an error) turns on and the processing of the
FB is interrupted. In addition, the error code, C1E0H, is stored in ERROR_ID (Error code). ( Page 96 Error code)
• If no response is returned from the network camera after the command is sent, FB_ERROR turns on and the processing of
the FB is interrupted. In addition, the error code, C1E2H, is stored in ERROR_ID. ( Page 96 Error code)
• If an unregistered is_UserName or is_PassWord is set, FB_ERROR turns on and the processing of the FB is interrupted. In
addition, the error code, C1E3H, is stored in ERROR_ID. ( Page 96 Error code)
• For errors that occur in each processing for data communication between the Ethernet-equipped module and external
device, and errors that occur in processing requests from the CPU module in the own station, refer to the following.
 QCPU User's Manual (Hardware Design, Maintenance and Inspection)
10 FB LIBRARY DETAILS (FOR MELSEC-Q SERIES CPU MODULES)
94
10.1 M+CPU-CamRec_AXIS_SetTime
Description
Ladder diagram
2550 steps
The value is a reference value because of the number of steps in the label program. For details, refer to the following.
 GX Works2 Version 1 Operating Manual (Simple Project)
• When a single FB (this FB) is used, the amount of label usage is as follows:
Word: 2.88K points
Bit: 0.03K points
• When two or more FBs are used, the amount of label usage is the sum of that of FBs used. For example, when two each of
FBs for time setting and FBs for recording direction are used, the amount of label usage is as follows:
Word: 2.88K + 2.88K + 2.78K + 2.78K = 11.32K points
Bit: 0.03K + 0.03K + 0.03K + 0.03K = 0.12K points
The usage of labels embedded in a program depends on the devices specified as an argument and the option settings of GX
Works2. For the option settings of GX Works2, refer to the following.
 GX Works2 Version 1 Operating Manual (Common)
Since the amount of label usage of this FB is large, the number of word device points may become insufficient. In this case,
use the file register. For the settings of the file register, refer to the following.
 QnUCPU User's Manual (Function Explanation, Program Fundamentals)
No dependence
Subroutine type
Pulse execution type (multiple scan execution type)
Table of Contents
loading

Table of Contents