Jump to content
OMRON Forums

ACC-65E on the Macro station not work


dzrong
 Share

Recommended Posts

I'm using PPmac with Macro system:

The Master side are:

POWER PMAC CPU + ACC-24E2S X 5 + ACC-5E3(16 node)+ ACC-36E+ ACC-65E + ACC-R2

 

 

The Slave side are:

16 Axis MACRO CPU-OPT-A + ACC-24E2S + ACC-36E + ACC-65E x 2+ ACC-R1

So,I want to configer the ACC36E with node 2\3\6\7 and two ACC-65Es with node 10\11.

Now the ACC-36E works well,but the ACC65E can't be controlled orrectly.

The code are:

 

Sys.WpKey=$AAAAAAAA;

//MACRO Communication Setup

Gate3[0].MacroEnableA=$FCCFF00; //Activate 4 Servo Nodes and 6 IO Nodes of MACRO

Gate3[0].MacroModeA=$403000; // Set MACRO A as master

 

Macro.TestPeriod=100; //MACRO Ring Check Period (Equivalent of I80)

Macro.TestMaxErrors=2; //MACRO Maximum Ring Error Count (Equivalent of I81)

Macro.TestReqdSynchs=2; //MACRO Minimum Sync Packet Count (Equivalent of I82)

 

//ACC-36E on UMAC MACRO station

// Setting up the automatic read function for the 1st ACC-36E

MS0,MI987=1 // Enable automatic ADC read function (MACRO IC 0)

MS0,MI988=$FF//00 ; All 16 ADCs unipolar ;$FF ; All 16 ADCs bipolar

MS0,MI989=$8800 // Card base address

 

MS0,MI19=4 // MACRO Station I/O Data Transfer Period (adjustable)

MS0,MI975=$CCC // MACRO IC#0 I/O Node Enable, nodes 2, 3, 6, 7,10,11. Node 10 for 1st 65E,11 for 2st 65E

MS0,MI173=$20C0A1000200 // 1st ACC-36E ADC1 thru ADC6 (lower 12 bits of $0200 thru $0205)

MS0,MI174=$20C0A9000200 // 1st ACC-36E ADC9 thru ADC14 (upper 12 bits of $0200 thru $0205)

MS0,MI175=$20C0A0000206 // 1st ACC-36E ADCs 7, 8, 15, 16 (lower + upper of $0206 thru $0207)

 

//1ST,2ST:ACC65E

MS0,MI160=$20C0B0008800

 

In the global definitions file:

PTR Input25->Acc5E3[0].MacroInA[10][0].8.1

PTR Input26->Acc5E3[0].MacroInA[10][0].8.2

PTR Input27->Acc5E3[0].MacroInA[10][0].8.3

PTR Input28->Acc5E3[0].MacroInA[10][0].8.4

PTR Input29->Acc5E3[0].MacroInA[10][0].8.5

PTR Input30->Acc5E3[0].MacroInA[10][0].8.6

PTR Input31->Acc5E3[0].MacroInA[10][0].8.7

PTR Input32->Acc5E3[0].MacroInA[10][0].8.8

PTR Input33->Acc5E3[0].MacroInA[10][0].8.9

PTR Input34->Acc5E3[0].MacroInA[10][0].8.10

PTR Input35->Acc5E3[0].MacroInA[10][0].8.11

PTR Input36->Acc5E3[0].MacroInA[10][0].8.12

PTR Input37->Acc5E3[0].MacroInA[10][0].8.13

PTR Input38->Acc5E3[0].MacroInA[10][0].8.14

PTR Input39->Acc5E3[0].MacroInA[10][0].8.15

PTR Input40->Acc5E3[0].MacroInA[10][0].8.16

PTR Input41->Acc5E3[0].MacroInA[10][0].8.17

PTR Input42->Acc5E3[0].MacroInA[10][0].8.18

PTR Input43->Acc5E3[0].MacroInA[10][0].8.19

PTR Input44->Acc5E3[0].MacroInA[10][0].8.20

PTR Input45->Acc5E3[0].MacroInA[10][0].8.21

PTR Input46->Acc5E3[0].MacroInA[10][0].8.22

PTR Input47->Acc5E3[0].MacroInA[10][0].8.23

PTR Input48->Acc5E3[0].MacroInA[10][0].8.24

 

 

PTR Output25->Acc5E3[0].MacroOutA[10][0].8.1

PTR Output26->Acc5E3[0].MacroOutA[10][0].8.2

PTR Output27->Acc5E3[0].MacroOutA[10][0].8.3

PTR Output28->Acc5E3[0].MacroOutA[10][0].8.4

PTR Output29->Acc5E3[0].MacroOutA[10][0].8.5

PTR Output30->Acc5E3[0].MacroOutA[10][0].8.6

PTR Output31->Acc5E3[0].MacroOutA[10][0].8.7

PTR Output32->Acc5E3[0].MacroOutA[10][0].8.8

PTR Output33->Acc5E3[0].MacroOutA[10][0].8.9

PTR Output34->Acc5E3[0].MacroOutA[10][0].8.10

