background image

8.Setting Procedure

19

Sample of ladder program

Rewriting HH value to CODE No.0 by Request flag 2, the HH value are increased from 0 to
99999 in succession.

Use CPU:

A1SH

Station No.:

1

Slot of Master:

3 (The relay area to be used is  X60 to X7F and Y60 to Y7F.)

In detail refer to CC-Link System Master Local Unit User Manual (Detailed Section)

Model: AJ/A1SJ61BT11-U  (Refer to before or after 6-4 pages) 

After Writing in and Reading out HH value, compares each value then increases its value if each
value coincides. It repeated up to 99999 and returns 0 after reaching 99999.

0 to 121 row

Initial setting for Communication speed

96 row

Remote device F372A/F377A occupies 4 stations of PLC start from station 1.

125 row

RX PLC read value from F372A/F377A

135 row

RWr PLC read value from F372A/F377A

145 row

Copying Reguest flag 2 response to M200

202 row

Writing HH value

269 row

Reading HH value

298 row

Copying read value to D302

327 row

Comparing the value written in and the value read out.
When each value coinsides with proceeds to 159 row.

340 row

Data Initialization

Initial setting

D300

99999

D300

D300+1

After confirming Request flag 2 response OFF, writes the value of D300 into HH.

After confirming Request flag 2 response ON, turns OFF Request flag 2.

After confirming Request flag 2 response OFF, requests reading out HH.

After confirming Request flag 2 response ON, reads out the value  (D302) 

Compares D300 with D302

Sequence completion

"0" is substituted for D300

Yes

No

When Conform to

When Not conform to

FLOW

then turns Request flag2 OFF.

Содержание F372A

Страница 1: ...OPERATION MANUAL CC Link I F 26APR2016REV 3 04 F372A F377A CC Link Ver 1 10...

Страница 2: ...emote device station corresponding to the CC Link Ver 1 10 CC Link is an abbreviation for Control Communication Link Cautions and Requests for Use Be sure to install the F372A F377A in a panel Be sure...

Страница 3: ...domain Remote resister R M F372A F377A PLC 6 Explanation for remote resister R M 7 Relay domain 9 RY PLC F372A F377A signal 15 RX F372A F377A PLC signal 16 8 Setting Procedure 17 Set value writing in...

Страница 4: ...ote device for F372A F377A Address map will be changed according to the numbers of stations Setting range 1 2 4 stations Initial value 4 stations Baud Rate Setting communication speed Setting range 15...

Страница 5: ...pe as follows SLD and FG are connected inside Suitable plug for the connection is the plug made by WAGO CO Ltd or equivalent one Accessories Operating method Name Signal Type DA Signal line DA side DB...

Страница 6: ...RUN Normal Reset Action No Communication SD Transmitting RD Receiving ERR Setting Error CRC Error Fault Normal Station No Remote Input Remote Output Remote Resister M R R M 1 RX0000 RY0000 RWw0000 RWr...

Страница 7: ...RWw0008 RWw0009 Near zero 32bit L H 01EAH 01EBH RWw000A RWw000B Undefined 32bit L H 4 01ECH 01EDH RWw000C RWw000D General purpose area Data 32bit L H 01EEH RWw000E Command 16bit 01EFH RWw000F 0 8bit W...

Страница 8: ...d control by using request flag 2 MSB LSB If each digit is set the value of which is larger than 9 it is handled by setting it as 9 is set Sign is indicated as follows 0 Plus 1 Minus Command No 16bit...

Страница 9: ...12bit Error code 4bit 0 12bit Error assistance No 4bit 3 02E8H 02E9H RWr0008 RWr0009 Hold value 2 32bit L H 02EAH 02EBH RWr000A RWr000B Hold value 3 32bit L H 4 02ECH 02EDH RWr000C RWr000D General pur...

Страница 10: ...lows 0 Plus 1 Minus 103 102 101 100 4bit 4bit 4bit 4bit Sign Decimal place 0 104 4bit 4bit 4bit 4bit 103 102 101 100 4bit 4bit 4bit 4bit Sign Decimal place 0 104 4bit 4bit 4bit 4bit Storage location H...

Страница 11: ...ror assistance No 4bit BCD Error No of the indicator is stored When Error assistance No is 0 no error MSB LSB When Error code 1 Calibration error 1 Zero calibration error 2 Span calibration error When...

Страница 12: ...ddress Remote output Content Class 1 0160H RY0000 Request flag1 1 Communication Used for Communication with Host RY0001 RY0002 Request flag2 1 RY0003 R W RY0004 RY0005 RY0006 RY0007 RY0008 Measurement...

Страница 13: ...uest flag1 1 Communication Used for Communication with Host RY0001 RY0002 Request flag2 1 RY0003 R W RY0004 RY0005 RY0006 RY0007 RY0008 Measurement WORK0 2 RY0009 Measurement WORK1 2 RY000A Measuremen...

