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

The text of a manual · part 5 of 10

Class 8030 Type CRM-510 Network Interface Module: 6: Modes of Operation

Pages 17 to 26 of 44, from Class 8030 Type CRM-510 Network Interface Module

The original document is the PDF (1.3 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.

For the Square D 8030 CRM-510 and Schneider 8030 CRM-510

Page 17 read from a scan by OCR; it may hold reading errors

30598-257-02 Page 17

6.0 MODES OF OPERATION

2 P.C. S| Pc. 3 | Lm A oO P. S. ears CRT LAT oY ss o oO : ! O SY/NET #1 |? | 0-LOG 9 | PLC. 12 | DEVICE D me) Va PC. O PC. O o~ 3 ,, O SY/NET #2

Figure 6.1 - Sample Network Layout

The Network Interface Module offers four modes of opet-alion, These modes are:

CRT's. PC's, Process Controllers. Loader/Recorders, Data Controllers. elc.

Two or more networks can be con- nected together.

Communicate with ASCIL device, CRT’s. Printers, bar code readers. étc.

Read/Write I'O and register data.

1. SY‘MAX Family

2. NET - NET

3. Peripheral

4. 8881 PC

Each COMM port is independent and can operate in any of these four modes.

network will consist of several PC's, CRT’s etc.

See Figure 6.1.

The following sections describe the use of the network.

6.1 SY/MAX-Family Mode

This mode allows I/O status, register data, and ladder rungs to be exchanged/transferred between two or more SY/MAX Family devices. Compatible devices are:

Model 100. 300, 500, 700 pracessors CRT Programmers Data Logging equipment

Process Control equipment Cartridge Tape Loader! Recorder

Non compatible devices are:

Hand-Held Programmer * Loader’ Monitor

*The Loader/Monitor can be used on the network in the ol mode only. For additional information sce Section 5.3

6.1.1 CABLE REQUIREMENTS

Any SY/MAX Family compatible device can be connected to the Network Interface Module (from COMM port to COMM port} using the Class 8030 Type CC-100 Series cable. This cable can be purchased in different lengths. These lengths are:

CLASS TYPE ‘LENGTH 8010 CC- 100 10 feet 8010 CC-101 30 feet 8010 CC- 102 2 feet

When an application requires a cable longer than 30 feet. you mnector kit and assemble your own cable.

See Section 3.1.1

Page 18 read from a scan by OCR; it may hold reading errors

Page 18 30598-257-02

6.1.2 SWITCH SETTINGS

On the back of the Network Interface Module are three groups of switches labeled $3, $4, and $5.

1234 1234567 1234567 x] |X X x| [x X x x|x[x xix[ [x[xf | | [x[x{ [x[x 53 S4 $5

SY/MAX Family Mode

Swite the network port baud rate (Set to 62.5K] See Section 2.2.2

Switch groups $4 and 55 each have seven switches. Switches on switch groups S4 and SS perform the same function for COMM Ports | and 0 respecuvely.

Switch Functions

Switch 1 Selects option to receive broadcast messages. See Sec- | tion 9. 1](Normally set UP OFf)).

Switches 2 & 3Sclect mode

{234567

1234567 1234567

»ah4 $4 or §5

Switches 2 & 3 down Select SY/MAX Family mode.

Switches 4, 5, & 6 Select COMM port baud rate

SWITCH BAUD RATE 4 5 6 UP_[DOWN|DOWN| 9600 L2 UP | DOWN UP 2400 UP UP | DOWN 1200 UP UP UP 300

Switch group S4 or $5

Normal setting is 9600 baud (Switch 4 UP, | 234567 Switch 5 & 6 DOWN). Bd

Switch 7 on switch group 54 Selects 123456 self-test nude - set UP (oft).

oS eed

Switch 7 on switch group S5 Selects network size = 100 Modules (Set UP).

See Appendix Difor summary of switch setlings.

Once all switches have been set. you can then connect your PC, CRT, etc. to the Network Interface Module.

6.1.3 OPERATION

This section describes how the Network Interface Module can be used with the PC, CRT, D-LOG module and Cartridge Tape Loader/Recorder.

6.1.3.1 PC to PC

When you need to communicate I/O and register information between twa PC's without using SY/NET, the following hardware layout can be used.

<O7

P. Cc. x, cc, 100 CABLE

Oo O ot f/f to pe - - - 10,000 MAX, - - Figure 6.2 - PC To PC Hardware Layout

In order for PC X to write its Register 40 into PC Y's Register 50, you need to program the following rung into Processor X.

zy STAT LOGAL - - REMOTE, - COUNT | ‘= T WRITE 2 539 $40 $50 1 H

Figure 6.3 - Sample WRITE Rung

Where:

WRITE: Refers to the command to send data to another PC.

2: Refers to communications using processor Port #2 (comm).

STAT: A register which contains information on the progress of the communication message.

Page 19 read from a scan by OCR; it may hold reading errors

LOCAL: A register inside the initiating PC which con- \ains data lo be sent.

REMOTE: A register in the remote PC where data will be stored.

COUNT: Refers to the number of consecutive registers that will be sent.

When cantact 7. closes in example 6.3, processor X will write the contents of its Register 40 into Processor Y’s Register 50. Since the example rung has a count of one (1), no other registers will be affected. The Communication message is enabled once for each closure of Z because the Write rung is iransition sensitive.

Communication Progress

During communications (Contact Z Closed) the STAT (status) register will contain data on the progress of the communication rung. The following is a description of the status register dala.

STATUS REGISTER BIT DESCRIPTION Bit | ON, error in communication Bits 1-14 Error code (1 thru 16383-all error codes are odd numbers).

If an error is encountered in com- munications an odd number error code will be put into the status register. See Section 8.1 for a list of error codes. Bit 15 RUN/HALT status of remote pro- cessor.

Bit 15 indicates RUN/HALT sta- tus of remote processor. ON = RUN, OFF = HALT. (Only valid when BIT 16 is ON-message complete.)

ON = Communication Com- plete!

Bit 16

This bit can be used to initiate automatic repeat of communica- tion rungs.

Bit 17 ON = Communications Started - Message is being sent.

Bit 22 ON = Rung enabled, continuity present up to the communication box.

These status bits can be used as ladder rung elements for control functions. For additional programming examples, see

30598-257-02 Page 19

When you need to perform PC - PC communications with two or more PC's, a SY/NET communication network can be used.

a cat [A

Pf, iB P.C. Lak) Om !

C4

Routing

When using aSY/NET system you need to provide additional information in the communication rung describing where the communication message originated from and where it will end up. These extra commands are otherwise referred to as source and destination or the ROUTE.

For cxample if PC A is connected to NIM #7 Port | it would have a network device number of 107. [f PC B is connected to NIM #15 Port 1 it would have a network device number of 115. (If Port 0 was used, PC A would have ag i

- af) K iif - See Section 5.1 number of 007 and PC B a number of 015.) for additional routing information.

Taking Example 6.3 and adding the route values provides:

2; ROUTE, ROUTE, STAT, LOCAL, REMOTE - COUNT @ || Tware2 197 115 «S39 S40 880 1 |

Figure 6.4 - WRITE Rung With Route Values Added

Once the ROUTE values are added to the communication rung, NORMAL communications can take place “OVER VHE NETWORK’.

6.1.3.2 SY/MAX Family CRT Programmer to PG Typically when you program, monitor, edit, or load/record programs using a CRT, ali that is nccded 13 to connect a CRT directly to the processor using a Class 8010 Type CC 100 cable.

are crt | A

Hi P. C.

‘o) -O Oo )

C4

In order to select which PC you wish to communicate with on the network, you need to enter routing information into the CRT. Sce above example.

Entering Route Into The CRT Programmer Once the CRT is connected ta a NIM's COMM Port, (and therefore the network) and power is applied, the CRT will perform its start-up test. Following this test the CRT should

Page 20 read from a scan by OCR; it may hold reading errors

Page 20 = 30598-257-02 display the SY/MAX line programmer menu. If no display Is shown:

1. Check Mode switches on the NIM. (Should be set for SY/MAX Family.)

2. Check baud rate switch setting. (Should be set for 9600 BAUD.)

3. Cycle power on NIM and CRT.

On the CRT are 10 soft keys; one key is labeled *‘ROUTE”’. Depressing this key will display:

Click here to view display.

Enter in the network device number of the CRT (15). This is determined by adding the NIM port number to the thumbwheel number on the NIM. Example:

NIM #15 Port 0 has a device number of 015. Port | has a device number of 115.

See Section 5.1 for more routing information.

Next type a ‘‘,’” (comma) followed by the device number of the PC you wish to communicate with (107).

Finally, depress the LOAD softkey. When the LOAD softkey is pressed the CRT will return to the main menu. Any CRT operations performed will now occur “‘over the network"’. No CRT capability is lost by using the network.

To communicate with another PC. simply change the route numbers in the CRT.

NOTE: The CRT will loose its routing information when powered down.

6.1.3.3 D-LOG To PC

Using the Class 8030 Type DLM-110 (or 120) D-LOG module, you can ‘‘GET”’ and “‘PUT" I/O and register data over the network to any PC on the network.

Using a standard CC-100 series cable, connect the D-LOG module’s COMM port to a NIM COMM port.

i 2 PLC Oo} cP bos] | pc. O- D- On Cc O ct :

4 cc, 100 CABLE

All that is needed to communicate on the network, is to enter “ROUTE” values into the D-LOG program. In the D-LOG program, type in the following insiructions:

10 ROUTE A,B

Where:

10 = any line number 1-65529

Route = Communicatiun Instructium used for the SY/NET network

A = Network device number where D-LOG mod- ule 1s connected

B = Network device number where you will

“GEL, or “PUT VO and register data

See Section 5. |} for additional routing information

Once the D-]OG module executes line 10, all D-LOG COMM port communications will contain routing information.

It is acceptable to put multiple route commands in a D-LOG program. See Instruction Bulletin 30598-272-0.

Note: For direct D-LOG ta PC communications no routing information 1s needed.

6.1.3.4 PC to Cartridge Tape Loader/Recorder {Class 8010 Type SLR-100)

By programming READ and WRITE rungs into a PC, you can write PC register data onto the tape and later read data fram the tape into the PC's registers. All that 1s required 1s a Class 8010 CC- 100 series cable.

LOADER/RECORDER fe) om

Cc - 100 CABLE

Within the Cartridge Tape Loader/Recorder, there are 530 registers. Registers t thru 5!2 atlow PC register data to be saved and recalled; and appear to the PC as programmuble controller registers.

Register 513 through 530 are used to control the operation of the Cartridge Tape Loader/Recorder.

When the PC ‘‘writes’’ to register 519 for example, the loader/recorder will rewind the tape. See Example 6.5.

2p STAT, LOCAL, REMOTE, COUNT } - Twalte2 $3 S19 $519 : |

