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

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

Advertisement

FB details

Relevant modules and software
■CPU module
MELSEC iQ-R series programmable controller CPU ( Page 11 Compatible Programmable Controllers)
■Engineering tool
GX Works3 Version 1.065T or later
Basic specifications
Item
Description
Programming language
Ladder diagram, ST
Number of steps
2798 steps
The number of steps of the FB embedded in a program depends on the CPU module used, the input/output definitions, and the
option settings of GX Works3. For the option settings of GX Works3, refer to the following.
 GX Works3 Operating Manual
FB dependence
No dependence
FB compilation method
Subroutine type
FB operation
Pulse execution type (multiple scan execution type)
Functional description
• When i_bEN (Execution command) is turned on, a command for enabling/disabling i_uVirtualInputPortState (Virtual input
port status) of i_uVirtualInputPortNo (Virtual input port number) is sent to the network camera. i_uVirtualInputPortState
cannot be automatically disabled once it has been enabled. Therefore, disable i_uVirtualInputPortState 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 i_uConnectionNo (Connection number), i_sUsername
(User name), and i_sPassword (Password), o_bErr (FB completed with an error) turns on and the processing of the FB is
interrupted. In addition, the error code, C1E0H, is stored in o_uErrId (Error code). ( Page 54 Error codes)
• If the set value for i_uVirtualInputPortNo is outside 1 to 32, o_bErr turns on and the processing of the FB is interrupted. In
addition, the error code, C1E1H, is stored in o_uErrId. ( Page 54 Error codes)
• If no response is returned from the network camera after the command is sent, o_bErr turns on and the processing of the
FB is interrupted. In addition, the error code, C1E2H, is stored in o_uErrId. ( Page 54 Error codes)
• If an unregistered i_sUsername or i_sPassword is set, o_bErr turns on and the processing of the FB is interrupted. In
addition, the error code, C1E3H, is stored in o_uErrId. ( Page 54 Error codes)
• 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.
 MELSEC iQ-R Ethernet User's Manual (Application)
7 FB LIBRARY DETAILS
7.3 M+CameraRecord_AXIS_VirtualInputControl_R
7
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents