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
Programming language
Number of steps
FB dependence
FB compilation method
FB operation
Functional description
• When i_bEN (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 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 44 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 44 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 44 Error codes)
• For errors that occur in each processing for data communications 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 MELSEC iQ-
R Ethernet User's Manual (Application).
7 FB LIBRARY DETAILS
42
7.1 M+CameraRecord_AXIS_SetTime_R
Description
Ladder diagram, ST
3021 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
No dependence
Subroutine type
Pulse execution type (multiple scan execution type)