Figure 6.5 - WRITE Rung To Loarder/Recorder

Closing Cantact 7 will command the PC to write into Register 519 of the loader‘recorder.

Page 21 read from a scan by OCR; it may hold reading errors

Since register 519 is a contro] register, the command to rewind the tape will be performed (without regard to the data in Register 10}. When a loader/recorder ts connected to a Network Interface Module, a single loader/recorder can contain data from several PC*s or data logging modules.

he VLE] [orl

19 0 Ele] i=] ao

| bo eR]

O

Communication to a loader/recorder on the network requires thal “ROUTE”: values be added tv the communication rung. 4 . ROUTE, ROUTE - STAT, LOCAL - REMOTE - COUNT 4 [LT write 2 115 103 $28 $10 XXX 1 l

Figure 6.6 - WRITE Rung With Route Values Added

Where:

WRITE = Command to the loader/recorder

ROUTE 115 = Network device number of PC initiating communications

ROUTE 103 = Network device number of remote loader- ‘recorder

STATUS = Register which contains information on the progress of the communication rung

LOCAL = PC register inside the inittating PC

REMOTE = XXX - dala or control register number of receiving device

COUNT = Number of consecutive registers affected

(set to 1 for contro] register commands).

See Bulletin 30598-162-01 fur additional infuimativn on the operation of the Cartridge Tape Loader/Recorder.

