Sharp JW-20CM User Manual page 106

Programmable controller
Table of Contents

Advertisement

[Example ] In case of writing data of 8 bytes to slave station 03
Own station register
コ 1 0 0 0
コ 1 0 0 1
コ 1 0 0 2
コ 1 0 0 3
コ 1 0 0 4
コ 1 0 0 5
コ 1 0 0 6
コ 1 0 0 7
■ PC program
Switch
F–44
00000
Sending relay
14000
9
Non-carry
14000 07354
07355
F–44
T000
Error
07355
Carry
07356
For an example to readout data from the assigned station using F-205, see page 13·28.
Module number installing own station JW-20CM : 2
Channel number using own station JW-20CM : 0
Data area of slave station 03
Receive top address of slave station 03
Send data top address of own station :コ1000
Sending data
0 0 1
Port No.2
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 1 0
Flag
F-32
14000
SET
F-202
2-0-03
OPCH
F-204
010
SEND
Error
Carry
Zero
TMR
000
07356
07357
F-33
14000
RST
: 0 (file number)
(8)
: Register 09000 (file address 004000
(8)
Receiving data
CH0
Sending
Response
0 3
(8)
Set sending relay (14000)
Port No.2, CH0, station number 03
file 0
004000
File number 0
File address 004000
Send 8 bytes of コ 1000 to コ 1007
コ1000
Detect non-execution after turning ON
power (Flag does not change for 1
0010
second)
End of execution and the program resets
14000
9
8
·
(8)
Target station register
0 9 0 0 0
0 0 1
0 9 0 0 1
0 0 2
0 9 0 0 2
0 0 3
0 9 0 0 3
0 0 4
0 9 0 0 4
0 0 5
0 9 0 0 5
0 0 6
0 9 0 0 6
0 0 7
0 9 0 0 7
0 1 0
(8)
)
(8)
(8)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jw-20rs

Table of Contents