PLCADD1616 Error 5161 Unconfigured Mini PLC 1 Found

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

PLCADD1616 Error 5161 Unconfigured Mini PLC 1 Found

Post by Houseman303 »

I added a Plcadd1616 board to my OAK. There is nothing about configuration in the installation instructions. Where can I find information about this? Thanks.
Centroid_Tech2
Posts: 100
Joined: Mon Mar 03, 2014 4:24 pm
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: PLCADD1616 Error 5161 Unconfigured Mini PLC 1 Found

Post by Centroid_Tech2 »

If you connected one PLCADD1616, set machine parameter 900 to a value of "1".
When requesting support READ THIS POST first. viewtopic.php?f=60&t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)
lavrgs
Posts: 529
Joined: Sat Aug 11, 2018 11:22 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Oregon

Re: PLCADD1616 Error 5161 Unconfigured Mini PLC 1 Found

Post by lavrgs »

Depending on how you are powering the board you may need to change the jumper J1. If you are supplying power via a cable from the Allin1DC or the power supply connected to H6 the jumper will need to be changed/checked. I don't recall the position for each power source...I can edit when I get back to my shop.
Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

Re: PLCADD1616 Error 5161 Unconfigured Mini PLC 1 Found

Post by Houseman303 »

The expansion card is connected to the external power device and the jumper is set accordingly. There are instructions for that too. The instructions are missing the settings for the parameters. CNC12 operating instructions don't really help either. See image. Reading and understanding is not possible without enough information.
The error message 5161 is also not present in the CNC12 instructions.
:geek:
Screenshot_2024-01-17-06-21-38-39_ab7988c7b00b15bc78ec5a428c58236f.jpg
Centroid_Tech2
Posts: 100
Joined: Mon Mar 03, 2014 4:24 pm
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: PLCADD1616 Error 5161 Unconfigured Mini PLC 1 Found

Post by Centroid_Tech2 »

Error 5161 is issued by the PLC program logic
The message is called from the plcmsg.txt.

"...
161 5161 Unconfigured Mini PLC 1 Found
162 5162 Unconfigured Mini PLC 2 Found
163 5163 Unconfigured Mini PLC 3 Found
164 5164 Unconfigured Mini PLC 4 Found
..."

The 900 series parameters are reserved for PLC use.

The Centroid Standard PLC source files use Parameter 900 to check for an add on board.
Parameter 900 is a bit-wise value so.
(1) plcadd1616 = "1"
(2) plcadd1616 = "3"
(3) plcadd1616 = "7"
etc...

If you install a plc program which requires the PLCADD1616 such as the Centroid_OAK_Mill_ATC, the included parameter file already has this parameter set.

This logic is from the Centroid_OAK_Mill_ATC_Umbrella-r10:

"...
; SV_MACHINE_PARAMETER_900 : PLC ADD Installed
..."

"; Check MiniPLC board communications
IF True_M THEN MiniPLCStatus_W = SV_PC_MINI_PLC_ONLINE,
P900Value_W = SV_MACHINE_PARAMETER_900
IF MiniPLCStatus_W != P900Value_W THEN SET MiniPLCErrorStage"


Centroid recommends that the PLCADD1616 be powered by the power supply that was included with it.
When requesting support READ THIS POST first. viewtopic.php?f=60&t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)
Post Reply