6.2 NET to NET Mode

The NET to NET mode allows two or more SY/NET networks to be linked together to form distributed networks, a large capacity network, or network redundancy.

0 pC. B PLC waa A CRT Te ' 6

C} SY/NET #1

|G) [0] ie) P.C. oO D ie) c Oo l |

U

SY/NET #2

30598-257-02 Page 21

Utilizing the NET to NET capability requires consideration of three steps.

]. Cable Requirements (8010 CC-100 series cable or equivalent).

(mode, baud rate, and lthumb- wheels must match).

2. Switth setlings

3. Operation (additional route values needed).

6.2.1 CABLE REQUIREMENTS

The connection between two networks is via the COMM ports on the front of the Network Interface Modules (ports 0 or }). A standard CC-10) series cable can be used. Three lengths are available.

CLASS TYPE LENGTH 8010 CC-100 10 Ft. 8010 cc-101 30 Ft. 8010 CC-102 2 Ft.

When an application requires a cable fonger than 30 Ft., you can purchase a connector kit and assemble your own cable. See Secuon 3.1.1

NOTE: When connecting the 2 NIMs together, the COMM port numbers, and switch settings must be the same. Port 0 to port O or port | to port t.

6.2.2 SWITCH SETTINGS

On the back of the Network Interface Module are three groups of switches labeled $3, S4, and $5.

