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

Advertisement

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.
 GX Works2 Version 1 Operating Manual (Simple Project)
Label usage
• When a single FB (this FB) is used, the amount of label usage is as follows:
Word: 2.78K 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 virtual input port control 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)
FB dependence
No dependence
FB compilation method
Subroutine type
FB operation
Pulse execution type (multiple scan execution type)
Functional description
• When FB_EN (Execution command) is turned on, a command for enabling/disabling ib_VIPortState (Virtual input port
status) of iw_VIPortNo (Virtual input port number) is sent to the network camera. ib_VIPortState cannot be automatically
disabled once it has been enabled. Therefore, disable ib_VIPortState after the event is started. If not disabled, the next
event cannot be started.
• 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 106 Error code)
• If the set value for iw_VIPortNo is outside 1 to 32, FB_ERROR turns on and the processing of the FB is interrupted. In
addition, the error code, C1E1H, is stored in ERROR_ID. ( Page 106 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 106 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 106 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)
10.3 M+CPU-CamRec_AXIS_VIControl
10
103

Advertisement

Table of Contents
loading

Table of Contents