Chapter 3 Programming
3
– 41
Configure each parameter as below. If the Trigger setting is “Rising edge”, trigger variable (BOOL) will be
automatically assigned in %QX address.
Data of Modbus will be assigned to %IW or %QW as seen in “ModbusTCPSlave I/O Mapping” tab. Read data
from slave is assigned to input area (%IW) and data to be written to slave is assigned to output area (%QW).
N o t e
- When trigger type is set as “Rising edge”, do not change the trigger bit too often, otherwise rising edge could be
missed. Recommended timing is roughly calculated as follows.
T1 is the time from beginning of request to end of response per channel. If several channels are used, the sum of
T1, T2, ..., Tn is the minimum time to keep low or high the trigger bit. But this is very approximate value and it is
not easy to know T1. Recommended time would be 50 to 200ms or more depending on the number of channels.
- If long size data is sent from CPU in low baud rate (eg. 255 byte in 2,400 bps takes about 1 second.), 25 error
(processor load watch dog) is detected independent from cycle time of bus cycle task because 25 error is detected
based on percentage in 1 second. In this case, add following one line under [CmpSchedule] in config.cfg file. The
value 2000 means 2 seconds. Please adjust this value accordingly. Config.cfg file in the PLC can be uploaded
with [Device]-[Files] dialog. After modified, be sure to download with the same dialog.
[CmpSchedule]
ProcessorLoad.Interval=2000
Do not modify the other part in config.cfg, otherwise PLC may not work correctly.
Содержание EH-A14EDR
Страница 6: ...MEMO ...
Страница 10: ...MEMO ...
Страница 141: ...Chapter 3 Programming 3 81 Program ...
Страница 166: ...Chapter 5 Maintenance 5 4 MEMO ...
Страница 170: ...Appendix A1 4 MEMO ...