1234 1234567 1234567 x x| [x x x] |x X X;X[X | i [x] [x|xd_| x] [x|x 83 84 55

Net to Net Mode

Switch group S3 - selects the network port band rate as previously described. Switch groups S4 and S5 each have seven switches. Switches on groups $4 and $5 perform the same function for COMM ports | and U respectively.

Switch Functions

Switch # Not Used in Net to Net Mode.

Page 22 read from a scan by OCR; it may hold reading errors

Page 22 = 30598-257-02

Switches 2 & 3 Select mode.

12734567 x] | Xx

$4 or $5

Switch 2 UP and switch 3 DOWN Selects NET to NET made.

Switches 4, 5, & 6 Select COMM port baud rate.

SWITCH BAUD RATE 4 5 6 up |DowN|DOWN]| = 9600 1234567 up |DOWN| UP 2400 Ses | UP UP |DOWN 1260 UP UP UP 300

Switch group $4 or $5

Normal setting is 9600 Baud (Switch 4 UP. Switch 5 & 6 DOWN}.

Switch 7 on switch group $4 Selects 1234567 self-test mode - set UP (off). BER Switch 7 on switch group SS Selects network size = 100 modules set UP.

See Appendix D]for summary of switch settings.

Once all switches have been set you can then plug the Network Interface Madule into the rack.

NOTE: The switch settings of bolh NIM COMM ports that will be connected together must be the same (Net-to- Net Mode and BAUD rate).

6.2.3 THUMBWHEEL SWITCH SETTING

Once settings for $3, S4, and S5 have been made, it 1s necessary to set the thumbwheel switches on the front of the Network Interface Module. (thumbwheel switch access holes are on the right side of the module).

Set the thumbwheels on the NJM’s that will be linked together to the ‘‘same number’ i.e. Network #1! Module 20 must connect to Network #2 Module 20.