PTR Output35->Acc5E3[0].MacroOutA[10][0].8.11

PTR Output36->Acc5E3[0].MacroOutA[10][0].8.12

PTR Output37->Acc5E3[0].MacroOutA[10][0].8.13

PTR Output38->Acc5E3[0].MacroOutA[10][0].8.14

PTR Output39->Acc5E3[0].MacroOutA[10][0].8.15

PTR Output40->Acc5E3[0].MacroOutA[10][0].8.16

PTR Output41->Acc5E3[0].MacroOutA[10][0].8.17

PTR Output42->Acc5E3[0].MacroOutA[10][0].8.18

PTR Output43->Acc5E3[0].MacroOutA[10][0].8.19

PTR Output44->Acc5E3[0].MacroOutA[10][0].8.20

PTR Output45->Acc5E3[0].MacroOutA[10][0].8.21

PTR Output46->Acc5E3[0].MacroOutA[10][0].8.22

PTR Output47->Acc5E3[0].MacroOutA[10][0].8.23

PTR Output48->Acc5E3[0].MacroOutA[10][0].8.24

 

 

PTR Input49->Acc5E3[0].MacroInA[11][0].8.1

PTR Input50->Acc5E3[0].MacroInA[11][0].8.2

PTR Input51->Acc5E3[0].MacroInA[11][0].8.3

PTR Input52->Acc5E3[0].MacroInA[11][0].8.4

PTR Input53->Acc5E3[0].MacroInA[11][0].8.5

PTR Input54->Acc5E3[0].MacroInA[11][0].8.6

PTR Input55->Acc5E3[0].MacroInA[11][0].8.7

PTR Input56->Acc5E3[0].MacroInA[11][0].8.8

PTR Input57->Acc5E3[0].MacroInA[11][0].8.9

PTR Input58->Acc5E3[0].MacroInA[11][0].8.10

PTR Input59->Acc5E3[0].MacroInA[11][0].8.11

PTR Input60->Acc5E3[0].MacroInA[11][0].8.12

PTR Input61->Acc5E3[0].MacroInA[11][0].8.13

PTR Input62->Acc5E3[0].MacroInA[11][0].8.14

PTR Input63->Acc5E3[0].MacroInA[11][0].8.15

PTR Input64->Acc5E3[0].MacroInA[11][0].8.16

PTR Input65->Acc5E3[0].MacroInA[11][0].8.17

PTR Input66->Acc5E3[0].MacroInA[11][0].8.18

PTR Input67->Acc5E3[0].MacroInA[11][0].8.19

PTR Input68->Acc5E3[0].MacroInA[11][0].8.20

PTR Input69->Acc5E3[0].MacroInA[11][0].8.21

PTR Input70->Acc5E3[0].MacroInA[11][0].8.22

PTR Input71->Acc5E3[0].MacroInA[11][0].8.23

PTR Input72->Acc5E3[0].MacroInA[11][0].8.24

 

 

PTR Output49->Acc5E3[0].MacroOutA[11][0].8.1

PTR Output50->Acc5E3[0].MacroOutA[11][0].8.2

PTR Output51->Acc5E3[0].MacroOutA[11][0].8.3

PTR Output52->Acc5E3[0].MacroOutA[11][0].8.4

PTR Output53->Acc5E3[0].MacroOutA[11][0].8.5

PTR Output54->Acc5E3[0].MacroOutA[11][0].8.6

PTR Output55->Acc5E3[0].MacroOutA[11][0].8.7

PTR Output56->Acc5E3[0].MacroOutA[11][0].8.8

PTR Output57->Acc5E3[0].MacroOutA[11][0].8.9

PTR Output58->Acc5E3[0].MacroOutA[11][0].8.10

PTR Output59->Acc5E3[0].MacroOutA[11][0].8.11

PTR Output60->Acc5E3[0].MacroOutA[11][0].8.12

PTR Output61->Acc5E3[0].MacroOutA[11][0].8.13

PTR Output62->Acc5E3[0].MacroOutA[11][0].8.14

PTR Output63->Acc5E3[0].MacroOutA[11][0].8.15

PTR Output64->Acc5E3[0].MacroOutA[11][0].8.16

PTR Output65->Acc5E3[0].MacroOutA[11][0].8.17

PTR Output66->Acc5E3[0].MacroOutA[11][0].8.18

PTR Output67->Acc5E3[0].MacroOutA[11][0].8.19

PTR Output68->Acc5E3[0].MacroOutA[11][0].8.20

PTR Output69->Acc5E3[0].MacroOutA[11][0].8.21

PTR Output70->Acc5E3[0].MacroOutA[11][0].8.22

PTR Output71->Acc5E3[0].MacroOutA[11][0].8.23

PTR Output72->Acc5E3[0].MacroOutA[11][0].8.24

 

 

Which parameters are not correct?

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Thank you Gregs,you are right.

 

Another thing I want to know is why "MS0,MI160=$20C0B0009800" is no use?

the value of it always 0 when it's asked.

So I use "MS0,MI69=$20C0B1319800" make all the IOs work correctly.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...