Professional Documents
Culture Documents
Configuration: Table 22: Attribute Definitions For Instance 4 of Object Individual Input Data Set Transfer (73h)
Configuration: Table 22: Attribute Definitions For Instance 4 of Object Individual Input Data Set Transfer (73h)
Table 22: Attribute definitions for instance 4 of object Individual Input Data Set Transfer (73h)
Attribute ID Data set parameters Size
1 Reserved UINT[2]
2 Reserved UINT[2]
… … …
15 Reserved UINT[2]
NOTE
The configuration is considered faulty if the IP address of the PLC is 0.0.0.0 and the
gateway is configured as master for one or both transmission directions.
Configuration
The following table describes the configuration process depending on the transmission
mode.
NOTE
Numbering of the register addresses starts at 1, but Modbus addressing starts at 0. It
is therefore necessary to subtract 1 from the register address for correct addressing.
For example, the current system time (register 4200) is sent in the message as Modbus
start address 4199.
b In the Gateway configuration dialog box, activate the Gateway writes to tag/file option for
the Flexi Soft to network direction and the Gateway reads from tag/file option for the
network to Flexi Soft direction.
b Check the boxes for the required data sets in the relevant configuration area to
select the data which is to be written to the PLC or read from it (for a description of
the data sets, see "Data transferred to the network (network input data sets)",
page 111).
b Specify the location in PLC memory bank in which the selected data is to be writ‐
ten or the location from which it is to be read. Enter addresses in the Holding regis‐
ter address input field (max. 20 characters).
b For the Flexi Soft to network transmission direction, select the Write all sets in one
tag option if all data sets are to be written to the PLC memory in a single address.
In this case, the register address defined for data set 1 is used.
b For the Flexi Soft to network transmission direction, specify how often the data is
to be transferred to the PLC:
° Select the Enable COS update (update in the event of change of state) option if
the FX0-GMOD must update the data in the PLC immediately if something in
the data sets changes.
° Select the Enable heartbeat rate option to update the selected data sets with
the set heartbeat rate.
b For the network to Flexi Soft transmission direction, specify how often the data is
to be read from the PLC.
° Enter a heartbeat rate to update the selected data sets at the specified inter‐
val.
b Specify the location from which the selected data is to be written in the Modbus®
TCP network or the location from which it is to be read. Enter the IP address and
Modbus® device ID of the PLC.
b The max. PLC update rate determines the maximum rate for transferring data sets to
or from the PLC. The setting is dependent on the processing speed of the PLC and
can be between 10 and 65,535 ms. The default setting of 40 ms is suitable for
most PLCs.
NOTE
If the value entered for the max. PLC update rate is higher than the heartbeat rate set
for writing to or reading from the PLC, then the heartbeat rate is automatically
increased to this value (i.e., slowed down).
Write to PLC
NOTE
The following limitations apply if the gateway operates as a master and writes the input
data sets to the PLC:
• The register address of the input data set (set via Flexi Soft configuration software)
must be the same as defined on the PLC.
• The variable on the PLC that is to receive the data must meet the following condi‐
tions:
° It must be in the address range 40xxxx (for Schneider Modicon PLCs).
° It must be an array of 16-bit words.
° It must be long enough to contain the defined input data set array.
• All input data sets are transmitted to the PLC in integer format (16-bit word),
whereby the first byte is placed as the least significant byte or rightmost byte of
the integer and the second byte is placed as the most significant byte or leftmost
byte of the integer.
NOTE
The following limitations apply if the gateway operates as a master and reads the out‐
put data sets from the PLC:
• The register addresses of the output data sets must be the same as defined in the
PLC.
• The variables on the PLC from which the data is to be requested must meet the
following conditions:
° They must be in the address range 40xxxx (for Schneider Modicon PLCs).
° They must be an array of 16-bit words.
° They must be long enough to contain the entire output data set.
• All output data sets are transmitted from the PLC in integer format (16-bit word),
whereby the first byte must be placed as the least significant byte or rightmost
byte of the integer and the second byte placed as the most significant byte or left‐
most byte of the integer.
b In the Gateway configuration dialog box, activate the PLC requests option for the Flexi
Soft to network transmission direction and the PLC writes option for the network to
Flexi Soft transmission direction.
b Check the boxes for the required data sets in the relevant configuration area to
select the data which is to be requested or written by the PLC (for a description of
the data sets, see "Data transferred to the network (network input data sets)",
page 111).
b Click on Connect to switch to online mode.
b Click on Transfer to device to transfer the settings to the Flexi Soft system.
NOTE
• All data sets can be read or written only as a complete block. It is not possible to
read or write individual bits or bytes.
• If the control system cannot be configured in words, the data scope must be con‐
verted correspondingly.