The text of a manual · part 5 of 6
Section 5: 584 System I/O Configurations, pages 37 to 45
Pages 37 to 45 of 51
The original document is the PDF (1.7 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 Modicon B573, AEG B573, Gould B573 and Schneider B573
Page 37
P453 Replacement
Techniques:
The P453 can be maintained entire unit can be replaced. When replacing to the subassembly
(circuit board) level or the a P453 board:
1.
Remove power from the P453 unit.
2.
Refer to Figure 5-39. Remove the five mounting lower front cover plate, and remove this plate.
3.
Remove external cables from the defective board by disconnecting them at the bottom of the unit, noting the connectors to which they are attached.
4.
Note the switch
5.
Remove the defective board and replace it with an identical board, ensuring that switches on the new board are set the same as the switches on the board being replaced.
settings on the defective screws securing the board.
,’ 6.
Reconnect the external bottom of the unit.
7.
Remount
8.
Restore main communication mainframe.
To replace cables to their proper the lower front cover plate and mounting power to the P453 unit. of the l/O channels and ASCII the P453 as a complete connectors at the screws.
Check devices for normal with the 584 unit:
1.
Remove power from the P453 unit.
2.
Disconnect connectors
3.
Carefully
4.
Refer to Figure 5-39. Remove the five mounting screws securing the lower front cover plate of the unit being replaced, and remove this plate.
5.
Remove the lower front cover plate of the new unit also.
6.
Note the settings of all internal switches on the unit being replaced, and set the switches on the new unit to the same settings. Remount both cover plates.
7.
Remove the unit being replaced
8.
Loosely mount the new unit on the mounting the mounting hardware at this time.
all cables from the bottom to which they are attached. cam the l/O housing
5-37 connector of the unit, noting the away from the unit.
from its mounting surface.
surface.
Do not tighten
Page 38
5.16
9.
Carefully cam the l/O housing connector into the P453. Then tighten the mounting hardware.
10.
Reconnect all external cables to their proper connectors at the bottom of the unit.
11.
Restore main power to the P453 unit. Check for normal communication of the l/O channels and ASCII devices to the 584 mainframe.
l/O POWER SUPPLY LOADING Each l/O module or other device connected to an I/O channel powered by the 584 mainframe power supply or by an Auxiliary Power Supply causes a current drain, or load upon that supply. Figure 5-43 shows the load capability of each supply and the amount of loading required by each l/O module or device. Total l/O channel units of load must not exceed the capability of the supply driving power to that channel. Power Available: Mainframe Power Supply Aux. Power Supplies P453 Power Supply
= 54 Units of Load =27 11 =54 ” l/O Loading: Units of Load
Module
Type
8230 8231 B232 B233 8234 8235 B236 B237 B238 8239 8243 B244 8245 8246 8247 B248 8258 8260 8262 8266 B270 8271 8275
115 VAC Output 115 VAC Input 24 VDC Output 24 VDC Input 220 VAC Output 220 VAC Input 5 VDC TTL Output 5 VDC TTL Input 24 VDC Output 2x Hi Speed Counter Analog Input 220 VAC Out Isolated 220 VAC In Isolated 115 VAC Out Isolated 115 VAC In Isolated lo-60 VDC Output Analog MUX Analog Output 4-20mA Output Reed Relay Output 48 VAC Output 48 VAC Input lo-60 VDC Input
1425 J540
Remote Driver 500 l/O Adapter with one channel
Figure 5-43
500 l/O
I/O Power Supply Loading
5-38
2 1 2 : 1 2 1 2 3 2 2 1 2 : 2 2 2 2 2 1 1 5 3 13
Page 39
L
5.17 TELEPHONE INTERFACE The Modicon telephone interface (T160, T161, or T162) allows the 564 controller to be linked to the Modicon Service Center over standard voice grade telephone lines (Figure 5-44). Each interface is an acoustical data coupler which mates with a standard telephone handset. The interface can be connected directly by cable to Ports 1 or 2 on the 584 mainframe or to Port 2 on the rear panel of the P190.
i
Figure 5-44
5-39
Telephone
Interface
Page 40
5.18
584 ASCII CONFIGURATION The 584 ASCII capabilities support up to 32 ASCII ports (in addition to the 32 channels of l/O), with up to 10,000 messages stored in the 584 memory. Features include efficient message formatting, editing, and printout, as well as message monitoring on the P190. Typical devices used with Modicon ASCII include: Terminals, Printers, Alphanumeric Displays, Keyboards, Bar Code Readers, Multiplexers (Thermocouple, Linear Measurement, Pressure, etc.), Badge Card Readers, Floppy Disks, and Data Acquisition Systems. The 584 ASCII hardware configuration includes: 584 Mainframe for storing formats and messages, storing RS-232-C port parameters, sending messages to remote l/O processors, sending or requesting data for remote processing. P190 Programmer for entering and editing RS-232-C port parameters, monitoring messages. P453 Remote Interface Assembly (connected through a J200) supporting an ASCII interface to two or four RS-232-C ports.
ascii device “( I-. ;r. &L P 4 5 3
584 MAINFRAME
RS-232-C Cable i
W600 cable coaxial cable
A
75 ohm terminating
Figure 5-45
584 ASCII
5-40
Configuration resistor
Page 41
RS-232-C and ASCII
Standards
K-232-C is a data communication standard established by the Electronic Industries Association (EIA). Its purpose is to allow devices designed by various manufacturers to communicate with each other. The RS-232-C standard principally specifies: l l l l
The connectors D B-25-S)
to be used (25pin
“D” connectors, type DB25-P
The connector pin-out definitions to be used and the purpose wire in the cable between devices The voltage volts = 1)
levels to be used (more than
+ 3 volts
The baud rate at which two devices (for example, will communicate.
or of each
= 0, more than -3 a P190 and a printer)
ASCII is an acronym for American Standard Code for Information interchange. While the RS-232-C standard takes care of the hardware specifications, it does not define the combinations of “1” and “0” bits which must correspond to data characters. This is accomplished by ASCII, a seven bit data code, defining 128 characters much like those on a standard typewriter. For example, the letter “A” is represented by 1000001. Other codes are used for control functions such as defining the start or end of each message or data transmission. The bits of each code are sent serially between devices. “Parity” is the addition of an eighth bit which is controlled to make the total number of “1” bits either even or odd. For example, with even parity the letter “A” would become 01000001, and with odd parity 11000001. The parity bit is used for checking the data. If a device is set for even parity and receives an odd number of “1” bits for a character, it knows that a communications error has occurred. A “Stop Bit” is the addition of a ninth bit which is used to separate characters. Often a second stop bit may be used, making a total of ten bits for each character of data. “Baud Rate” is the data transmission speed. Typical baud rates are 110, 300,600, 1200,2400,4800,9600, and 19200. Since a data character consists of about ten bits, to estimate the number of characters per second, divide the baud rate by 10. Two devices communicating together must be set for the same rate. Maintenance
Techniaues:
Maintenance of a 584 ASCII communication system requires a thorough understanding of not only the 584 system hardware, but also of the ASCII devices used. Since these are varied and each device is unique, it is important to become familiar with device maintenance procedures and properly test for a device problem before replacing other parts of the system.
5-41
Page 42
It is not possible to just cable two K-232-C devices together to be up and running. An W-232-C compatible device connection may utilize as few as two wires or as many as 16 or more. Figure 5-46 illustrates a typical example of K-232-C wiring between two devices.
Example
M-232
P453
CRT
1 ; 4 5 7 : 20 wiring:
I
1
=I
I
F -20
(Shield) (Transmit) (Receive) (Request to send.) (Clear to send?) (Signal ground) (Data set ready) (Rec. line Sig. detect) (Data terminal ready)
1
Figure 5-46
Sample
M-232-C
Wiring
Anyone considering troubleshooting circuits with RS-232-C devices should consider obtaining a “Break-Out” box. This is a small unit which connects between two devices, makes accessible all 25 pins for jumpering and cross wiring, and which usually has several LED’s to display line status. If there is trouble in the 584 ASCII communication, there are several main points to check: 1.
Make sure that the RS-232-C cable wiring for the ASCII device is correct and not defective.
2.
Ensure that the ASCII port parameters are consistent between the devices (Baud Rate, number of bits per character, Stop Bits, Parity Odd or Even.)
3.
Ensure that the device is in an on-line mode for communications to take place.
4.
Check the P453 for a COMM ERROR or diagnostic failure indicated by a blinking pattern on its READY light.
ASCII Communication Via Modem ASCII devices such as printers may also be communicated to from the P453 via a modem. A modem is a device which converts digital signals, such as those used by the P453, to frequency modulated signals, such as radio, microwave, light or telephone signals. The modem used in the sample configuration here is a Modicon J478.
5-42
Page 43
In Figure 5-47, the P453 is shown connected to the first J478, and the second J478 to the ASCII printer, with RS-232-C cables. Communication on these lines is compatible with the RS-232-C standards already described. The J478’s then communicate over a distance with communication which has been converted from the RS-232-C form to frequency modulation. The illustraion in Figure 5-47 shows the difference in form. The ASCII character “t” is the example used. In the W-232-C form, the “t” is represented by the bits 1110100 with + 12 volts representing zero and -12 volts representing one. The same character is shown converted to FM, with 50 KHz representing one and 80 KHz representing zero.
I P 4 5 3
I 584
1
J 2 0 0
START BIT A +12VOLTS - 12 VOLTS
= 0 = 1
MARK Irf
STOP BIT(S) 1 1 1 Rl_r
I
,
= R 50 KHz 1 80 KHz = 0
0 0,
I
I,
I I
, I
1 (1) I
I I 4 PARITY BIT MAY BE INSERTED HERE
Figure 5-47
5-43
ASCII Communication via J478
Page 44
ASCII Character Set The chart which follows contains the ASCII character set in Binary, Hexadecimal, Octal and ASCII codes. Any given ASCII device may support Some or all of these characters. This information is available from the manufacturers of these devices.
Binary Code
Hexadecimal Code
Octal Code
ASCII Char.
00
000
NUL
NULL, TAPE FEED, CONTROL/SHIFT/P.
0000001
01
001
SOH
START OF HEADING: ALSO SOM, START OF MESSAGE CONTROL/A.
0000010
02
002
STX
START OF TEXT: ALSO EOA, END OF ADDRESS CONTROL/B.
0000011
03
003
ETX
END OF TEXT: ALSO EOM, END OF MESSAGE CONTROL/C.
0000100
04
004
EOT
END OF TRANSMISSION (END): SHUTS OFF TWX MACHINES, CONTROL/D.
0000101
05
005
ENQ
ENQUIRY (ENQRY) ALSO WRU, CONTROL/E.
0000110
06
006
ACK
ACKNOWLEDGE: ALSO RU, CONTROUF
0000111
07
007
BEL
RINGS THE BELL. CONTROUG.
0001000
08
010
BS
BACKSPACE: ALSO FEO, FORMAT EFFECTOR. BACKSPACES SOME MACHINES, CONTROUH.
0001001
09
011
HT
HORIZONTAL CONTROL/I.
0001010
OA
012
LF
LINE FEED OR LINE SPACE (NEW LINE); ADVANCES PAPER TO NEXT LINE, DUPLICATED BY CONTROUJ.
0001011
OB
013
VT
VERTICAL TAB (VTAB), CONTROL/K.
0001100 oc
014
FF
FORM FEED TO TOP OF NEXT PAGE (PAGE) CONTROL/L.
0001101
OD
015
CR
CARRIAGE RETURN TO BEGINNING OF LINE. DUPLICATED BY CONTROL/M.
5-44
Remarks
TAB.
Page 45
Binary Code
Hexadecimal Code
Octal Code
ASCII Char.
0010000
10
020
DLE
DATA LINK ESCAPE. CONTROL/P (DCO).
0010001
11
021
DC1
DEVICE CONTROL 1, TURNS TRANSMITTER (READER) ON, CONTROUQ (X ON).
0010010
12
022
DC2
DEVICE CONTROL 2, TURNS PUNCH OR AUX ON. CONTROUR. (TAPE AUX ON).
0010011
13
023
DC3
DEVICE CONTROL 3, TURNS TRANSMITTER (READER) OFF, CONTROL/S (X OFF).
0010100
14
024
DC4
DEVICE CONTROL 4, TURNS PUNCH OR AUX OFF. CONTROUT (AUX OFF).
0010101
15
025
NAK
NEGATIVE ACKNOWLEDGE ALSO ERR, ERROR. CONTROUU.
0010110
16
026
SYN
SYNCHRONOUS FILE (SYNC). CONTROUV.
0010111
17
027
ETB
END OF TRANSMISSION BLOCK: ALSO LEM, LOGICAL END OF MEDIUM. CONTROUW.
0011000
18
030
CAN
CANCEL (CANCL). CONTROUX.
0011001
19
031
EM
END OF MEDIUM CONTROL/Y.
0011010
1A
032
SUB
SUBSTITUTE.
0011011
1B
033
ESC
ESCAPE. PREFIX. CONTROUSHIFTIK.
0011100
1c
034
FS
FILE SEPARATOR. CONTROUSH I FTIL.
0011101
ID
035
GS
GROUP SEPARATOR. CONTROUSHIFTIM.
0011110
1E
036
RS
RECORD SEPARATOR. CONTROUSHIFTIN.
0001110
OE
016 so
SHIFT OUT; CHANGES RIBBON COLOR TO RED. CONTROUN.
0001111
OF
017
SI
SHIFT IN; CHANGES RIBBON COLOR TO BLACK. CONTROUO.
5-45
Remarks
CONTROUZ.