codesys-games: Artifact 5f7428802cd5be006972a1c2
CODESYS Games
tickets
(Bin)
Last updated: 2020-09-30
tickets Discussion
CODESYS Examples
tickets
(Discussion)
Forum for tickets comments
Last updated: 2020-09-30
tickets Discussion
CODESYS Games
tickets
(Discussion)
Forum for tickets comments
Last updated: 2020-09-30
Bubble Breaker SVN repository
Bubble Breaker
code
(SVN Repository)
Last updated: 2020-09-30
Home
Mahjongg
home
(WikiPage)
Download project Mahjongg Product description More information System requirements and restrictions Mahjongg Find pairs of symbols, select them and they will be removed. Challenge CODESYS (CODESYS plays a rather simple strategy, but hard to beat) and see if you remove more tiles. The game is finished when all pairs of tiles have been removed from the board or when there are no exposed pairs remaining. Product description At the beginning, the game is initialized with a field of 144 tiles with 36 different symbols. A tile is said to be open or exposed if it can be moved either left or right without disturbing other tiles. The goal is to match open pairs of identical tiles and remove them from the board, exposing the tiles under them for play. The game is finished when all pairs of tiles have been removed from the board or when there are no exposed pairs remaining. More information SelectableTile: This function proves if the requirements mentioned above are fulfilled. SetCursor: This program is responsible for setting the border of the currently selected tile. PlayMahjongg: The main logic is implemented. GetNumOfPairs: The number of currently available pairs is calculated. CoDeSysPlays: CODESYS tries three different strategies and chooses the one resulting in the fewest remaining tiles. Visualization: The user can challenge CODESYS to play the game. CODESYS tells the user its best game. Then the user can try to beat CODESYS. Image Pool: The images are stored inside the project and can be accessed in the visualization with an ID. System requirements and restrictions System requirements and restrictions Info Programming System CODESYS Development System Version 3.5.14.0 or higher Runtime System CODESYS Control Version 3.5.14.0 Required Accessories -
Last updated: 2020-09-30
home Discussion
Mahjongg
home
(Discussion)
Forum for home comments
Last updated: 2020-09-30
code Discussion
Mahjongg
code
(Discussion)
Forum for code comments
Last updated: 2020-09-30
Mahjongg SVN repository
Mahjongg
code
(SVN Repository)
Last updated: 2020-09-30
(no subject)
Mahjongg
home
(Thread)
Last updated: 2020-09-30
home Discussion
Asteroid Shooter
home
(Discussion)
Forum for home comments
Last updated: 2020-09-30
code Discussion
Asteroid Shooter
code
(Discussion)
Forum for code comments
Last updated: 2020-09-30
(no subject)
Asteroid Shooter
home
(Thread)
Last updated: 2020-09-30
Home
xfreego
wiki
(WikiPage)
This is the personal project of xfreego. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2020-09-30
wiki Discussion
xfreego
wiki
(Discussion)
Forum for wiki comments
Last updated: 2020-09-30
blog Discussion
xfreego
blog
(Discussion)
Forum for blog comments
Last updated: 2020-09-30
(no subject)
xfreego
wiki
(Thread)
Last updated: 2020-09-30
Home
Asteroid Shooter
home
(WikiPage)
Download Asteroids.zip Asteroid Shooter Product description More information Important Information System requirements and restrictions Asteroid Shooter The game Asteroid Shooter shows how to connect a joystick to the Soft PLC CODESYS Control Win V3 and how to use visualization and object oriented programming in CODESYS. Attention: 64 Bit controls are not supported. Product description The example Asteroids.project shows with help of the game Asteroids how to connect a joystick to the Soft PLC CODESYS Control Win V3. For this purpose the IoDrvJoystickWin.dll must be on the control. The example also shows the effective usage of object oriented programming and visualization in CODESYS. More information Joystick: The device Joystick uses the channels X, Y, Z, R, U, V and Buttons (see IO-Mapping). These channels can be assigned to existing variables directly. The mapping of the channels depends on the type of the joystick and must be adapted if necessary. PLC_PRG: The Sequencial Function Chart (SFC) contains the processing logic of the program. CollisionManager: Function block to register potential collision objects and to check collisions. EventController: Mapping of the keyboard and joystick events. Every moving object on the screen has its own function block and visualization. These objects are derived from MovingObject. The library asteroids_help_library contains some necessary mathematical functions. Important Information In order to make this example work, the CODESYS Control CFG file has to be extended. Change in your CODESYS installation folder to GatewayPLC/. Open the file CODESYSControl.cfg and add new component as IoDrvJoystickWin. See the screenshot below. Additionally, copy the file IoDrvJoystickWin.dll from the package into the same folder. In CODESYS go to Tools -> Device Repository... -> Install. Now select the file Joystick000000011.0.0.0900.devdesc.xml, which is also included into the package. System requirements and restrictions System requirements and restrictions Info Programming System CODESYS Development System Version 3.5.14.0 or higher Runtime System CODESYS Control Version 3.5.14.0 Additional Requirements Adding the IoDrvJoystickWin.dll as component to ~/GatewayPLC/CODESYSControl.cfg Required Accessories - Restrictions 64 Bit controls are not supported Insert the line 'Component.X=IoDrvJoystickWin' to '~\GatewayPLC\CoDeSysControl.cfg'. Screenshot of the game
Last updated: 2020-09-30
Home
CODESYS Games
home
(WikiPage)
Asteroid Shooter Play Asteroid Shooter with a joystick. Mahjongg Find pairs of symbols, select them and they will be removed. Bubble Breaker Try to arrange big areas of bubbles with the same color. Backgammon Backgammon game for CODESYS. Project Members: Ingo (admin)mlamp (admin)robert (admin)
Last updated: 2020-09-30
Asteroid Shooter SVN repository
Asteroid Shooter
code
(SVN Repository)
Last updated: 2020-09-30
Home
daanb
wiki
(WikiPage)
This is the personal project of daanb. This project is created automatically during user registration as an easy place to store personal data that doesn't need its own project such as cloned repositories.
Last updated: 2020-09-30
wiki Discussion
daanb
wiki
(Discussion)
Forum for wiki comments
Last updated: 2020-09-30
blog Discussion
daanb
blog
(Discussion)
Forum for blog comments
Last updated: 2020-09-30
(no subject)
daanb
wiki
(Thread)
Last updated: 2020-09-30
wiki Discussion
nickengels
wiki
(Discussion)
Forum for wiki comments
Last updated: 2020-09-30
blog Discussion
nickengels
blog
(Discussion)
Forum for blog comments
Last updated: 2020-09-30