When using the net to net capability the chumbwheels of the two net to net NIM‘s modules must be set alike and the same relative Corin puits must be used (e.g. 2 to 2, 106 to 106}.

| CAUTION: On any network, each module must have a unique thumbwheel setting. If two NIM's have the same number - the network will not operate property.

Routing

Routing communications aver a NET to NET link requires one or more additional route values.

For example, in Figure 6.7. if PC A needs to communicate with PC C the new route would be:

Z - -, STAT, - - [Route ROUTE, ROUTE, STAT, LOCAL- REMOTE - COUNT [ | READ 2 107 7 190 S89 S70 SO 1

Figure 6.7 - READ Rung Witn Net-Tu-Net Roule Values

Where:

ROUTE 107 = Network device number of PC that will send data.

ROUTE 7 = Network device number of NET to NET link.

ROUTE 109 = Network device number of remote PC where information will be received.

When three or more route values are put into a communication rung, the first Route value reters to the source or initiating device. The last route value refers lo the destination device that will receive the communication. Any additional route values will instruct Wie network to perform message passing (NET te NET communications),

Within the PC, five to six route values can be programmed and with the CRT programmer, up to 8 route values can be defined.

A typical application of NET to NET communications would be in a multi-level manufacturing facility. Each floor could contain a single network. Then all floors could be linked together using a single network of NET to NET links.

EXAMPLE:

C) NETWORK - A CJ 3 - A e. G ° tal O NETWORK - C i]

Figure 6.8 - Sample Layout For Net-To-Net Communications

For PC #107 to communicate with PC #121 the route would be: Route 107, 1, 2, 121.

Zz, ROUTE- ROUTE - ROUTE - ROUTE, STAT-- LOCAL REMOTE -COUNT fT WAITE 2 107 1 2 121 $62 Siz s22 1 | |

In the above example:

ROUTE 107 = Network device number of PC initiating communications {local PC). ROUTE | = Network Device Number of NET to NET link (Network A to Network B).

Page 23 read from a scan by OCR; it may hold reading errors

ROUTE 2, Network Device Number of NET to NET link (Network B w Network C).

ROUTE 121 = Network Bevice Number of destination PC that will receive message. (Remote PC).

See section 5.1 }tor additional routing information.

6.3 Peripheral Mode

The Peripheral Mode allows CRT's. printers. and olher AS- CI devices to be connected to the network. This mode is primarily used by the D-LOG Data Controiler Module, Class 8030 Type DLM-U10 (or 120).

The D-LOG Data Controller can print out alarm messages. reports, and machine faults to any ASCII device connected to the Network [nterface Module. An added capability exists whereby a CRT keyboard or other ASCII Device can also be read as an input to the Data Logging module over the network.

6.3.1 CABLE REQUIREMENTS

Each COMM port of the NIM communicates using RS422. In order to communicate with an R$232-C or current loop device, a signal conversion has to be made.

NIM TO AS232

To convert RS422 to RS232, astandard interface can be used. CLASS 8010 TYPE CRM-600

The cable used to connect the CRM-600 to the NIM should be a:

CLASS 8016 TYPE CC-130 a)

CAM, 600

To RS232 pH, - (DEVICE

~ cc, 100

For additional cable/hardware information, see instruction bulletin 30598-180-0} (printers).

6.3.2 SWITCH SETTINGS

Qn the back of the Network Interface Module arc three groups of switches labeled $3, 54, and 55.

123 4 12345 67 1234567

