Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://ic10.dev/#eNqVVX9v2zgM/SqECmwrkAB2fjkJbgdkRYcMuHZdPeBwQP6RZaZR50g5WU6WDf3uo2THcdzuekkAQxbJx0fyyfrJYmHkxt7yNbIpYx0mdOpWPJM8BzDOAKa3UIeN+CNPjBTcagOmv1ApLqVCiGPLxTc0MJ/F83cLFltTCFsYrPYX7BIugGKKHOG5+R63aHJcsIWqIT+pB229PZY/EIaBs625VNOFAthLzFK3A7DWW6yYVr+KxM1+Vlidcbsi5Muja7OGNt92xCPPADhtLnnyaro7ucEPSAWY/51vvk8NLzIpnsWelfk6Q2HvjFT2jNw+yGglRX4aelbqr1pn52Z2MTdcFUsuyLz/bdpHl8nN3L1WFhr/BVxpRcwzyCvZbfSOnjtpV7ApuZRbDiRL6GGClnZ9LZ8VxMXaOeXOqVZxbTVedZQvQ25q6DWuiTXsVqhO04HMQS+XHhD/eGzBjX8CwQ87k0JV3omCss4Xmb+qI1ASORDWWt+mtXl26DCFLhKAR9poFI9gHRnJz8WH7ZLi9F6R6qezqVCArArAksw0zugk77DLHuteZT40L6kqraa0a2epY9Fbteo7FERQetM+8AH9Px+H/vSZA70y/G8EOhFco+kNQVyWbUrBWlxDUIXysIftXbyCuydCd+39i5facH194029soDHjqR2dI7rEf493FiJxT+fN/m4Lxjqzf1fN+AaCivGd1sa3B8CSH8L73NSB9bbvEcWYb+LF7AP+6TC1bTgfyGkNMxJs1gWQIJUb21pQCJplbYdVS7VutuvqIedTyEdZ3wTsdQqpIw+VbLFFLM90qQmuwOGyp/U3v60vPGBfCyPo5lho0PieF0wUnxvbzpUtxKgTmb/mShe9wZJBHNeb5i027YGw+ifhRFHVbejd1wMozGg9E46LB7XKJBJfBTyqZhh8UZHTYHEbjHZyGKDVe2QooGg2AyHozJz1sklkFfCvKRdk8vT08d9hddebfFOkFDG70OuzZG0zIg02QyHAfD4WDyjGUvoH8/HPeCA82wNxkGQdSLxi2aNQjRUCXrUnK0puhDwxybDqNio8Eo7I+CqJ0z7AdROCKc0aspGyh1UvfNoKo6rKEwbzgSIGPjWDl6rj/ltFzGw8TYlTSikBbmushdISedat2JZGy7TwmkVerzoOvDctoAr+nkM0uyW7mJlpTSxAkr8dhPT78AANMXfg==
I used to babysit the printers when printing stuff like pipes just to keep them flying around and my OCD always went berserk when I'd see stacks of sheets getting jammed together. Always had a thought that they might blow a window out or something.
I got the idea of hooking a stacker to a printer from watching Cows are Evil and it helps a lot.
Without this logic, it's still uncontrolled in terms of having to babysit resource usage. This is brilliant!
Thanks for sharing!
Can you tell me where i put the name of printer and stacker ???
Do I select them on the pins of IC Housing? eg. D0 to E Printer and D1 to Stacker
sorry if the answer is already in my face
The code doesn't require any pins set on the housing. Lines like "alias Printer d1" would be the indication that device pins were used but the author uses definitions and links up specific devices in the first two lines of code.
The code does use registers, which are set on Line 7 using the word "alias". This alias is used to hold the name of the device that you set with your renamer tool. In line 8, "move rName HASH("EPrinter")" the name of the device you set yourself is grabbed and set to the alias on r2.
The code assumes you will want to chance Line 1 to a different sort of printer, change the name of the printer yourself and use that for Line 8 instead of "EPrinter".
The author has provided comments, starting with the "#" character in order to give the user some clues as to what is going on beyond the basic code, even providing a space for additional printers to use the code when entered between Line 9 and Line 11.
Hope this helps!
I did rename printer to e printer it did print out my chosen quantity of cable but didn't auto stop printing.
Initially I was seeing behavior similar to yours, but I realized that I had forgotten to connect the data port on the electronics printer. Once that was done, I noticed that the script appears to be requiring the electronics printer and the stacker to be named the same, so I did that too, and when I tried again the printer would start to print a single item then deactivate itself immediately.
I went through and defined the stacker as "sName" and modified all the corresponding values that call the stacker, and that helped. It did print 3 items and then stop.
But the logic for slaving power together was not working correctly and the chip was flashing an error on my modified code line 22. Don't really have time to dig deeper at the moment, but I will.
Updated the script to add a few refinements and wrote clear instructions. LMK if this works for you!
I updated the script to make things more clear + added instructions. You shouldn't need to change anything in the script related to the stacker, just name both printer and stacker the same.
I have to ask: is it possible that you didn't spin the stacker dial to change the number of items to print? If you leave it at "1", it will only print one item then stop.
The computer is expecting a register value but there is only a branch line reference. I added an r1 for testing;
and the program ran, but I am still having the same issue with the printer starting and then instantly stopping. The code seems to run OK when I put it in the IC10 simulator via your link above, so perhaps there is a difference between the simulator and "real life".
I combed through the older version of the code earlier today step by step and it appears to be valid, but something is going wrong, unless I'm making another mistake somewhere.
Oops... That should be:
I updated the OP with this fix. FYI, r0 has the open status of the printer, so the code should branch if the printer is closed (eqz). r1 at this point has the stacker setting, which will always be > 1.
Sorry, but I'm lifting this code out of a larger script. I had it updated in one editor, but not the other, lol. The OP code should work now.
Can you double check that you are using "r0" in the following line, and not "r1" by accident?
I imported the newest version and the issue remains. Tried commenting out unused printers, as I'm testing with an electronics printer only, but no change.
When I hit the screen, I assume that flips the "Activate" bit to a 1 in the printer. I don't see anywhere else that "Activate" is used except to shut it off. Perhaps there is a step that allows the code to go from the player activating the printer through to line 53 before line 49 is done branching.
The jal and ra references allow the code to cycle through all the printers one by one. It behaves as if something is immediately setting Activate to 0 almost as soon as the printer is activated.
At least that's the way it appears to my relatively unseasoned eye.
Sounds like it to me, too. TBH, I have no clue... I had thought you maybe placed a reverse stacker instead of normal direction, but then the Setting in r1 would be NaN, with a result of the printer NOT stopping (I tested this by forcing `move r1 NaN`).
Guesses... Any chance you have another IC10, or other logic writer, on the network that's setting the printer Activate to 0, or otherwise messing with printer or stacker? Or, do you have a transformer on the loop and hit the network power limit when trying to print? Running mods? Not on the current version? Forgot to hit "Export"? Forgot to select the device that Export will write the code to?
FYI, I directly imported the script this time and verified it functions correctly. The only path to deactivating the rPrinter device in this script is if the Printer's "ExportCount" is greater than or equal to the Stacker's "Setting".