Mappings. ELPRO 415U-E CONDOR SERIES, 415U-2 CONDOR SERIES, 415U-2
Quảng cáo
Quảng cáo
415U Condor-long-range wireless I/O and gateway
User Manual MN032006EN
Effective May 2018
Mappings
Mappings are used to send I/O values between modules using the WIB I/O transfer protocol. The I/O is sent to a remote module via the Ethernet connection on the device. To display the current mappings for a module, open the module in the project tree and click Mappings (see
Mappings are sent on the following triggers:
•
Change of state (COS)
—This method monitors the state of the input that is being mapped. When the state changes, it triggers a transmission. This is the primary method of sending input values to a destination. As soon as the input change occurs the value is immediately sent to the destination. Digital mappings are triggered when the input changes from on to off, or from off to on. Analog mappings are triggered when the input changes by a predefined value, referred to as “sensitivity.” The sensitivity value is set by configuring a sensitivity block for the particular input or a
range of inputs. See “Sensitivity blocks” on
information.
•
•
Updates
—This method sends a message at a pre-configured time regardless of the input value or state. For details, see
the Update Time field described in “Adding or editing mapping parameters” on
.
Mapping force
—This method makes use of the Force Mapping
Transmit Register configuration on the Advanced page. It allows a mapping to be triggered when a separate register is written to a non-zero value. The register is written back to zero once the mapping has triggered.
There are three types of mappings—write, gather scatter, and read. Each type has advantages and disadvantages. The appropriate mapping to use will depend on the data and requirements of the system.
•
•
•
Write mapping
—A write mapping allows multiple sequential values to be sent in one message. If you are mapping analog values, the maximum I/O count is 64. However, if you are mapping digitals it can be as many as 1024 because the digitals values are packed into 16-bit words for transmission. The mapping is sent on a change-of-state of any of the values being monitored, and also on an update period.
Gather scatter mapping
—A gather scatter mapping is essentially the same as write mapping, but instead of sequential register it allows different I/O types to be sent in a single message. All I/O types, including digital, analog, long (32-bit registers) and floating point values, can be sent in a single message. A gather scatter mapping has a maximum I/O count of 32 values of any data type
(digital, analog, longs, or floats).
Read mapping
—Read mappings are similar to write mappings in that they allow multiple sequential values to be sent. However, instead of writing the values to another module, the data is requested from the remote module, which responds with the requested data. This type of mapping is suited to a polling system where the receiving station initiates when it wants to communicate, for example, by sending a read request when it requires the information or by sending a request on a timed basis.
Figure 33. Mappings
WIB configuration options (Advanced Tab
)
The following options are available on the “Advanced” tab of the
) allow you to fine-tune the operation of the WIB protocol. The default values are appropriate for almost all systems and should not need to be changed.
Tx Ack Count
— Total number of attempts to be made to transmit a mapping with its Acknowledge checkbox selected if no acknowledgment message is received. In most cases, the default value of three transmissions is recommended
Tx Ack Timeout
— Time to wait before deeming a mapping message as “unacknowledged” if the Acknowledge checkbox is selected in the mapping. The default value is two seconds
Tx UnAck Count
— Number of times to send an IO mapping if the
Acknowledge checkbox is cleared in the mapping. The default is once only.
Figure 34. WIB Protocol configuration
EATON
www.eaton.com
21
User Manual MN032006EN
Effective May 2018
415U Condor-long-range wireless I/O and gateway
Adding or editing mapping parameters
To add a new mapping for a module or to edit existing mapping parameters, open the module in the project tree, click
Mappings
, and then click
Add
(or
Edit
).
provides an example of a gather scatter mapping.
Figure 35. Gather scatter mapping
acknowledged when the end device receives the message. This is an end-to-end acknowledgment, and is in addition to the normal hop-by-hop frame acknowledgment between links.
Notee:
Enabling this option will increase the amount of radio communications and care should be taken in larger systems.
Update Time—
Configures how often the mapping update messages (check signals) are sent. These messages are in addition to the normal change-of-state updates that occur when an input changes.
The default update time is 10 minutes, but you can increase the update time to a maximum of over two weeks, or decrease it to a minimum of one second. Updates can also be disabled by entering a time of zero or selecting the checkbox. Note that the updates are only a check signal, and care should be taken when configuring the update values with short update times (less than
5 seconds) because this will greatly increase the amount of radio traffic.
Response Time—
(Read mappings only.) The countdown time before the module registers a communications failure for the configured read mapping. When the timeout is complete, the fail register is activated.
Fail Register—
Allows you to configure a register location that will indicate a communication failure for the configured remote destination address.
Notee:
The Acknowledge checkbox must be selected for fail registers to work. Also, the fail register can only be a digital output or internal bit registers (10501, 501, and so on).
Enable Mapping—
Select the checkbox to enable this mapping.
Name—
You can give each mapping a name for reference purposes.
Destination—
Provides two standard choices, as well as an
Ethernet IP address for each module in the project tree
This Unit—
This option refers to the module that you are currently configuring. When this option is selected, the IP address changes to the local host loopback address of 127.0.0.1.
Remote device Name—
When you select the name of a device in the system, the mapping will be sent to theat device. Ensure that the IP addresses of the sending module and receiving module are able to communicate to each other.
IP Address—
This option allows any IP address to be entered in the configuration. It is for advanced users only because the remote name and address location will not show up in the I/O list. Knowledge of the remote module’s I/O location and address is required for it to function correctly. Generally this option is only used when a module that is not in the project is loaded or is being mapped to.
I/O Table—
Allows you to map each I/O to an output.
Click the
Local Name
field to see a drop-down list of all available I/O, or click the
Local Address
field to view a tabbed I/O selection screen that will allow you to select an I/O point (input) that you want to map.
Select a destination I/O location. Click
Remote Name
for a dropdown list of destination I/O names or
Remote Address
to open a drop-down list of destination I/O locations.
Notee:
You must select an actual destination unit before you can select a remote name. You can select remote address for IP address.
I/O Count—
Allows you to add more I/O points to the mapping. If you are using a write or a read mapping, CConfig will automatically select consecutive registers that are shaded and cannot be edited. When using a gather scatter mapping, MConfig will add mapping entries which you must then edit by selecting the sending and destination I/O points.
Acknowledge—
Select this checkbox to allow the mapping to be
Advanced Options
Figure 36. Mapping—advanced tab
Invert—
Select this checkbox to allow the mapping to be inverted.
For example, if the digital input is “on” and the mapping is inverted, the output will be “off,” or if an analog input is 4 mA and the mapping is inverted the output will be 20 mA. The invert applies to all I/O in the mapping. Floating point and long values are not inverted.
Offset Time—
Configures an offset time for the update mapping.
The offset is used to stagger the update transmissions at startup and at every update period so that the module does not send all mappings at the same time. The default is 0. To stagger transmissions to a predetermined schedule, set a different offset time value for each mapping, and clear the “Reset Update
22 EATON
www.eaton.com
415U Condor-long-range wireless I/O and gateway
User Manual MN032006EN
Effective May 2018
Timer” flag and the “Change of State Enable” flag for these mappings
Change of Statee:
Enable—
When the Enable checkbox is selected, the values are sent to their configured destination when a change-of-state
(COS) occurs and the value complies with any sensitivity blocks.
If COS is disabled, messages will only be sent on the update period
Delay—
Allows you to set the time period during which the message is delayed from being sent. The purpose is to reduce the amount of radio traffic by holding off the transmission to allow more I/O COS to the mapping
Reset Update Timer—
If this option is selected, the Update
Time period will reset when a COS occurs between configured updates. This means that the next update will not be sent until a further update period has elapsed. You can use this option to reduce the amount of radio traffic produced when multiple mappings are configured
Force Mapping Transmit—
Allows you to configure an I/O location that will force the mapping to be sent when the I/O location is written to. External devices, such as Modbus Master/Clients, can initiate the transmission of a mapping by writing to an internal register that then forces the transmission to occur. For more information and examples, see “Startup or force configuration”.
Note
: Digital inputs 1–8 cannot be used as a force trigger because the digital inputs are continually being scanned by the internal processor and each time a scan occurs it would force the mapping to be sent. If a digital input is required to be used as the trigger, map the digital input to a general purpose bit storage register (501, 10501, and so on), and then use this general purpose register to trigger the force mapping.
Startup or force configuration
When a module is first powered on, it transmits update messages to remote modules based on how the input mappings are configured. The module’s outputs will remain in the default “off” condition until the module receives an update or change-of-state message from the remote modules—unless a fail-safe block has been configured for the output, in which case it will default to the value configured in the fail-safe block. For more information, see
.
To ensure that the module outputs are updated with the latest remote input status when the module is first powered on, you can configure the module to transmit a special startup or force message that will write a value into an internal register at the remote module
(or modules). The remote module can then use this register to force any mappings that it has configured for the destination. To configure
a force register, see the previous section, “Adding or editing mapping parameters” on
.
When the force register is activated, any mapping configured with this force register will immediately send an update message to the destination so that its outputs can be set to the latest value. It may be necessary to configure a startup or force message for each remote module that sends values back to the module’s outputs.
Example
, site A needs to be configured so that on power-up it writes to a register at Site B. Site B then uses this register to trigger an update of any mappings it has that communicate back to Site A. If the system has multiple remote sites that require startup or force configuration, Site A needs to have configured a startup or force mapping for each remote site. If there were multiple remotes in this example, all mappings from the remote sites that are sent to Site A would use the force register configured for 501.
Figure 37. Startup or force configuration
EATON
www.eaton.com
23
User Manual MN032006EN
Effective May 2018
415U Condor-long-range wireless I/O and gateway
Address map
The I/O data store provides storage for all I/O data, both local data and data received from the system. The I/O store provides four register types—two bit registers, two word registers, two long-word registers, and two floating point registers. In addition, each register type supports both inputs and outputs, making a total of eight register address ranges that are used for physical I/O and gateway storage. These files are mapped into the address range as described in the following table. The addressing uses standard Modbus protocol formatting and is also common to the ELPRO protocol.
Address map
Type
Discrete outputs
Discrete inputs
Word (unsigned) inputs (16-bit)
Word (unsigned) outputs (16-bit)
Long inputs (32-bit)
Float inputs (32-bit)
Long outputs (32-bit)
Float outputs (32-bit)
Size
6000 (bits)
6000 (bits)
6000 (words)
6000 (words)
20 (longwords)
20 (floats)
20 (longwords)
20 (floats)
Address
00001
10001
30001
40001
36001
38001
46001
48001
Common I/O registers for the 415U-2
The following table shows the basic on-board I/O registers available in a standard 415U-2 module with no expansion I/O connected to it.
For a detailed I/O map showing the full register range, see Register memory map
Table 4. Address map—inputs / outputs
Address Input / output description
0001–0008
10001–10008
10009–10020
Local DIO1–DIO8, as outputs
Local DIO1–DIO8, as inputs
Set point status from analog inputs 1 through 12:
AI1, 2, 3, 4 current mode
Internal supplies
AI1, 2, 3, 4 voltage mode
Address
30001–30004
30005
30006
30007
30008
30009–30012
30013–30016
36001–36008
38001–38032
40001–40002
48001–48002
Input / output description
Local AI1–AI4 (current mode):
AI1 and AI2, 4–20 mA diff
AI3 and AI4, 4–20 mA sink
Local supply voltage (0–40 V default scaling)
Local 24 V loop voltage (0–40 V default scaling)
Local battery voltage (0–40 V default scaling)
115S expansion I/O supply voltage (0–40 V default scaling)
Local AI1–AI4 (voltage mode):
AI1 and AI2, 0–20 V
AI3 and AI4, 0–5 V
Local pulse input rates PI1–PI4
Local pulsed input counts (PI1 most significant word is 36001 and least significant word is 36002)
Local analog inputs as floating point values (mA, volts, or Hz)
Local AO1–AO2
Local AO1–AO2 as floating point values (mA)
Common I/O Registers for the 415U-E
The 415U-E is is a reduced I/O version of the 415U-2. The following registers are supported.
Address
0001-0002
10001-10002
10013-10015
30005
30007
30008
30013-30014
36001-36002
Input / output description
Local DIO1-DIO2 as outputs
Local DIO1-DIO2 as inputs
Setpoint status from internal supplies
Local supply voltage (0 -40 V default scaling)
Local battery voltage (0 -40 V default scaling)
115S expansion I/O supply voltage
(0 -40 V default scaling)
Local pulse input rates PI1 -PI2
Local pulsed input counts (PI1 most significant word is 36001 and least significant word is 36002)
I/O configuration
Each I/O has characteristics that can be tailored to applications. To configure individual I/O settings for a module, click
I/O
in the project tree to display the configurable parameters. These parameters are described in detail in this section.
Digital inputs
To configure digital inputs, click
Digital Inputs
under
IO
in the project tree. Select a digital input from the list on the right, and click
Edit
(see
). This displays the IO Edit screen (
) where you can change settings.
Figure 38. IO—digital inputs
24 EATON
www.eaton.com
415U Condor-long-range wireless I/O and gateway
User Manual MN032006EN
Effective May 2018
Fail-safe State Sets the state that the output will assume after the fail-safe time has elapsed. When the fail-safe state is set to On, the LED flashes briefly off, and the digital output turns on. When the fail-safe state is set to Off, the LED flashing briefly on, and the digital output turns off.
Pulsed outputs
To configure pulsed outputs, click
Pulsed Outputs
under
IO
in the project tree. Select a pulsed output from the list on the right, and click
Edit
. This displays the IO Edit screen (
) where you can change settings.
Figure 39. I/O edit (digital inputs)
You can configure following parameters for 415U digital inputs.
Name Enter a name for the digital input or leave the default name. The name can be up to 30 characters, including spaces.
Debounce time (sec)
Debounce is the period of time that an input must remain stable before the module determines that a change of state has occurred. If a digital input changes from on to off and from off to on in less than the debounce time, the module will ignore both changes.
The default debounce time is 0.5 seconds.
Digital outputs
To configure digital outputs, click
Digital Outputs
under
IO
in the project tree. Select a digital output from the list on the right and click
Edit
. This displays the IO Edit screen (
) where you can change settings.
Figure 41. IO edit (pulsed output)
You can configure the following parameters for 415U pulsed outputs.
Name Enter a name for the pulsed output or leave the default name. The name can be up to 30 characters, including spaces.
Update
Time (sec)
Time that the output will be updated with the latest received value. The time is related to the update time of the pulsed input that is mapped to it. For example, if the pulsed input update time at the remote unit is configured for 10 seconds, the number of pulses will be counted and sent to the receiving module every 10 seconds. The receiving module will then output the pulse count over the configured update time
(10 seconds).
Figure 40. IO edit (digital output)
You can configure the following parameters for 415U digital outputs.
Name
Fail-safe Time
(sec)
Enter a name for the digital output or leave the default name. The name can be up to 30 characters, including spaces.
Sets the time the output needs to count down before activating the fail-safe state. Receiving an update or a COS message will reset the fail-safe timer to its starting value. If the fail-safe timer goes down to zero, the output will be set to the fail-safe state (on or off).
It is recommend the fail-safe time be configured for a little more than twice the update time of the input that is mapped to it. That way, the output will reset if it fails to receive two update messages in succession.
EATON
www.eaton.com
25
User Manual MN032006EN
Effective May 2018
415U Condor-long-range wireless I/O and gateway
Analog inputs
Analog inputs each support an associated set-point. Each analog input can also be scaled to convert the analog values to a range suitable for other equipment. Analog inputs can also be used as voltage inputs by selecting DIP switches on the 415U modules (see
).
To configure analog inputs, click
Analog Inputs
under
IO
in the project tree. Select an analog input from the list on the right, and click
Edit
). This displays the IO Edit screen (
) where you can change settings.
Figure 42. Analog inputs
You can configure the following parameters for 415U analog inputs, including the supply voltage analogs available on both the 415U-2 and 415U-E models..
Name
Filter Time
(sec)
Scaling
Lower and Upper
Set Points
Invert
Window
Enter a name for the analog input or leave the default name. The name can be up to 30 characters, including spaces.
Period of time (in seconds) needed by the analog input to settle on a step change of an analog value.
By default, all inputs except the pulse rates have a time constant of five seconds. Pulsed input rates are not filtered.
You can scale analog inputs to suit data requirements of other systems. When sending analog inputs to outputs on other 415U devices, select Default. Other scaling options provide support for systems that need data ranges of 8-bit, 12-bit, and 16-bit (signed and unsigned).
Use the Custom setting to configure other scalings for systems that cannot be accommodated with any of the other options.
The graph shows how the scaling affects the relationship between the measured value (Engineering
Value) and the corresponding scaled 16-bit Register
Value.
These set points are the upper and lower control point values that will be used to turn on and off the analog set point digital signals located at register 10009–10020.
Note
: Set point values are entered in the scale of the input.
For example, analog input 1–4 should be in mA, analog inputs
9–12 should be volts, and so on.
To control the set points, use the Invert and Window control options described below. All set points have these controlling options.
Selecting this option inverts the set point control logic.
The function does not change—only the operation is inverted. For example, if the set point is “on” in its normal state, inverting the signal causes the set point to be “off” in the normal state. By default, the checkbox is cleared and the set point logic is not inverted.
Selecting this checkbox sets the set point operation to Window mode. Clearing this checkbox sets the set point operation to default mode.
Window mode
—In this mode, if the analog value is inside the upper and lower set points, the set point will be active (on, “1”), and if the analog value is outside of these set points, the set point will be reset (off, “0”).
Default mode
—In this mode, the set point operates in default mode. If the analog input is greater than the upper set point, the set point status is active (on, or “1”). When the analog input is less than the lower set point, the set point is reset (off, or “0”). When the analog value is between the upper and lower set points, the previous value is maintained.
Note
: The upper set point must always be higher than the lower set point.
Figure 43. IO edit (analog inputs)
26 EATON
www.eaton.com
415U Condor-long-range wireless I/O and gateway
Analog outputs
To configure analog outputs, click
Analog Outputs
under
IO
in the project tree. Select an analog output from the list on the right, and click
Edit
). This displays the IO Edit screen
(
) where you can change settings.
Figure 45. Analog outputs
User Manual MN032006EN
Effective May 2018
Figure 45. IO edit (analog outputs)
Figure 44. Analog Outputs
Adding expansion I/O modules
You can connect additional 115S serial expansion I/O modules to the
415U module if more I/O is required. The RS-485 serial port on the
415U is configured by default to communicate with 115S expansion modules using the Modbus protocol. The default serial parameters of the RS-485 port on the 415U are 9600 baud, no parity, 8 data bits, 1 stop bit, which match the default settings of the 115S serial expansion modules. You can change these parameters to increase poll speeds in larger systems, but the serial module’s parameters must match that of the 415U RS-485 port.
If more than three serial expansion I/O modules are added to the
415U module, you will need to adjust the Maximum Connections setting for RS-485 or RS-232. To display these configuration screens, select the module in the project tree and click
RS
-
485
or
RS
-
232
.
Note
: Reducing the Maximum Connections setting will slightly improve the serial scan time. However, you need to make sure that the slave addresses fall within the Maximum Connections. If the Slave address is above the Maximum Connections, it will not be polled.
When you connect the serial expansion module, before powering on, set the expansion module address using the rotary switches on the bottom of the module. Assign addresses sequentially, starting at address 1. Make a note of the module address. This address will be used as an offset to locate the I/O within the 415U. Also make sure that the termination switch is “on” (down) for the last module in the
RS-485 loop.
Notee:
Failure to terminate the RS-485 correctly will result in modules not operating correctly.
•
Analog input 1 will be at register location 30321
For a detailed address map of the serial expansion I/O modules,
.
When adding expansion I/O modules to the 415U, there are two inbuilt registers indicating the communication status of the expansion I/O module:
•
Communication fail
—Located at register location 10019 + offset value. This register indicates “1”when the module is in failure.
•
Communication oK
—Located at register location 10020 + offset value. This register indicates “1”when the module is communicating properly.
Adding an expansion I/O to CConfig
In CConfig to add a 115S expansion I/O to the CConfig utility, open the module in the project tree and click
Expansion
, and then click
Add
).
115S Expansion I/O Memory map
The I/O data on the 115S module is read into memory locations according to their Modbus address. The maximum supported
Modbus address is 19. Each 115S module has an offset that applies to the location of its registers. This offset is equal to the units
Modbus address (selected on the rotary switch on the end of the
115S expansion I/O module), multiplied by 20.
If the modules Modbus address is 15, the offset value will be
15 X 20 = 300.
For example, if connecting a 115S-11 (16 x DIO) with address #15:
•
Digital input 1 will be at register location 10301
•
Digital Output 1 will be at register location 301
If using a 115S-12 (8 x DIO and 8 AIN) with address 16:
•
Digital input 1 will be at register location 10321
Figure 46. Serial expansion unit
Name Enter a name for the 115S expansion I/O module, or leave the default name. The name can be up to
30 characters, including spaces.
Device ID Select the address of the expansion I/O module. The address is found on the rotary switch on the bottom of the 115S expansion I/O module.
Device type Select the module type from the drop down list.
EATON
www.eaton.com
27
Tải xuống
Quảng cáo