Страница 14: ...0002 T H 3 RY0003 SECTION 3 RY0004 GRAPH TRIG 3 RY0005 Display select Comparison RY0006 Display select Hold RY0007 Display select Graph RY0008 Measurement WORK0 2 RY0009 Measurement WORK1 2 RY000A Mea...

Страница 15: ...R W response RX0004 RX0005 RX0006 CPU normal operation RX0007 RX0008 Measurement WORK 0 response RX0009 Measurement WORK 1 response RX000A Measurement WORK 2 response RX000B Measurement WORK 3 respon...

Страница 16: ...X0004 RX0005 RX0006 CPU normal operation RX0007 RX0008 Measurement WORK 0 response RX0009 Measurement WORK 1 response RX000A Measurement WORK 2 response RX000B Measurement WORK 3 response RX000C Decim...

Страница 17: ...0008 Measurement WORK 0 response RX0009 Measurement WORK 1 response RX000A Measurement WORK 2 response RX000B Measurement WORK 3 response RX000C Zero calibration error RX000D Span calibration error RX...

Страница 18: ...Refer to main operation manual SECTION Control the hold function Refer to main operation manual GRAPH TRIG Start graph plotting and Stop Refer to main operation manual Print command Print out to the...

Страница 19: ...n condition of HH HI ON signal output according to comparison condition of HI OK ON signal output while all comparison conditions HH HI LO and LL are OFF LO ON signal output according to comparison co...

Страница 20: ...est flag 1 2 response are OFF RWw000C to RWw000D when 4 stations occupied and RWw0004 to RWw0005 when 2 stations occupied become General purpose data area RWw000E when 4 stations occupied and RWw0006...

Страница 21: ...0 Responses are stored in R W response of the remote input and general purpose data area response Confirm the contents of the general purpose data area response Request flag 2 RY0002 Request flag 2 r...

Страница 22: ...ons of PLC start from station 1 125 row RX PLC read value from F372A F377A 135 row RWr PLC read value from F372A F377A 145 row Copying Reguest flag 2 response to M200 202 row Writing HH value 269 row...

Страница 23: ...116 1device connected MOV H6 MOV D9 M1 1 cycle ON X6F X60 M9038 1 cycle ON D12 H1401 MOV 96 M2 M3 M3 Y66 SET SET 121 123 Up to here Initial setting for communication M200 D200 H0E0 H6 FROM D216 H2E0 H...

Страница 24: ...00 M200 M9038 M101 250 Request 1 cycle ON To M103 M101 RST M103 SET H8 D208 H160 H6 TO D208 H0FFFB WAND Sequence M101 R W relay Turns ON D208 H8 WOR 269 M200 M9038 M103 Request 1 cycle ON HH Command D...

Страница 25: ...STOP RUN Displays the PLC CPU status STOP or RUN ERR Displays when the PLC CPU is normal and ERR when it is abnormal M105 RST D300 D302 D301 D303 327 To M100 M100 SET M105 Comparing values M105 M9038...

Страница 26: ...Pa 44 g cm3 64 t h 4 kg 15 kN 28 hPa 45 kg m3 65 m3 s 5 Mg 16 MN 29 kPa 46 t m3 66 m3 min 6 t 17 Nm 30 MPa 47 g l 67 m3 h 7 lb 18 mNm 31 GPa 48 g ml 68 l h 8 dyne 19 Nm 32 N m2 49 mg m 69 l min 9 kdyn...

Страница 27: ...old Setting Hold Mode 0 2 0 1 1 2 Hold Start Level 0 2 0 2 99999 to 99999 Section Time 0 2 0 3 0 001 to 9 999 sec Level Condition 0 2 0 4 0 Passed 1 Passed HI 2 Passed LO Hold Auto Reset 0 2 0 5 0 OFF...

Страница 28: ...Hz Backlight ON time 0 5 0 3 0 to 99 min always on at 0 Language 0 5 0 4 0 JPN 1 ENG SI F Print Out 0 5 0 5 0 OFF 1 MD 2 HOLD Motion Detect Time 0 5 0 6 0 0 to 9 9 sec Motion Detect COUNT 0 5 0 7 0 to...

Страница 29: ...otect Initialization Work Protect 4 0 0 1 0 OFF 1 ON System Protect 4 0 0 2 0 OFF 1 ON 5 Calibration Protect 4 0 0 3 0 OFF 1 ON Expansion Protect 4 0 0 4 0 OFF 1 ON 1 Hold 0 OFF 1 Sample 2 Peak 3 Vall...

Страница 30: ...Inflection Rear Slope Time 0 0 2 8 10 to 990 However F Slope Time R Slope Time 1000 Sample Removal Value 0 0 2 9 999 to 999 Hold Section 0 0 7 1 3 Graph Setting Graph Mode 0 0 3 1 0 Continued 1 Ext 2...

Отзывы: