Basic Function |
Request for Force One Coil |
Symbol |
 |
Originates from |
Tsunagi Lab Europe |
Created by |
OEE-HQ HvB (creation and testing) |
File Name |
Fn05_ForceSingleCoil.cxf |
Applicable models |
CPU Unit |
CP1L-EL or CP1L-EM |
CX-Programmer |
Version 9.40 or higher |
Conditions for usage |
The following specifications can be used for FB Auto Allocation:
- CIO 0000 to 6143
- HR H000 to H511
- AR A448 to A959
- D00000 to D09999 for the CP1L-EL
- D00000 to D32767 for the CP1L-EM |
Function Description |
Fn05 Force Single Coil Function Block Forces one Coil ON or OFF conform the variable coil address and value input. |
Kind of FB definition |
Connect Always ON type
Connect the EN input to the Always ON Flag (P_ON)
The same instance cannot be used in two or more places |
FB Precautions |
Omron can not be held responsible in case of malfunction
|
EN input condition |
• Connect EN to condition for the FB to Work
• Fn05 send the Request for Force the Coil
• Socket Number 1 to 3
• Coil Address
• (ON/OFF) Value |
Restrictions
Input variables |
• Socket Number 1 to 3 |
Output variables |
• This FB requires multiple cycles to process.
• The status of the Outputs bits are Reset if the Fn05 bit is OFF. |
Application example |
Fn05 Force Single Coil Function Block is designed for use with the other Function Blocks. For more more details on the use of this function block see also CP1L-EL/EM Modbus TCP Client Socket Services.
The Socket Number Output can be used for the Socket Number Input used by:
- Open_Socket
- Fn03_ReadRegister
- Fn04_ReadInputRegister
- Fn06_WiteRegister
- Close_Socket
Example:




|
Related manuals |
CP1L-EM/EL CPU Unit Manual (W516-E1) |