Application example FGEN for Modbus TCP with CODESYS Win V3
D301271 1013 - FGEN - multi protocol10-20
1.2 Mapping: "xReset" (global variable) to %IX0.0 in %IW2
– "xReset" is mapped to the first bit in %IW0 of FGEN-IOM88-5001. This is done in the
"ModbusTCPSlave I/O Mapping".
– Double click the field "variable" in the respective line. Use the "..."-button to open the dialog box
"Input Assistant" .
– Select the variable to be mapped. "xReset" can be found in the global variables as it has been
defined there, see CODESYS: Global variables.
– Confirm with "OK". A "1" at bit %IX0.0 will now reset the counter to zero.
Figure 10-19:
Mapping of
"xReset" to bit
%IX0.0