Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 32 of 37

Sharp Programmable Controller New Satellite JW10 User's Manual: Chapter 14 How to Use the MMI Port

Pages 251 to 257 of 307, from Sharp Programmable Controller New Satellite JW10 User's Manual

The original document is the PDF (5.0 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 jW-10CM

Page 251

Chapter 14 How to Use the MMI Port 14-1 MMI port • The JW10 MMI port has two modes: PG mode and computer link mode. • The mode is selected by the PG/COM signal voltage on the MMI port. PG/COM signal

Mode

High (open)

PG mode

Low (GND)

Computer link mode

Pin no.

Signal name

1 2 3 4 5 6 7 8

5 V (Vcc) RX TX PG/COM GND 5 V (Vcc) /RX /TX

9

GND

MMI port 5

4 9

3 8

2 7

1 6

(1) PG mode • A support tool, like the JW-13PG, is connected to perform JW10 programming and monitoring. • The support tool and the MMI port must be connected using a special connecting cable (JW12KC). Hand-held programmer

Personal computer JW10

Converter

JW10

JW-12KC

JW-12KC JW-13PG A , B

Ladder software JW-50SP/52SP/92SP

(2) Computer link mode • The JW10 can communicate to a host computer or an LCD control terminal. (The JW10 can receive host computer's commands and response to the host computer.) • Even if the JW10 is stopped or something is wrong with it, communication is still possible. (With the exception of a problem in the communication facility itself) • The functions are the same as those of a computer link through a communication port. However, when the communication port is used, it allows you to communicate with up to 63 JW10s. But, if the MMI port is used, the host computer can only be connected to one JW10. • The MMI port computer link and various other functions (computer link, data link, remote I/O) from the communication port can be used simultaneously. Host computer

LCD control terminal

モード

表示ON

メニュー

リセット

実行

電源

JW10

ZM-30E/L ZM-40D/L ZM-61E/T ZM-70D/T

RS-232C/422 converter (Z-101HE)

14・1

JW10

14

Page 252

14-2 PG mode • In the PG mode, a connection between various types of support tools and JW10 allows you to perform programming and monitoring. • Pay attention to support tool models used because the JW10’s functions may be limited, depending on the tool’s version.

[1] Types of support tools (1) Models that allow you to use all of the JW10 functions Part name

Model name

Hand-held program- JW-13PG mer (with A , B mark) Multipurpose program- JW-50PG mer (Ver. 5.3 or later) Ladder software

JW-50SP (Ver. 5.3I or later) JW-52SP (Ver. 5.3 or later) JW-92SP (Ver. 5.3 or later)

Summary • 16-character, 4-line, dot-matrix LCD display • Instruction word program, monitor • 640 × 480 dot LCD • One unit of 3.5" FDD, one unit of 2.5" HDD (256 MB) • Ladder/instruction word program, monitor • IBM-PC ladder software • Comes with an RS232C/RS422 converter • Ladder/instruction word program, monitor • DOS/V personal computer ladder software • Comes with an RS232C/RS422 converter • Ladder/instruction word program, monitor • PC-98 personal computer ladder software • Comes with a communication adapter • Ladder/instruction word program, monitor

• For more details about the operation methods of any model, see the instruction manual for a specific model. (2) Models that allow you to use limited JW10 functions Part name

14

Limited description

Model name

Hand-held program- JW-2PG • Usable for the full range of JW20 functions. mer • The following JW10 functions and instructions (which JW-11PG the JW20 does not have) cannot be used. JW-12PG ① TMR/CNT instruction specified by register JW-13PG ② F-80 (byte specified I/O refresh) instruction (Without A , B mark) ③ F-81 (bit specified I/O refresh) instruction Ladder processor II • Usable for the full range of JW20 functions. Z-100LP2F + • The following JW10 functions and instructions (which Z-3LP2EM the JW20 does not have) cannot be used. (Ver. 5.2 or later) Multipurpose program- JW-50PG ① TMR/CNT instruction specified by register mer ② F-80 (byte specified I/O refresh) instruction (Ver. 5.2 or earlier) Ladder software ③ F-81 (bit specified I/O refresh) instruction JW-50SP (Ver. 5.2I or earlier) • Model setting: JW22CU JW-52SP (Ver. 5.2 or earlier) JW-92SP (Ver. 5.2 or earlier)

14・2

Page 253

■ Precautions for models with limited JW10 functions • When using a model with limited JW10 functions, care should be taken to note the following restrictions. Model name

Precautions

JW-2PG JW-11PG JW-12PG JW-13PG (without A , B mark)

• Since the JW10 looks upon 7.5K words of the JW22’s (JW-22CU) memory, pay attention to the following. ① During programming, be sure to write the F-40 (END) instruction in the final program address (JW-1324K/1342K: 02777, JW-1424K/1442K/1624K/ 1642K: 07777). ② If data addresses (49000, E0000, etc.) which the JW22 has but the JW10 does not have are included in the program, a memory error will occur, and no operation will be executed. ③ The data memory which the JW22 has but the JW10 does not have will always be read as 0. The current value of those addresses cannot be changed. ④ When instructions are used (F-05, F-06, etc.) which the JW22 has but the JW10 does not have, UNDEFIND will be displayed. If the system is operated in this state, memory errors will occur, and no operation will be executed. ⑤ When the system is connected to the JW10, an error message will be displayed, however, the contents of the error message may vary. (If an abnormality is encountered, check the contents of the error message using the error code found at system memory #160.) ⑥ When all are initialized, ignore the shown on the right side of the LCD display. Note: In order to use the JW-2PG with the JW10, set the JW10 system memory #136 to 02(H). • Select the model type as 3.5K-words of JW22 (in the case of JW-1324K/ 1342K), or 7.5K-words of JW22(in this case of JW-1424K/1442K/1642K). Also, pay attention to the following. ① When a program is written by PC transfer to the JW10 module, be sure that you have written an F-40 (END) instruction at the final program address (JW-1324K/1342K: 02777, JW-1424K/1442K/1624K/1642K: 07777). ② The timer/counter settings and the constants in the application instructions cannot be changed. ③ If an instruction exists in the ladder software after the final program address in the JW10, even though a program is written by PC transfer, it cannot be written to the JW10 module. Then, when the program is checked, a check error will occur. However, it is not related to the JW10 module’s operation. ④ When an instruction or data memory address which the JW10 does not have is written by PC transfer, a memory error will occur. ⑤ The data memory which the JW22 has but the JW10 does not have will always be read as 0. The current value of those addresses cannot be changed. ⑥ It is not possible to read or write to the EEPROM. ⑦ ROM which is written to using the PROM programmer transfer function cannot be used. ⑧ A comment will be displayed in the system memory setting screen. Since it is a comment intended for the JW22, it may be different from the JW10 contents. ⑨ Do not execute "the CU memory clear."

Z-100LP2F + Z-3LP2EM (Ver. 5.2 or later) JW-50PG (Ver. 5.2 or earlier) JW-50SP (Ver. 5.2I or earlier) JW-52SP (Ver. 5.2 or earlier) JW-92SP (Ver. 5.2 or earlier)

14・3

14

Page 254

[2] Support tool connections • Connect support tools to the MMI port on the JW10 module using the PG connecting cable (JW12KC).

① Hand-held programmer (JW-13PG)

② Multipurpose programmer (JW-50PG)

JW-12KC

JW-12KC

JW10 basic module

JW-13PG A

③ Ladder software (JW-50SP/52SP)

JW10 basic module

JW-50PG

④ Ladder software (JW-92SP) PC98 personal computer

IBM-PC DOS/V personal computer

Communication adpter II

Converter JW-12KC

JW-12KC

JW10 basic module JW-50SP/52SP

JW10 basic module JW-92SP

■ Procedure for connecting the PG connection cable

JW-1324K

(JW-12KC) and the JW10 ① Open the MMI port cover on the basic module. ② Connect the 9-pin connector of the JW-12KC cable to the MMI port on the basic module. ③ Secure it with the connector screws.

14

■ Communication specifications Item

Specifications

Data transfer standard EIA RS-422A or equivalent Transfer rate 19200 bits/s

MMI port

MMI port cover

Connector retention screw

PG connection cable (JW-12KC)

14・4

Page 255

■ PG connection cable (JW-12KC) specifications 1) External view

D-SUB 25-pin connector (female)

D-SUB 9-pin connector (male) Connector retention screw

Support tool side

JW10 side (to the MMI port) 2m

Spring lock plate

2) Wiring diagram Support tool side D-SUB 25 pins (female) Signal name

Pin no.

RX /RX TX /TX GND GND 5V 5V GND 5V

2 15 3 16 5 7 12 18 21 25

JW10 (MMI port side) D-SUB 9 pins (male) Shielded wire (AWG28) Signal name Pin no. RX /RX TX /TX GND 5V GND 5V PG/COM

2 7 3 8 5 1 9 6 4

(Pin number 4 is not connected.)

(The other pins are not connected.)

14・5

14

Page 256

14-3 Computer link mode [1] Communication specifications • The JW10 can communicate with a single host computer or a single LCD control terminal.

Host computer LCD control terminal

JW10

モード

表示ON

メニュー

リセット

JW10

実行

電源

RS-232C/422 converter (Z-101HE)

RS-422A

RS-422A

Max. 1 km

Max. 1 km

Item

Specifications

Data transfer standard Transfer rate Data style

Characters used Error check Number of stations connected Communication line

14

EIA RS-422A or equivalent. Start-stop synchronous system 38400, 19200, 9600, 4800, 2400, 1200, 600, 300 bits/s Start bit : 1 bit Data length : 7 or 8 bits Parity bit : 1 bit (odd, even, none) Stop bit : 1 or 2 bits ASCII alphanumeric characters Parity check, sum check 1 module [The station number is fixed at 001(8).] Shielded twisted pair cable. Cable total length: 1 km 4-wire system

[2] Wiring (1) When using an RS-232C/422 converter

Host computer Frame ground FG 1 Transmit data TD 2 Receive data RD 3 Signal ground SG 7

RS-232C/422 converter Z-101HE FG TD RD SG

JW10 MMI port Shielded twisted pair cable

TD(+) TD(-) RD(+) RD(-) SHIELD Class-3 grounding Less than 1 km RS-422A

Less than 15 m RS-232C

(2) When connecting the JW10 to an LCD control terminal See "Appendix-5. Connection with an LCD control terminal." 14・6

Pin no. Signal name 1 2 7 3 8 4 5 6 9

5V(Vcc) RX /RX TX /TX PG/COM GND 5V(Vcc) GND

Page 257

[3] Setting system memory • When using the computer link mode, use the following system memory settings.

D7 D6 D5 D4 D3 D2 D1 D0 0 Transfer rate (300 to 38400 bits/s) Parity (none, odd, even) Stop bit (1 bit, 2 bits) #226

#227

Transfer specifications

Setting computer link station number for MMI port

Data length (7 bits, 8 bits) D7 Data length D5 Stop bit 0 0 7 bits 1 bit 1 1 8 bits 2 bits

D4 D3 Parity D2 D1 D0 Transfer rate (bit/s) 1 1 1 0 0 None 38400 0 0 0 19200 0 1 Odd 0 0 1 9600 1 0 Even 1 1 Disable 0 1 0 4800 0 1 1 2400 1 0 0 1200 1 0 1 600 1 1 0 300

• Set own station's number of the MMI port into 001(8). • As the MMI port connection is only available as 1 vs 1, station number of own station should only be "001(8)." • Initial value is 000(8).

[4] Communication requirements • They are the same as for the computer link on the communication port. See "13-2 Computer link." Note 1: Since only one-by-one connection is applied, the AD(H) and AD(L) (slave station address) in the communication format must be "01."

14・7

14