X| [X[X[X]Xx X| [X{X|AX[X x

XIX TX X|X X[X $3 M4 SS

Peripheral Mode

Switch group ele he network por! Baud rate (set for 62.5K, see[Section 2.2.2

Switch groups $4 and $5 each have seven switches. Switches on switch groups S4 and $5 perform the same function for COMM Ports | and 0 respectively.

30598-257-02 Page 23

Switoh Functions Switch | Selects word size and parity of COMM ports.

UP Selects 8 bit_no parity 1234567

DOWN | Selects 7 bit odd parity (com- patible) with SY/MAX Family CRT).

Switches 2 & 3 Select mode

1234567 x |X

34 or SS

Switches 2 & 3 UP Select Peripheral Mode.

Switches 4, 5, & 6 Select COMM port Baud rate

SwiTcH BAUD RATE 4 § 6 UP |DOWN | DOWN 9600 123 UP [DOWN| UP 2400 UP UP | DOWN 1200 UP UP UP 300

Normal setting is 9600 Baud (Switch 4 UP, Switch § & 6 DOWN.)

Switch 7 on switch group $4 Selects self-test mode - set UP (aff).

Switch 7 on switch group S5 Selects network size - 100 Modules {Set UP).

Sce Appendix D]for summary of switch settings.

NIM to Current Loop

When the Network Interface Module is connected to a current loop capable device, a special cable must be used. This cable, however, does not support handshaking signals and can only be used to output data from the NIM to a peripheral device.

The following cable will allow the NIM to communicate with acurrent loop device. (The COMM port sources current).

100 1 J | TO TO NIM Ld CURRENT 2 Loor 3 DEVICE 4 5 sl ? a 9 8 PIN (MALE)

Figure 6,9 - NIM To Current Loop Cable

Page 24 read from a scan by OCR; it may hold reading errors

Page 24 30598-257-02

6.3.3 OPERATION

The peripheral mode basically is a protocol simplifier. As data is sent to the NIM from a D-LOG module or other device using the SY/MAX Family protocol, the data is stripped away from the message and then sent out to the COMM port. Any device connected to the COMM port wil] then receive only the ASCII data from the message. Receiving devices could be printers, CRT’s, or any ASCII compatible device.

. | | P. ASCLL oO D-LOG Pc. o+ 4 > O-+-4 nevice ot o

Figure 6.10 - Network To ASCII Device

6.3.3.1 D-LOG Print ASCII Data Over the Network

Fhe following D-LOG program will print a single message on a CRT located at NIM #2 Port 0 and then direct printed data back to the programmer. The D-LOG module is connected to NIM #7 Port 1.

10 Route 107, 2

20 Assign LO = COM

30 PRINT ‘*Remote Message”’ 40 Assign LO = PGR

Program Description Line Function 10- Defines route for printed message. 20- Directs all printed data to the COMM port. 30 - Prints message. 40- Directs printed data back to the programmer port.

NOTE: The NIM can only store one message destined for a printer at a time. If additional PRINT messages are received by the NIM an overflow error (Error 15) will be returned to the initiating device.

If a processor attempts to WRITE to the NIM, a capability error (Error #5} will be returned to the processor (Writing to a NIM configured in the peripheral mode is not allowed).

6.3.3.2 input ASCH Data Over The Network

The peripheral mode of the NIM can be used to receive or ““INPUT’’ data over the network.

As ASCII data is received by the NIM module, it will be saved until a D-LOG module or processor reads this ASCH data.

Input Data Using a D-LOG Module from a Peripheral Device

The follawing D-LLOG program will print the message (“RE- MOTE MESSAGE’’) to a remote CRT and then wait for an input response from the remote ASCII device on the network.

10 Route 107, 2 (from example in Section 6.3.3.1} 20 Assign LO = COM 30 Print *‘Remote Message’’

40 Assign CO = COM

50 Input A$

60 Assign CO = PGR

70 Assign LO = PGR

Program Description

Line Function 10 Defines route for the printed message 20 Directs all printed data to the COMM port 30 Print sample message

40 Directs console input from the COMM port 50 Input data from the COMM port

60 Direct console imput back te programmer port 70 Direct printed data back to programmer port

When the D-LOG module requests data from the NIM using an ‘‘INPUT** command the NIM will accept ASCII data and send it to the initiating D-LOG module. If data is received by the NIM faster than the D-LOG module can accept it. the NIM will buffer the data. The buffer size of the NIM is approximately 24U characters.

If ASCII data is sent to the NIM before a request for this data is made, the NIM will buffer the data.

NOTE: Since the NIM's buffer may have received information previously, the buffer must be cleared by send ing a PRINT before an INPUT instruction is initiated.

6.4 8881 Mode

The 8881 mode allows SY/MAX Family devices (PC's, D- LOG modules, etc.) to read or alter register data and I/O status from the Class 888t PC system thru the use of the 8881 PR-3 programmer.

NOTE: The 888i programmable controller can only respond to requests of data amd cannot initiate a message.

NIM 8881

O Oo+ - he

PR -3

6.4.1 CABLE REQUIREMENTS

Each NIM COMM port communicates using RS-422. When interfacing with an 8881 PR-3, the computer port of the PR-3 will be used. This port supports RS-232 and current loop

Page 25 read from a scan by OCR; it may hold reading errors

operation. RS-422 is not supported. Hawever, a special cable athe used to adapt the PR-3’s signals to RS-422. See Figure 6.41] This cable allows a direct connection between the PR-3 and

¢ NIM. TO 8881 PR-3 TO NIM 100 0 COMPUTER PORT 2 18 3 3 4 z 7 5 10K 2 Va ol] 7 al 9 1

9 PIN (MALE} 25 PIN {MALE}

Figure 6.11 - Direct NIM To 8881 PR-3 Cable

The cable length between the PR-3 and the NIM using the above cable configuration should not exceed 50 feet.

When the application requires the distance between the NIM and the 8881 PC to be greater than 50 feet, the Class 8010 Type CRM-6U00 (RS-232 to RS-422 convertor) can be used.

8681 PR, - - 3 NIM H CRM, 600 oO _ Oo LF I ce, 130 cc, 110

Figure 6.12 - NIM To 8881 PR-3 Using CRM-600 Adapter

In Figure 6.12|the NIM communicates to the CRM-600 using a Class 8010 Type CC-I30 cable. This cable comes in a standard 10 foot length.

TO CRM, 600

6 24

TO NIM

4 22 25 27 oem vw @®omaw MN

1 19 20 37 37 PIN {MALE}

9 PIN {MALE}

Figure 6.13 - CC-130 Cable Wiring Diagram

The maximum cable length should not exceed 10,000 feet.

30598-257-02 Page 25

The connection between the CRM-600 and the 888! PR-3 requires a special RS-232 cable.

TO saa) PRS TO CRM 600 COMPUTER PORT 1 1 2 2 3 _xX 3 4 4 5 a 5 6 6 7 7 25 PIN [MALE} 25 PIN (MALE)

Figure 6.14 - CRM-600 To 8831 RS232 Cahla

The maximum cable fength should not exceed 50 feet.

6.4.2 SWITCH SETTINGS

On the back of the Network Interface Module are three groups * of switches labeled $3, 54, and $5.

1234 8234567 %6234567 Y | | [x] [x [x|x X| |X| [x]x Xx x|x|x x x |x x x |X $3 - $4 S$ 8881 Mode

Switch gro the network port Baud rate (set for 62.5K, seefsection 2.2.2

Switch groups 84 and S$ each have seven switches. Switches on switch groups $4 and $4 perform the same function for COMM Ports | and 0 respectively.

Switch Functions Switch 1 Selects option to receive broad- | 23 4567 cast messages. See Section 9.1 FE (Normally set UP (OFF)).

Switches 2 & 3 Select mode

1234567 LX ne S4 or $5

Switch 2 DOWN and switch 3 UP Selects 888! mode.

Switches 4, 5, & 6 select COMM port baud rate.

SWITCH BAUD RATE 4 5 6 UP |DOWN|DOWN] 9600 1234 up |DOWN| UP 2400 & up | UP {DOWN 1200 up | up | up 300

Normal setting is 9600 Baud (Switch 4 UP, Switch 5 & 6 DOWN).

Page 26 read from a scan by OCR; it may hold reading errors

Page 26 30598-257-02

Switch 7 on switch group $4 Selects 1234567 self-test mode - set UP (off).

Switch 7 on switch group 55 Selects network size = 100 Modules (Set UP).

See Appendix Difor summary of switch settings.

6.4.2.1 8881 PR-3 Switch Settings

The 8881 PR-3 contains 3 sets of switches. These switches are located behind a gold cover plate on the Front of the PR-3.

The top switch affects the CRT port. The middle switch affects the printer port. The bottom switch affects the computer port.

When connecting the $881 PR-3 to the NIM, the computer port switch settings should be set as follows:

OPEN | CLOSED

7T|xXx 6 xX 5 X 4 Xx 3'1X 2:iX 1X Switches 1-4 select baud rate. SWITCH BAUD RATE 4 9600 Note: only | CLOSED 3 1200 2 300 1 110

Switch 5 selects parity

Open = no panty Closed = odd parity

Switch 6 = current loop mode select Open = current loop off Closed = current loop active

Switch 7 = RS232 mode sclect Open, RS232 off Closed = RS$232 active

Note: For proper operation the baud rate of the 8881 PR-3 and the NIM must be the same.

6.4.3 OPERATION

The 8881 mode of the Network Interface Module allows PC and D-LOG modules to READ and WRITE register data and VO status from the 8881 PC.

Note: The 888! system cannot initiate communication messages and therefore acts as a slave device.

When communicating with an 8881 system there are 2,048 available addresses. These addresses can be subdivided into sections of O's, registers, and internal relays. See 8881! Product Data Bulletins for additional information. A typical 8881 system could be:

ADDRESSES FUNCTION Othr 767 ©2222 eee eee 1/0’s

768 thru 991 0.0.6... ee eee eee MLU Registers 992 thru 1023 .... 62-2. eee eee ee Not useable (MLU) 1024 thru 2047 ...........-00---- VO's or Relays

When £0 or relay status is requested from the 8881, the value of ! for ON or 0 for OFF will be returned.

When REGISTER DATA is requested from the 8881, the NIM will read the contents of the 8881's registers and will return the bit pattern of the registers selected. This bit pattern could represent two types of data from the 8881. (1) numeric data with values 0 toe 999, or (2) bit/shift register data 000000000000 To EITEELITIIIT.

The following are some examples for getting and putting register data from an 8881 PC system. For examples on how to decode bits of a register, see the D-LOG instruction manual 30598-272-01.

6.4.3.1 Getting Register Data From an 8881 PC

When a D-LOG module or processor gets register data from an 8881 PC, aconversion has to be made on the data. This is necessary because the 8881 stores datain a BCD format while the D-LOG and processors operate on data in a BINARY format.

Therefore, when you request data values from the 8881 PC you must perform a BCD to BINARY conversion on the data received from the 8881 PC.

EXAMPLE OF A *“'GET’ USING 4 D-LOG MODULE.

10 Route Y,Z : where Y and Z are the network device numbers of the D-LOG module and 8881 PR.3.

206 GETN A,800 : where A will contain the BCD data from an 8881 Register

: Perform BCD to BINARY con- version

40 PRINT ‘Register 800 equals’’:A

30 A = VAL (HEX${A))

In the above program, the HEX$ function will perform a BCD te BINARY conversion on the data within the parenthe- Sis.

Example of a Read Command initiated By a SY/MAX Processor

2 [ROUTE, ROUTE ~ - STAT, LOCAL, REMOTE- COUNT [Tren 2 -, sm $3 seo 1

SPEC LEY RX) = 0 BIN |

In the above example, SY/MAX Processor register 31 will contain the converted data from register 800 of the 88B1 PC.