■Example to create M+CPU-CamRec_AXIS_VIControl (Virtual input port control)
This FB executes a recording event of the network camera with the virtual input port status on or off.
■When bVirtualInputControl_EN (FB execution command) is turned on, the recording is instructed to the network camera.
• The network camera is specified with iw_ConnectionNo (Connection number).
• The network camera authentication is cleared with is_UserName (User name) and is_PassWord (Password).
• The virtual input port is specified with iw_VIPortNo (Virtual input port number).
• ib_VIPortState (Virtual input port status) is turned on (enabled).
■When the recording direction has been completed successfully (bVirtualInputControl_OK is on), ib_VIPortState (Virtual input port status) is turned off, and
bVirtualInputControl_EN (FB execution command) is turned on again.
• Global label
To use this FB, setting labels for subroutine FBs is required. ( Page 54 Creating a program)