Parameter assignment and configuration
4.4 Ident instructions
Communications module RF120C with application blocks for S7-1200 and S7-1500
Operating Instructions, 07/2013, C79000-G8976-C328-01
31
Example of a function block (FB)
The following graphic shows an example of an FB with input and output parameters as they
exist in the same way in all function blocks.
①
Input parameters
②
Output parameters
Data type: Bit
Data type: Byte, Word, DWORD, INT
Figure 4-4
Example of an FB
Input parameters
●
EN
Enabling Input
●
EXECUTE
There must be a positive edge at this input before the block will execute the command.
●
HW_CONNECT
Global variable to address the reader/channel and to synchronize the application blocks.
This variable needs to be created and addressed once for each connected RF120C.
HW_CONNECT must always be transferred to the function blocks to address the relevant
RF120C.
Note
Using HW_CONNECT with other communications modules
When using the function blocks with the communications modules RF180C or ASM 456,
you need to create HW_CONNECT for each channel/reader.