Mitsubishi Electric MELSEC iQ-R Series User Manual page 91

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

Advertisement

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.
• This FB uses the index register (Z9). When using an interrupt program, do not use the index register (Z9) in the 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 that i_bEN (Execution command) can no longer be turned off and normal operation is not possible; Always use the
FB in a program that is capable of turning off i_bEN.
• Change the memory/device setting of the CPU parameter so that the memory capacity required to use the FB is secured. If
the setting is not changed, an error may occur in GX Works3.
• Turning off i_bEN stops the processing that is being performed. Turning off i_bEN during the processing has a problem that
the connection can no longer be closed; Turn off i_bEN after o_bOK (FB completed successfully) or o_bErr (FB completed
with an error) is turned on.
• During the execution of this FB, perform exclusive control to avoid using the same connection number.
• Use the FB in an environment where the scan time is 500ms or less.
• If this FB is repeatedly executed with a fixed cycle of less than 60s, a timeout error may occur due to trouble on the camera
side.
• If an incorrect number is set for i_uIO (Start I/O number), an error may occur in the CPU module.
• After the completion of the FB, wait for 500ms or more before subsequent execution of the FB if it specifies a connection
having the same information (external device IP address, own station port number, and external device port number) as the
connection specified by the preceding FB. If the subsequent execution must be started within 500ms, executing the FB
after changing the own station port number on the Active open side is recommended.
• 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.
Timing chart of I/O signals
■When the FB completed successfully
i_bEN
OFF
o_bENO
OFF
Command send processing
Not performed
ON
i_bVirtualInputPortState
Virtual input port status
OFF
of the camera
o_bOK
OFF
o_bErr
OFF
o_uErrId
9 FB LIBRARY DETAILS (FOR MELSEC iQ-R SERIES MODULES (RJ71EN71, RnENCPU (NETWORK PART))
ON
ON
Performed
ON
ON
0
OFF
OFF
Not performed
OFF
9.3 M+CameraRecord-E_AXIS_VirtualInputControl_R
9
89

Advertisement

Table of Contents
loading

Table of Contents