The text of a manual · part 8 of 27
SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual: Chapter 8: Remote I/O, pages 39 to 48
Pages 39 to 48 of 230, from SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual
The original document is the PDF (2.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Sharp ZW-1PU, Sharp ZW-32IO2 and Sharp ZW-32S2T
Page 39
Chapter 8 Remote I/O 8-1
Description of remote I/O
· If remote I/O slave module JW-20RS is installed on I/O modules located separately, one PC (master station) having a network module JW-20CM can control these I/O modules. · Connect between a master station JW-20CM and slave station JW-20RS using one coaxial cable. As the network module JW-20CM and remote I/O slave module JW-20RS control communication, there is no need any special program for the PC. · More than one master stations can be mounted on one PC. · Maximum 63 modules of slave stations can be connected within the cable total extension length 1 km. · If a JW model PC has a master station, it can connect with stave stations having JW model I/O modules and slave stations having ZW model I/O modules. However, mixed installation of JW and ZW model I/O modules on one slave station is not available.
[
If a master station is installed on a ZW model PC, it can connect only with slave stations having ZW model I/O modules. Master staion 00(8) JW-20CM
]
Slave staion 01(8) JW-20RS
Slave staion 02(8) ZW-20RS
Slave staion 77(8) JW-20RS
(JW-I/O)
(JW-I/O)
(JW-I/O)
PC
8 (Slave station : 63 stations max., cable total extension length : 1km max.)
8·1
Page 40
· Rack panel can use 2 sets max. per slave station. But, unavailable for use I/O bus expansion adapter (JW-1EA,JW-2EA).
2 rack panels max.
· Special I/O module of JW model has the following limitation for number of modules to be used.
Per remote I/O slave station All remote I/O slave station
8
Total of special I/O module
8 modules max.
Total number of bytes of special I/O module
128 bytes max.
Total of special I/O module
32 modules max.
Total number of bytes of special I/O module
512 bytes max.
Module name
Model name
Number of occupied bytes
Analog input
JW-8AD
36 bytes
Analog output
JW-2DA
8 bytes
High-speed counter
JW-2HC
8 bytes
I/O link master station
JW-31LM
2 to 64 bytes
ID control module
JW-11DU JW-12DU
Maximum 64 bytes
Positioning module
JW-12PM
16 bytes
· Allocation of number of I/O points per remote I/O slave station have “fixed allocation” and “manual allocation.” Allocation method
Contents
Fixed · allocation
Allocate for every 64 points or 128 points
·
Allocate between 8 to 1024 points in 8 point unit Number of connectable slave stations and total number of I/O points are limited, 63 stations and 4096 points at maximum, be careful do not exceed these limitaitons.
· Manual allocation
Number of I/O points per station
Available for Total number connected number of I/O points of slave stations
64 points
63 stations
4032 points (504 bytes)
128 points
32 stations
4096 points (512 bytes)
(Example 1) In case of 64 points
63 stations
4096 points (512 bytes)
(Example 2) In case of 1024 points
4 stations
4096 points (512 bytes)
8·2
Page 41
8-2
Data transfer required time and communication timing
(1) Required time for data transfer Time required for a master station to communicate with all the slave stations is determined by number of connected stations and number of points of all slave stations, as well as number of data bytes of JW model special I/O modules. T=
(N + 136 x P) x 2 1250
+ 1.4P + 5.3 + 2.5 (P + 1) + α [ms]
N : Total number of data bytes of all the slave station’s I/O model and JW model special I/O modules (value to be calculated by number of bytes × 8 points) P : Number of slave stations 136 : Use 136 bits for station address on the communication format and error check function. 1250 : Baud rate; 1.25 M bit/sec. 1.4P + 5.3 : Data processing time of the master station 2.5 : Total sequential send processing of the communication stations. α : Communication time at executing remote program/remote monitor.
8
Remarks · If "synchronous" is selected, one scan cycle time of a PC will vary with change of transfer required time. · Number of data bytes on the JW model special I/O module is a value set in parameter address 000600 to 000777(8) on the master station.
8·3
Page 42
(2) Communication timing · For communication with slave stations, either of "synchronous" and "asynchronous" can be selected for operation with the master station PC. · When "synchronous" is selected, the JW-20CM communicates with synchronize with operation (one scan) of the master station PC. · When "asynchronous" is selected, the JW-20CM communicates with slave stations regardless of operation of the master station PC. Therefore, even if communication of all stave stations is not completed, the JW-20CM starts data exchange with the master station and PC. JW-20CM
PC Bus/interface port
RAM Modem
Communication lines
Communication control port ROM
S I O
ROM
RAM Buffer Bus bonding memory
RAM CTC
Communication control CPU
CTC
Data memory
Interface CPU SIO
Processing of PC side
Processing of JW-20CM
Check PC hardware Zero-cross synchronization
8 I/O processing NO
Remote communication complete?
YES
NO
Data exchange with data memory
Data exchange with remote I/O master station RAM
Remote I/O communication processing
PC operation
Communication complete?
YES
Remarks The slave station will not performs the zero-cross operation even if the master station PC is “set zero-cross (zero-cross switch 07367 at OFF)”.
8·4
Page 43
① Operational synchronous When more than one JW-20CM is installed while using the remote I/O function, set only one module as “operational synchronous.” When a link module ZW-10CM or JW-10CM is used for remote I/O, the JW-20CM should be set as “operational asynchronous.” a. When operation interval (one scan) of the master station PC is longer than data transfer time of the remote I/O: I/O processing at PC side
Data exchange with the buffer memory I/O processing at PC side
PC scan cycle
PC operation time Remote I/O data transfer processing
Remote I/O data transfer processing b. When operation interval (one scan) of the master station PC is shorter than data transfer time of the remote I/O: I/O processing at PC side
Data exchange with the buffer memory I/O processing at PC side PC operation time
PC scan cycle
Waiting time
Remote I/O data transfer processing
※ A waiting time is provided after the PC process to match with end timing of the data transfer process of the remote I/O so that the remote I/O can synchronize with the PC scan cycle.
② Operational asynchronous The special I/O module can not be used with the remote I/O slave module as the special I/O module cannot synchronize with the master station PC for data exchange. a. When operation interval (one scan) of the master station PC is longer than data transfer time of the remote I/O: Same as operational synchronous above. b. When operation interval (one scan) of the master station PC is shorter than data transfer time of the remote I/O: I/O processing at PC side
PC scan cycle
Data exchange with the buffer memory I/O processing at PC side PC operation time
PC operation time
Remote I/O data transfer processing
8·5
PC operation time Remote I/O data transfer processing
8
Page 44
(2) Data flow with slave module I/O processing of the slave module shall be carried out after completion of communication with the master station.
Master station 親局
Slave station 1 子局1
Slave station 2 子局2
PC JW-20CM ZW-20CM PC
ZW-20RS I/OI/Oユニット JW-20RS module
ZW-20RS I/O I/Oユニット JW-20RS module
Input signal 入力信号 I / O 処理 I/O processing データ交換 Data exchange Communication 子局1との通信 with slave station 1
I/O処理 I/O processing Communication with slave station 2 子局2との通信
I/O processing I/O処理
I/O processing I / O 処理 データ交換 Data exchange
I/O processing I/O処理 Output signal 出力信号
I/O processing I / O 処理 データ交換 Data exchange Communication with slave station 1 子局1との通信
I/O processing I/O処理
Communication with slave station 2 子局2との通信
I/O processing I/O処理
8
8·6
Page 45
(4) Voltage interruption time of slave module The voltage interruption operation of slave module is carried out for service interruption signal (PF signal) of power supply module, watchdog timer of slave module, and check 5 V power regardless of setting voltage interruption time (#246) of master module. Start
No
PF signal OFF
Yes
Communicating at remote I/O No
· The watchdog timer of the slave module goes time-up in “320 ms.”
I/O processing of I/O module
Yes
Output hold RST switch No
Yes
· The PF signal of the power supply module goes “OFF” below 85% of the rated voltage.
· When output hold switch is “RST,” the all halt output and output module become “OFF” when communication with master station have interruption of 320 ms.
Watchdog timer time-up No No
5V power 4.5V max. Yes Halt output “open” All output module “OFF”
End
· When the check of 5 V power is gone below 4.5 V, all are forced to reset. The power supply characteristics varies according to the consumption current of the power supply module as following diagrams.
Output hold time 5.1V,7A load (ZW-1PU) 5.1V,5A load (ZW-2PU)
100 80 60
8
Output hold time 100 VAC 50H input (ZW-1PU) 24 VDC input (ZW-2PU)
280
Hold time [ms]
Hold time [ms]
120
240 200 160
40 120 20 80 0
85V/170V 100V/200V
120V/240V 132V/264V
AC input voltage 20V
24V
28V
32V
DC input voltage
40
0
1
2
3
4
5
6
7
Load current [A]
8·7
Page 46
8-3
Outline of switch and parameter setting procedure In brackets: See page Start
Power “OFF” master/slave station
Set switch of master module
[8·9]
Set switch of slave module
[8·14]
Set parameter of slave module
[8·19]
Set parameter of master module
[8·30]
End
8
Remarks · Make sure to turn “OFF” the power of the PC prior to setting the switch. · Parameter must be started from the slave module first. · Prior to setting the parameters of master module, set the operation mode of the JW-20CM to “program mode.” · Make sure to write the set parameters into the EEPROM on the JW-20CM after setting.
8·8
Page 47
(1) Switch setting of master module (JW-20CM) In brackets: See page Operation procedure
Start
Power “OFF” master/slave station
Remove the setting switch cover.
[8·10]
Set MODE (function) switch
[8·10]
Set STA. NO. (station number) switch
[8·10]
Set LT (termination resistance) switch
[8·11]
Set LG (shield ground) switch
[8·12]
Attach label
[8·13]
8
End
8·9
Page 48
Turn master module and slave module power “OFF.”
Remove the setting switch cover of master module JW-20CM. · With your fingertips over the top and bottom of the switch cover, pull the cover towards you to remove it. · Keep the cover saved as it must be installed after switch setting.
Set MODE (function) switch · Be sure to setting “1.”
2
Data link (standard function)
MODE
67
Remote I/O
45
1
BCD
01
Set at delivery
EF
0
8 9A
Function 23
Setting value
Computer link 3
Data link (memory capacity save function) Computer link
4-F
Test mode A service man will use these switches for adjustment.
Do not set “4 to F.”
To the next page
8·10
4 5 6
7 8
9 0 1
X1
7 8
2 3
STA.NO. X10
9 0 1
· Set the station address to “00.”
4 5 6
Set STA. NO. (station number) switch
2 3
8